summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-03 14:57:50 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:41 +0200
commitf53df62268d63a84c5763ce37a4cac267add57a8 (patch)
tree101f94768343c7c73a0295c09e0fd2d96a563ccc /Makefile.in
parent974a9c45937557cf35a67bf347bbae658e1aa8e7 (diff)
2006-10-03 Thomas Schwinge <tschwinge@gnu.org>
[task #5941 --- ``Linker script for GNU Mach''] * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. * i386/Makefile.in (sysdep.a): Likewise. * i386/Makerules.in: Likewise. (LDFLAGS-kernel): Point to the linker script. * i386/i386at/boothdr.S (_start): Don't put into `.text', but into `.text.start' instead. * i386/ldscript: Change to put `.text' at 0x100000 and put `.text.start' first into `.text'.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 1217b28..1849f77 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -281,11 +281,8 @@ clib-routines := memcpy memmove memset bcopy bzero \
# @rm -f $@
# $(AR) cq $@ $^
-# Then dependency on `$(systype)/sysdep.a' also makes sure that
-# `$($(systype)-objfiles-prepend)' are created.
kernel.o: $(objfiles) $(systype)/sysdep.a # kernel.a
- $(LD) -r -o $@ \
- $(addprefix $(systype)/,$($(systype)-objfiles-prepend)) $^
+ $(LD) -r -o $@ $^
kernel-undef: kernel.o
$(NM) -u $< | sed 's/ *U *//;s/^_*//' | sort -u > $@
kernel-undef-bad: kernel-undef Makefile