patch-2.1.110 linux/arch/i386/boot/compressed/Makefile

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

diff -u --recursive --new-file v2.1.109/linux/arch/i386/boot/compressed/Makefile linux/arch/i386/boot/compressed/Makefile
@@ -22,10 +22,6 @@
 ZLINKFLAGS = -Ttext $(ZIMAGE_OFFSET) $(ZLDFLAGS)
 BZLINKFLAGS = -Ttext $(BZIMAGE_OFFSET) $(ZLDFLAGS)
 
-ifdef SMP
-CFLAGS := $(CFLAGS) -D__SMP__
-endif
-
 all: vmlinux
 
 vmlinux: piggy.o $(OBJECTS)
@@ -34,18 +30,8 @@
 bvmlinux: piggy.o $(OBJECTS)
 	$(LD) $(BZLINKFLAGS) -o bvmlinux $(OBJECTS) piggy.o
 
-ifdef SMP
-
 head.o: head.S $(TOPDIR)/include/linux/tasks.h
-	$(CC) -D__SMP__ -traditional -c head.S
-
-else
-
-head.o: head.S $(TOPDIR)/include/linux/tasks.h
-	$(CC) -traditional -c head.S
-
-endif
-
+	$(CC) $(AFLAGS) -traditional -c head.S
 
 piggy.o:	$(SYSTEM)
 	tmppiggy=_tmp_$$$$piggy; \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov