patch-2.4.9 linux/arch/arm/Makefile
Next file: linux/arch/arm/boot/compressed/head.S
Previous file: linux/arch/alpha/mm/numa.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Sun Aug 12 11:13:59 2001
- Orig file:
v2.4.8/linux/arch/arm/Makefile
- Orig date:
Tue Jul 3 17:08:18 2001
diff -u --recursive --new-file v2.4.8/linux/arch/arm/Makefile linux/arch/arm/Makefile
@@ -22,14 +22,18 @@
# Select CPU dependent flags. Note that order of declaration is important;
# the options further down the list override previous items.
#
-apcs-y :=
-apcs-$(CONFIG_CPU_26) :=-mcpu=arm3 -Os
+# Note! For APCS-26 YOU MUST HAVE AN APCS-26 LIBGCC.A
+#
+apcs-y :=-mapcs-32
+apcs-$(CONFIG_CPU_26) :=-mapcs-26 -mcpu=arm3 -Os
+# This selects which instruction set is used.
arch-y :=
arch-$(CONFIG_CPU_32v3) :=-march=armv3
arch-$(CONFIG_CPU_32v4) :=-march=armv4
arch-$(CONFIG_CPU_32v5) :=-march=armv5
+# This selects how we optimise for the processor.
tune-y :=
tune-$(CONFIG_CPU_ARM610) :=-mtune=arm610
tune-$(CONFIG_CPU_ARM710) :=-mtune=arm710
@@ -38,8 +42,8 @@
tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110
tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
-CFLAGS += -mapcs-32 $(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float
-AFLAGS += -mapcs-32 $(apcs-y) $(arch-y) -mno-fpu
+CFLAGS +=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float
+AFLAGS +=$(apcs-y) $(arch-y) -mno-fpu
LIBGCC := $(shell $(CC) $(CFLAGS) --print-libgcc-file-name)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)