[klibc] [mips] fix path of linker script
Martin Michlmayr
tbm at cyrius.com
Sun Jan 8 11:50:33 PST 2006
* Sam Ravnborg <sam at ravnborg.org> [2006-01-08 20:15]:
> If you use $(src) the change will work in both trees - like this:
> > +SHAREDFLAGS = -T $(src)/arch/$(ARCH)/klibc.ld
>
> We like klibc to be buildable both as standalone and in the kernel.
> Untested - so please test before resubmit...
Tested - works, thanks.
diff -urN klibc-1.1.16~/klibc/arch/mips/MCONFIG klibc-1.1.16/klibc/arch/mips/MCONFIG
--- klibc-1.1.16~/klibc/arch/mips/MCONFIG 2006-01-06 06:11:43.000000000 +0000
+++ klibc-1.1.16/klibc/arch/mips/MCONFIG 2006-01-08 19:49:57.000000000 +0000
@@ -12,4 +12,4 @@
BITSIZE = 32
# Extra linkflags when building the shared version of the library
-SHAREDFLAGS = -T arch/$(ARCH)/klibc.ld
+SHAREDFLAGS = -T $(src)/arch/$(ARCH)/klibc.ld
--
Martin Michlmayr
http://www.cyrius.com/
More information about the klibc
mailing list