uboot-envtools: fix various compile breakage issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47383
This commit is contained in:
Felix Fietkau 2015-11-04 22:17:40 +00:00
parent 1242463489
commit b8b4d36379

View file

@ -46,7 +46,7 @@ endef
define Build/Configure define Build/Configure
touch $(PKG_BUILD_DIR)/include/config.mk touch $(PKG_BUILD_DIR)/include/config.mk
touch $(PKG_BUILD_DIR)/include/config.h 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 touch $(PKG_BUILD_DIR)/include/generated/autoconf.h
endef endef
@ -57,6 +57,8 @@ define Build/Compile
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \ TARGET_CFLAGS="$(TARGET_CFLAGS)" \
UBI="$(CONFIG_UBOOT_ENVTOOLS_UBI)" \ UBI="$(CONFIG_UBOOT_ENVTOOLS_UBI)" \
dot-config=0 \
HOSTLDFLAGS= \
env env
endef endef