diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/Makefile.in | 5 | ||||
-rw-r--r-- | i386/Makerules.in | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/i386/Makefile.in b/i386/Makefile.in index d22a1aa..8aa62e4 100644 --- a/i386/Makefile.in +++ b/i386/Makefile.in @@ -131,10 +131,11 @@ INCLUDES = -I. -I$(srcdir)/i386at -I$(srcdir)/i386 \ all: sysdep.a $(MAKE) -C linux $@ -# `boothdr.o' is special. +# `$($(systype)-objfiles-prepend)' are special, but are nevertheless +# created for the target `sysdep.a'. sysdep.a: $(objfiles) linux/linux.o rm -f $@ - $(AR) cr $@ $(filter-out boothdr.o,$^) + $(AR) cr $@ $(filter-out $($(systype)-objfiles-prepend),$^) $(RANLIB) $@ check: diff --git a/i386/Makerules.in b/i386/Makerules.in index 1957e0f..f6c90da 100644 --- a/i386/Makerules.in +++ b/i386/Makerules.in @@ -33,10 +33,8 @@ DEFINES += -DCONTINUATIONS -D__ELF__ -Di386 $(DEFS-$(systype)) # Arrange for a suitable load address. LDFLAGS-kernel += -Ttext 100000 -# `boothdr.o' has to be at the beginning. -kernel-objfiles-prepend = $(systype)/boothdr.o - -kernel.o: $(kernel-objfiles-prepend) +# `boothdr.o' has to be at the beginning of the kernel image. +$(systype)-objfiles-prepend = boothdr.o # |