patch-2.2.18 linux/arch/arm/mm/Makefile

Next file: linux/arch/arm/mm/fault-armo.c
Previous file: linux/arch/arm/lib/uaccess.S
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/arm/mm/Makefile linux/arch/arm/mm/Makefile
@@ -7,13 +7,11 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-all:	lib first_rule
-
-O_TARGET := mm.o
-O_OBJS   := init.o extable.o fault-$(PROCESSOR).o small_page.o
+O_TARGET	:= mm.o
+O_OBJS		:= init.o extable.o fault-$(PROCESSOR).o small_page.o
 
 ifeq ($(PROCESSOR),armo)
- O_OBJS += proc-arm2,3.o
+ O_OBJS		+= proc-arm2,3.o
 endif
 
 ifeq ($(PROCESSOR),armv)
@@ -22,11 +20,8 @@
 
 include $(TOPDIR)/Rules.make
 
-%.o: %.S
-	$(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
-
-.PHONY:	lib
-lib:;	@$(MAKE) -C ../lib constants.h
+.S.o:
+	$(CC) -D__ASSEMBLY__ $(AFLAGS) $(AFLAGS_$@) -traditional -c -o $*.o $<
 
 # Special dependencies
 fault-armv.o: fault-common.c

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