aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-tools
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-02-10 19:18:04 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-10 19:19:18 +0000
commitdba76a85de598077d6519a313838c2f5ed73a12c (patch)
tree30a8ab6213590069d3662042141a7fa304123249 /package/boot/arm-trusted-firmware-tools
parent3cc08b570244c0339fd5be89277434658cceb4d7 (diff)
downloadupstream-dba76a85de598077d6519a313838c2f5ed73a12c.tar.gz
upstream-dba76a85de598077d6519a313838c2f5ed73a12c.tar.bz2
upstream-dba76a85de598077d6519a313838c2f5ed73a12c.zip
arm-trusted-firmware-tools: add patch to pass LDFLAGS
This should hopefully fix builds on the buildbot. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/arm-trusted-firmware-tools')
-rw-r--r--package/boot/arm-trusted-firmware-tools/patches/001-respect-LDFLAGS.patch11
1 files changed, 11 insertions, 0 deletions
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}