RPX Lite kernel
Marcus Sundberg
erammsu at kieraypc01.p.y.ki.era.ericsson.se
Wed Jul 7 21:59:05 EST 1999
Scott Wood wrote:
> I'd still like to know if anyone has a working 2.2 kernel on the RPX Lite... I'd compile one myself, but my B&W G3 LinuxPPC box
> is getting its guts replaced and I've heard horror stories about cross-compling the kernel...
Well, I've heard horror stories about compiling "hello world" too,
but that doesn't mean it's particularly complicated. ;)
If "cross-compiling" from PPC I can't see why you should need to do
anything else than configure the kernel properly.
And this diff is all that is needed to cross-compile from ix86 Linux:
diff -urN linux-2.2.10.orig/Makefile embedded-2.2.10/Makefile
--- linux-2.2.10.orig/Makefile Sat May 29 03:10:19 1999
+++ embedded-2.2.10/Makefile Tue Jul 6 18:32:40 1999
@@ -3,7 +3,8 @@
SUBLEVEL = 10
EXTRAVERSION =
-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+ARCH := ppc
+#ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
.EXPORT_ALL_VARIABLES:
@@ -18,7 +19,7 @@
HOSTCC =gcc
HOSTCFLAGS =-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-CROSS_COMPILE =
+CROSS_COMPILE = ppc-linux-
AS =$(CROSS_COMPILE)as
LD =$(CROSS_COMPILE)ld
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan at stacken.kth.se
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
More information about the Linuxppc-dev
mailing list