diff options
author | Rob Landley <rob@landley.net> | 2007-03-12 21:17:01 -0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-03-12 21:17:01 -0400 |
commit | 6126b258dc7c11d983ef007459e65a19925c0b2f (patch) | |
tree | ab5d3ade7b8880489a12de37d72794e7f6fc34e3 | |
parent | d1ed4c625df616b845077ca1670a44e2ec66161f (diff) | |
download | toybox-6126b258dc7c11d983ef007459e65a19925c0b2f.tar.gz toybox-6126b258dc7c11d983ef007459e65a19925c0b2f.tar.bz2 toybox-6126b258dc7c11d983ef007459e65a19925c0b2f.zip |
Convert HOST_CC to HOSTCC to be more like uClibc build.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | kconfig/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ toybox: toybox_unstripped $(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)/ diff --git a/kconfig/Makefile b/kconfig/Makefile index 95e621e..f998e7b 100644 --- a/kconfig/Makefile +++ b/kconfig/Makefile @@ -52,11 +52,11 @@ SHIPPED = kconfig/zconf.tab.c kconfig/lex.zconf.c kconfig/zconf.hash.c 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} |