aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.IMA
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-22 17:39:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-22 17:39:21 +0000
commit118b81df76be0e372309d76196c8eedf19ac56cd (patch)
tree87ad323dc7d932a5d43256fdd8fe217e3536f4bc /scripts/Makefile.IMA
parent2ee028dd5b628549915363af6c312948e12aa299 (diff)
downloadbusybox-118b81df76be0e372309d76196c8eedf19ac56cd.tar.gz
- handy to have the cross_compile block here, too
Diffstat (limited to 'scripts/Makefile.IMA')
-rw-r--r--scripts/Makefile.IMA12
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) \