summaryrefslogtreecommitdiff
path: root/package/boot
diff options
context:
space:
mode:
authorMichael Heimpold <mhei@heimpold.de>2018-02-10 14:05:17 +0100
committerJohn Crispin <john@phrozen.org>2018-02-13 10:01:52 +0100
commit123dbb77aa24842ed00e566b3e01536535407d66 (patch)
tree11859a19d8b5646eec25c2fd71b64972db74bd72 /package/boot
parentdc263cd125f9ea58b797d888ea39118059ba5da0 (diff)
downloadmtk-20170518-123dbb77aa24842ed00e566b3e01536535407d66.zip
mtk-20170518-123dbb77aa24842ed00e566b3e01536535407d66.tar.gz
mtk-20170518-123dbb77aa24842ed00e566b3e01536535407d66.tar.bz2
packages: uboot-mxs: override instead of appending u-boot make flags
This prevents passing down the HOSTCC stuff set in u-boot.mk which results in linking errors against openssl: tools/mxsimage.o: In function `sb_aes_reinit': mxsimage.c:(.text+0x202): undefined reference to `EVP_CIPHER_CTX_reset' tools/mxsimage.o: In function `mxsimage_generate': mxsimage.c:(.text+0x110d): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x114f): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x11c3): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x1323): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x134a): undefined reference to `EVP_CIPHER_CTX_reset' tools/mxsimage.o: In function `mxsimage_verify_print_header': mxsimage.c:(.text+0x23ce): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x242c): undefined reference to `EVP_MD_CTX_new' mxsimage.c:(.text+0x246b): undefined reference to `EVP_MD_CTX_free' mxsimage.c:(.text+0x24ef): undefined reference to `EVP_CIPHER_CTX_reset' mxsimage.c:(.text+0x2e52): undefined reference to `EVP_MD_CTX_free' collect2: error: ld returned 1 exit status Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-mxs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-mxs/Makefile b/package/boot/uboot-mxs/Makefile
index cd752bb..6fde52e 100644
--- a/package/boot/uboot-mxs/Makefile
+++ b/package/boot/uboot-mxs/Makefile
@@ -35,7 +35,7 @@ UBOOT_TARGETS := \
mx23_olinuxino \
duckbill
-UBOOT_MAKE_FLAGS += $(UBOOT_IMAGE)
+UBOOT_MAKE_FLAGS = $(UBOOT_IMAGE)
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)