svn commit: trunk/busybox/scripts
aldot at busybox.net
aldot at busybox.net
Fri Jun 22 17:39:23 UTC 2007
Author: aldot
Date: 2007-06-22 10:39:21 -0700 (Fri, 22 Jun 2007)
New Revision: 18895
Log:
- handy to have the cross_compile block here, too
Modified:
trunk/busybox/scripts/Makefile.IMA
Changeset:
Modified: trunk/busybox/scripts/Makefile.IMA
===================================================================
--- trunk/busybox/scripts/Makefile.IMA 2007-06-22 16:00:45 UTC (rev 18894)
+++ trunk/busybox/scripts/Makefile.IMA 2007-06-22 17:39:21 UTC (rev 18895)
@@ -117,8 +117,16 @@
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) \
More information about the busybox-cvs
mailing list