- handy to have the cross_compile block here, too
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 22 Jun 2007 17:39:21 +0000 (17:39 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 22 Jun 2007 17:39:21 +0000 (17:39 -0000)
scripts/Makefile.IMA

index ca8bc279c3ceab47f3be65f3ce28e06e08131752..1d7bc2cc336f49df2f5f896e1eeb816a8326f869 100644 (file)
@@ -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) \