aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-fritz4040/Makefile
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-02-11 00:52:08 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-11 00:56:50 +0100
commit13e8d5491773cf33723e5a1aae923c1fc13ed295 (patch)
tree2d92bf1fe7149148f4780ea76a61ce980d17e807 /package/boot/uboot-fritz4040/Makefile
parent186aebf90a0bd25bf26096a7a80d837c74373ad4 (diff)
downloadupstream-13e8d5491773cf33723e5a1aae923c1fc13ed295.tar.gz
upstream-13e8d5491773cf33723e5a1aae923c1fc13ed295.tar.bz2
upstream-13e8d5491773cf33723e5a1aae923c1fc13ed295.zip
uboot-fritz4040: Fix build with HOSTCFLAGS
When we provide the HOSTCFLAGS to the U-Boot build it will fail because it can not find the u-boot provided header files any more. Just overwrite and not append the package specific configuration on top of the configuration provided by u-boot.mk. uboot-fritz4040 is based on U-Boot 2012.07 and this problem is probably similar to the problem seen with the lantiq and ar71xx u-boot build. Fixes: df9781a4205 ("u-boot,at91bootstrap: fix incorrect HOSTCPPFLAGS variable") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/boot/uboot-fritz4040/Makefile')
-rw-r--r--package/boot/uboot-fritz4040/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-fritz4040/Makefile b/package/boot/uboot-fritz4040/Makefile
index 9f9b4e05f4..4a36c55095 100644
--- a/package/boot/uboot-fritz4040/Makefile
+++ b/package/boot/uboot-fritz4040/Makefile
@@ -29,7 +29,7 @@ define U-Boot/fritz4040
endef
UBOOT_CONFIGURE_VARS += USE_PRIVATE_LIBGCC=yes
-UBOOT_MAKE_FLAGS += USE_PRIVATE_LIBGCC=yes
+UBOOT_MAKE_FLAGS = USE_PRIVATE_LIBGCC=yes
export DTC
define Build/Configure