patch-2.1.110 linux/arch/i386/kernel/Makefile
Next file: linux/arch/i386/kernel/bios32.c
Previous file: linux/arch/i386/defconfig
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Jul 20 10:05:15 1998
- Orig file:
v2.1.109/linux/arch/i386/kernel/Makefile
- Orig date:
Sat May 2 14:19:52 1998
diff -u --recursive --new-file v2.1.109/linux/arch/i386/kernel/Makefile linux/arch/i386/kernel/Makefile
@@ -7,13 +7,8 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-ifdef SMP
.S.o:
$(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $< -o $*.o
-else
-.S.o:
- $(CC) -D__ASSEMBLY__ -traditional -c $< -o $*.o
-endif
all: kernel.o head.o init_task.o
@@ -39,19 +34,11 @@
endif
endif
-
ifdef SMP
-
O_OBJS += io_apic.o smp.o trampoline.o
+endif
head.o: head.S $(TOPDIR)/include/linux/tasks.h
- $(CC) -D__ASSEMBLY__ -D__SMP__ -traditional -c $*.S -o $*.o
-
-else
-
-head.o: head.S $(TOPDIR)/include/linux/tasks.h
- $(CC) -D__ASSEMBLY__ -traditional -c $*.S -o $*.o
-
-endif
+ $(CC) -D__ASSEMBLY__ $(AFLAGS) -traditional -c $*.S -o $*.o
include $(TOPDIR)/Rules.make
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov