patch-2.3.28 linux/arch/i386/boot/Makefile

Next file: linux/arch/i386/boot/setup.S
Previous file: linux/arch/arm/kernel/ioport.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.27/linux/arch/i386/boot/Makefile linux/arch/i386/boot/Makefile
@@ -51,11 +51,11 @@
 bootsect.s: bootsect.S Makefile $(BOOT_INCL)
 	$(CPP) -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@
 
-bbootsect: bbootsect.o
-	$(LD) -Ttext 0x0 -s -oformat binary $< -o $@
+bbootsect: bbootsect.o bsetup.o
+	$(LD) -Ttext 0x0 -R bsetup.o -s -oformat binary $< -o $@
 
 bbootsect.o: bbootsect.s
-	$(AS) --defsym bootsect_kludge=0x220 -o $@ $<
+	$(AS) -o $@ $<
 
 bbootsect.s: bootsect.S Makefile $(BOOT_INCL)
 	$(CPP) -D__BIG_KERNEL__ -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)