aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-tools
diff options
context:
space:
mode:
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}