uboot-envtools: fix various compile breakage issues
authorFelix Fietkau <nbd@openwrt.org>
Wed, 4 Nov 2015 22:17:40 +0000 (22:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 4 Nov 2015 22:17:40 +0000 (22:17 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47383

package/boot/uboot-envtools/Makefile

index 54db0dd6c352a0f9bcded1847bb7c1a0b7e13dfd..a5b0f923101e6378903829a98f65364666f76435 100644 (file)
@@ -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