patch-2.3.23 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 --recursive --new-file v2.3.22/linux/arch/arm/mm/Makefile linux/arch/arm/mm/Makefile
@@ -8,7 +8,8 @@
 # Note 2! The CFLAGS definition is now in the main makefile...
 
 O_TARGET	:= mm.o
-O_OBJS		:= init.o extable.o fault-$(PROCESSOR).o small_page.o
+O_OBJS		:= init.o extable.o fault-$(PROCESSOR).o mm-$(PROCESSOR).o \
+		   small_page.o
 
 ifeq ($(CONFIG_CPU_26),y)
   O_OBJS	+= proc-arm2,3.o
@@ -24,13 +25,16 @@
   ifeq ($(CONFIG_CPU_SA110),y)
     P_OBJS	+= proc-sa110.o
   endif
+  ifeq ($(CONFIG_CPU_SA1100),y)
+    P_OBJS	+= proc-sa110.o
+  endif
   O_OBJS	+= mm-$(MACHINE).o ioremap.o $(sort $(P_OBJS))
 endif
 
 include $(TOPDIR)/Rules.make
 
-%.o: %.S
-	$(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
+.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)