From: Felix Fietkau Date: Wed, 4 Nov 2015 22:17:40 +0000 (+0000) Subject: uboot-envtools: fix various compile breakage issues X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b8b4d363797192a416f08327753842550fd13ea3;p=openwrt%2Fstaging%2Fyousong.git uboot-envtools: fix various compile breakage issues Signed-off-by: Felix Fietkau SVN-Revision: 47383 --- diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index 54db0dd6c3..a5b0f92310 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -46,7 +46,7 @@ endef define Build/Configure touch $(PKG_BUILD_DIR)/include/config.mk touch $(PKG_BUILD_DIR)/include/config.h - mkdir $(PKG_BUILD_DIR)/include/generated + mkdir -p $(PKG_BUILD_DIR)/include/generated touch $(PKG_BUILD_DIR)/include/generated/autoconf.h endef @@ -57,6 +57,8 @@ define Build/Compile CROSS_COMPILE="$(TARGET_CROSS)" \ TARGET_CFLAGS="$(TARGET_CFLAGS)" \ UBI="$(CONFIG_UBOOT_ENVTOOLS_UBI)" \ + dot-config=0 \ + HOSTLDFLAGS= \ env endef