summaryrefslogtreecommitdiff
path: root/package/uboot-mkimage/uboot-mkimage.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/uboot-mkimage/uboot-mkimage.mk')
-rw-r--r--package/uboot-mkimage/uboot-mkimage.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/uboot-mkimage/uboot-mkimage.mk b/package/uboot-mkimage/uboot-mkimage.mk
index 055348c3c..b8f2ee5de 100644
--- a/package/uboot-mkimage/uboot-mkimage.mk
+++ b/package/uboot-mkimage/uboot-mkimage.mk
@@ -4,8 +4,9 @@ UBOOT_MKIMAGE_SITE = ftp://ftp.denx.de/pub/u-boot
define HOST_UBOOT_MKIMAGE_BUILD_CMDS
$(MAKE) -C $(@D) \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- ARCH=$(U_BOOT_ARCH) \
+ HOSTCC="$(HOSTCC)" \
+ HOSTCFLAGS="$(HOST_CFLAGS)" \
+ HOSTLDFLAGS="$(HOST_LDFLAGS)" \
tools
endef