diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-22 17:39:21 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-22 17:39:21 +0000 |
commit | 118b81df76be0e372309d76196c8eedf19ac56cd (patch) | |
tree | 87ad323dc7d932a5d43256fdd8fe217e3536f4bc /scripts | |
parent | 2ee028dd5b628549915363af6c312948e12aa299 (diff) | |
download | busybox-118b81df76be0e372309d76196c8eedf19ac56cd.tar.gz |
- handy to have the cross_compile block here, too
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.IMA | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/Makefile.IMA b/scripts/Makefile.IMA index ca8bc279c..1d7bc2cc3 100644 --- a/scripts/Makefile.IMA +++ b/scripts/Makefile.IMA @@ -117,8 +117,16 @@ endif CPPFLAGS+= -D"KBUILD_STR(s)=\#s" #-Q HOSTCC = gcc -CC = gcc -STRIP = strip +AS = $(CROSS_COMPILE)as +CC = $(CROSS_COMPILE)gcc +LD = $(CC) -nostdlib +CPP = $(CC) -E +AR = $(CROSS_COMPILE)ar +NM = $(CROSS_COMPILE)nm +STRIP = $(CROSS_COMPILE)strip +OBJCOPY = $(CROSS_COMPILE)objcopy +OBJDUMP = $(CROSS_COMPILE)objdump + WHOLE_PROGRAM:=$(call cc-option,-fwhole-program,) busybox: $(usage_stuff) $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) --combine $(WHOLE_PROGRAM) \ |