aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-mvebu/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-12-27 00:28:03 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-12-31 19:55:42 +0100
commitc5bb7a99a61271abd355ec8ad34c7820aa4c53e4 (patch)
treeaead43e3af79bac36576970a78158512df96332a /package/boot/arm-trusted-firmware-mvebu/Makefile
parentdd9d1a8ccb6d0c306ec92733b3d280738e417172 (diff)
downloadupstream-c5bb7a99a61271abd355ec8ad34c7820aa4c53e4.tar.gz
upstream-c5bb7a99a61271abd355ec8ad34c7820aa4c53e4.tar.bz2
upstream-c5bb7a99a61271abd355ec8ad34c7820aa4c53e4.zip
arm-trusted-firmware-mvebu: Use host flags for cryptest compilation
Without these changes it used the system LDFLAGS for the compilation of the cryptopp library. This does not always work when we add "-no-warn-rwx-segments" which is done to support binutils 2.39 inside of OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/boot/arm-trusted-firmware-mvebu/Makefile')
-rw-r--r--package/boot/arm-trusted-firmware-mvebu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile b/package/boot/arm-trusted-firmware-mvebu/Makefile
index 569d952cb8..088204c78a 100644
--- a/package/boot/arm-trusted-firmware-mvebu/Makefile
+++ b/package/boot/arm-trusted-firmware-mvebu/Makefile
@@ -125,6 +125,8 @@ TFA_MAKE_FLAGS += \
WTP=$(BUILD_DIR)/$(A3700_UTILS_NAME) \
WTMI_IMG=$(BUILD_DIR)/$(MOX_BB_NAME)-$(MOX_BB_RELEASE)/wtmi_app.bin \
CRYPTOPP_PATH=$(BUILD_DIR)/$(CRYPTOPP_NAME) \
+ HOST_LDFLAGS="$(HOST_LDFLAGS)" \
+ HOST_CPPFLAGS="$(HOST_CPPFLAGS)" \
USE_COHERENT_MEM=0 \
FIP_ALIGN=0x100 \
DDR_TOPOLOGY=$(DDR_TOPOLOGY) \