diff options
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 8330495e2448..67f1453ade05 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -56,7 +56,7 @@ tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) | |||
56 | tune-$(CONFIG_CPU_V6) :=-mtune=strongarm | 56 | tune-$(CONFIG_CPU_V6) :=-mtune=strongarm |
57 | 57 | ||
58 | # Need -Uarm for gcc < 3.x | 58 | # Need -Uarm for gcc < 3.x |
59 | CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) | 59 | CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,) |
60 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm | 60 | CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm |
61 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float | 61 | AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float |
62 | 62 | ||
@@ -91,7 +91,8 @@ textaddr-$(CONFIG_ARCH_FORTUNET) := 0xc0008000 | |||
91 | machine-$(CONFIG_ARCH_IOP3XX) := iop3xx | 91 | machine-$(CONFIG_ARCH_IOP3XX) := iop3xx |
92 | machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx | 92 | machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx |
93 | machine-$(CONFIG_ARCH_IXP2000) := ixp2000 | 93 | machine-$(CONFIG_ARCH_IXP2000) := ixp2000 |
94 | machine-$(CONFIG_ARCH_OMAP) := omap | 94 | machine-$(CONFIG_ARCH_OMAP1) := omap1 |
95 | incdir-$(CONFIG_ARCH_OMAP) := omap | ||
95 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 | 96 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 |
96 | machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x | 97 | machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x |
97 | machine-$(CONFIG_ARCH_VERSATILE) := versatile | 98 | machine-$(CONFIG_ARCH_VERSATILE) := versatile |
@@ -142,6 +143,9 @@ core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/ | |||
142 | core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ) | 143 | core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ) |
143 | core-$(CONFIG_VFP) += arch/arm/vfp/ | 144 | core-$(CONFIG_VFP) += arch/arm/vfp/ |
144 | 145 | ||
146 | # If we have a common platform directory, then include it in the build. | ||
147 | core-$(CONFIG_ARCH_OMAP) += arch/arm/plat-omap/ | ||
148 | |||
145 | drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/ | 149 | drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/ |
146 | drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/ | 150 | drivers-$(CONFIG_ARCH_CLPS7500) += drivers/acorn/char/ |
147 | drivers-$(CONFIG_ARCH_L7200) += drivers/acorn/char/ | 151 | drivers-$(CONFIG_ARCH_L7200) += drivers/acorn/char/ |