changeset 109:1c5fa783450b

Convert HOST_CC to HOSTCC to be more like uClibc build.
author Rob Landley <rob@landley.net>
date Mon, 12 Mar 2007 21:17:01 -0400
parents 261736dafd2e
children db63b2829eda
files Makefile kconfig/Makefile
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Mar 12 21:10:06 2007 -0400
+++ b/Makefile	Mon Mar 12 21:17:01 2007 -0400
@@ -4,7 +4,7 @@
 CFLAGS  = -Wall -Wundef -Wno-char-subscripts -Os
 CC      = $(CROSS_COMPILE)gcc $(CFLAGS) -funsigned-char
 STRIP   = $(CROSS_COMPILE)strip
-HOST_CC = gcc $(CFLAGS) -funsigned-char
+HOSTCC  = gcc $(CFLAGS) -funsigned-char
 
 all: toybox
 
@@ -52,7 +52,7 @@
 	$(STRIP) toybox_unstripped -o toybox
 
 instlist: toybox
-	$(HOST_CC) -I . scripts/install.c -o instlist
+	$(HOSTCC) -I . scripts/install.c -o instlist
 
 install_flat: instlist
 	@mkdir -p $(PREFIX)/
--- a/kconfig/Makefile	Mon Mar 12 21:10:06 2007 -0400
+++ b/kconfig/Makefile	Mon Mar 12 21:17:01 2007 -0400
@@ -52,11 +52,11 @@
 gen_config.h: .config
 
 kconfig/mconf: $(SHIPPED)
-	$(HOST_CC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
+	$(HOSTCC) -o $@ kconfig/{mconf.c,zconf.tab.c,lxdialog/*.c} \
 		-lcurses -DCURSES_LOC="<ncurses.h>" -DKBUILD_NO_NLS=1
 
 kconfig/conf: $(SHIPPED)
-	$(HOST_CC) -o $@ kconfig/{conf.c,zconf.tab.c} -DKBUILD_NO_NLS=1
+	$(HOSTCC) -o $@ kconfig/{conf.c,zconf.tab.c} -DKBUILD_NO_NLS=1
 
 clean::
 	rm -f $(wildcard kconfig/*zconf*.c) kconfig/{conf,mconf}