[Buildroot] svn commit: trunk/buildroot/package/mtd

aldot at uclibc.org aldot at uclibc.org
Tue Oct 3 14:11:12 UTC 2006


Author: aldot
Date: 2006-10-03 07:11:12 -0700 (Tue, 03 Oct 2006)
New Revision: 16297

Log:
- use the HOSTCC for building host-tools.


Modified:
   trunk/buildroot/package/mtd/mtd.mk


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.mk
===================================================================
--- trunk/buildroot/package/mtd/mtd.mk	2006-10-03 13:42:42 UTC (rev 16296)
+++ trunk/buildroot/package/mtd/mtd.mk	2006-10-03 14:11:12 UTC (rev 16297)
@@ -57,7 +57,7 @@
 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)




More information about the buildroot mailing list