[openwrt/openwrt] arm-trusted-firmware-tools: add patch to pass LDFLAGS
LEDE Commits
lede-commits at lists.infradead.org
Wed Feb 10 14:19:49 EST 2021
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/dba76a85de598077d6519a313838c2f5ed73a12c
commit dba76a85de598077d6519a313838c2f5ed73a12c
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Feb 10 19:18:04 2021 +0000
arm-trusted-firmware-tools: add patch to pass LDFLAGS
This should hopefully fix builds on the buildbot.
Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
.../patches/001-respect-LDFLAGS.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
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 0000000000..0b7989163e
--- /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}
More information about the lede-commits
mailing list