From dba76a85de598077d6519a313838c2f5ed73a12c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 10 Feb 2021 19:18:04 +0000 Subject: [PATCH] arm-trusted-firmware-tools: add patch to pass LDFLAGS This should hopefully fix builds on the buildbot. Signed-off-by: Daniel Golle --- .../patches/001-respect-LDFLAGS.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch diff --git a/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch b/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch new file mode 100644 index 00000000000..0b7989163e6 --- /dev/null +++ b/package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch @@ -0,0 +1,11 @@ +--- a/tools/fiptool/Makefile ++++ b/tools/fiptool/Makefile +@@ -38,7 +38,7 @@ + + ${PROJECT}: ${OBJECTS} Makefile + @echo " HOSTLD $@" +- ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDLIBS} ++ ${Q}${HOSTCC} ${OBJECTS} -o $@ ${LDLIBS} $(LDFLAGS) + @${ECHO_BLANK_LINE} + @echo "Built $@ successfully" + @${ECHO_BLANK_LINE}