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

Next file: linux/arch/i386/boot/bootsect.S
Previous file: linux/arch/i386/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/arch/i386/boot/Makefile linux/arch/i386/boot/Makefile
@@ -15,6 +15,10 @@
 CFLAGS := $(CFLAGS) -D__BFD__
 endif
 
+ifdef SMP
+CFLAGS := $(CFLAGS) -D__SMP__
+endif
+
 zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
 ifdef CONFIG_KERNEL_ELF
 	$(OBJDUMP) $(OBJDUMP_FLAGS) -o $(ZIMAGE_OFFSET) compressed/vmlinux > compressed/vmlinux.out

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this