- use the HOSTCC for building host-tools.
This commit is contained in:
parent
2d1ab08716
commit
2ce4d98fad
|
@ -57,7 +57,7 @@ $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
|
|||
endif
|
||||
|
||||
$(MTD_HOST_DIR)/util/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked
|
||||
CFLAGS=-I$(LINUX_HEADERS_DIR)/include \
|
||||
CC="$(HOSTCC)" CROSS= CFLAGS=-I$(LINUX_HEADERS_DIR)/include \
|
||||
$(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_HOST_DIR)/util mkfs.jffs2
|
||||
|
||||
mtd-host: $(MKFS_JFFS2)
|
||||
|
|
Loading…
Reference in a new issue