patch-2.1.110 linux/arch/sparc/kernel/Makefile

Next file: linux/arch/sparc/lib/Makefile
Previous file: linux/arch/ppc/kernel/pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.109/linux/arch/sparc/kernel/Makefile linux/arch/sparc/kernel/Makefile
@@ -7,24 +7,12 @@
 #
 # Note 2! The CFLAGS definitions are now in the main makefile...
 
-ifdef SMP
-
 .S.s:
 	$(CPP) -D__ASSEMBLY__ $(AFLAGS) -ansi $< -o $*.s
 
 .S.o:
 	$(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c $< -o $*.o
 
-else
-
-.S.s:
-	$(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
-
-.S.o:
-	$(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
-
-endif
-
 all: kernel.o head.o init_task.o
 
 O_TARGET := kernel.o
@@ -46,17 +34,8 @@
 O_OBJS += auxio.o
 endif
 
-ifdef SMP
-
 head.o: head.S
 	$(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c $*.S -o $*.o
-
-else
-
-head.o: head.S
-	$(CC) -D__ASSEMBLY__ -ansi -c $*.S -o $*.o
-
-endif
 
 check_asm: dummy
 	@echo "/* Automatically generated. Do not edit. */" > asm_offsets.h

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