What I've been missing so far is a possibility to do something like
make TARGETCC=egcc zImage
when building a kernel. Is there any reason not to include a new variable
to the top-level Makefile like in the following?
-----------[snip]----------
--- Makefile.orig Thu Mar 25 13:11:08 1999
+++ Makefile Thu Mar 25 13:13:13 1999
@@ -18,11 +18,13 @@
HOSTCC =gcc
HOSTCFLAGS =-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+TARGETCC =gcc
+
CROSS_COMPILE =
AS =$(CROSS_COMPILE)as
LD =$(CROSS_COMPILE)ld
-CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH)
+CC =$(CROSS_COMPILE)$(TARGETCC) -D__KERNEL__ -I$(HPATH)
CPP =$(CC) -E
AR =$(CROSS_COMPILE)ar
NM =$(CROSS_COMPILE)nm
-----------[snap]-----------
Regards,
Daniel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/