Makefile (9a38e989b8ce04923f919fc2a8a24eb07fb484e2) Makefile (28853ac8fe5221de74a14f1182d7b2b383dfd85c)
1#
2# arch/arm/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 58 unchanged lines hidden (view full) ---

67tune-$(CONFIG_CPU_ARM740T) :=-mtune=arm7tdmi
68tune-$(CONFIG_CPU_ARM9TDMI) :=-mtune=arm9tdmi
69tune-$(CONFIG_CPU_ARM940T) :=-mtune=arm9tdmi
70tune-$(CONFIG_CPU_ARM946E) :=$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
71tune-$(CONFIG_CPU_ARM920T) :=-mtune=arm9tdmi
72tune-$(CONFIG_CPU_ARM922T) :=-mtune=arm9tdmi
73tune-$(CONFIG_CPU_ARM925T) :=-mtune=arm9tdmi
74tune-$(CONFIG_CPU_ARM926T) :=-mtune=arm9tdmi
1#
2# arch/arm/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive

--- 58 unchanged lines hidden (view full) ---

67tune-$(CONFIG_CPU_ARM740T) :=-mtune=arm7tdmi
68tune-$(CONFIG_CPU_ARM9TDMI) :=-mtune=arm9tdmi
69tune-$(CONFIG_CPU_ARM940T) :=-mtune=arm9tdmi
70tune-$(CONFIG_CPU_ARM946E) :=$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
71tune-$(CONFIG_CPU_ARM920T) :=-mtune=arm9tdmi
72tune-$(CONFIG_CPU_ARM922T) :=-mtune=arm9tdmi
73tune-$(CONFIG_CPU_ARM925T) :=-mtune=arm9tdmi
74tune-$(CONFIG_CPU_ARM926T) :=-mtune=arm9tdmi
75tune-$(CONFIG_CPU_FA526) :=-mtune=arm9tdmi
75tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110
76tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
77tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
78tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
79tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale)
80tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
81
82ifeq ($(CONFIG_AEABI),y)
83CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork
84else
85CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
86endif
87
76tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110
77tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
78tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
79tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
80tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale)
81tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
82
83ifeq ($(CONFIG_AEABI),y)
84CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork
85else
86CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
87endif
88
88ifeq ($(CONFIG_ARM_UNWIND),y)
89CFLAGS_ABI +=-funwind-tables
90endif
91
92# Need -Uarm for gcc < 3.x
93KBUILD_CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
94KBUILD_AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
95
96CHECKFLAGS += -D__arm__
97
98#Default value
99head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o

--- 4 unchanged lines hidden (view full) ---

104 machine-$(CONFIG_FOOTBRIDGE) := footbridge
105 machine-$(CONFIG_ARCH_SHARK) := shark
106 machine-$(CONFIG_ARCH_SA1100) := sa1100
107ifeq ($(CONFIG_ARCH_SA1100),y)
108# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
109 textofs-$(CONFIG_SA1111) := 0x00208000
110endif
111 machine-$(CONFIG_ARCH_PXA) := pxa
89# Need -Uarm for gcc < 3.x
90KBUILD_CFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
91KBUILD_AFLAGS +=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
92
93CHECKFLAGS += -D__arm__
94
95#Default value
96head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o

--- 4 unchanged lines hidden (view full) ---

101 machine-$(CONFIG_FOOTBRIDGE) := footbridge
102 machine-$(CONFIG_ARCH_SHARK) := shark
103 machine-$(CONFIG_ARCH_SA1100) := sa1100
104ifeq ($(CONFIG_ARCH_SA1100),y)
105# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
106 textofs-$(CONFIG_SA1111) := 0x00208000
107endif
108 machine-$(CONFIG_ARCH_PXA) := pxa
112 machine-$(CONFIG_ARCH_MMP) := mmp
113 plat-$(CONFIG_PLAT_PXA) := pxa
114 machine-$(CONFIG_ARCH_L7200) := l7200
115 machine-$(CONFIG_ARCH_INTEGRATOR) := integrator
116 textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000
117 machine-$(CONFIG_ARCH_CLPS711X) := clps711x
118 machine-$(CONFIG_ARCH_IOP32X) := iop32x
119 machine-$(CONFIG_ARCH_IOP33X) := iop33x
120 machine-$(CONFIG_ARCH_IOP13XX) := iop13xx
121 plat-$(CONFIG_PLAT_IOP) := iop

--- 137 unchanged lines hidden ---
109 machine-$(CONFIG_ARCH_L7200) := l7200
110 machine-$(CONFIG_ARCH_INTEGRATOR) := integrator
111 textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000
112 machine-$(CONFIG_ARCH_CLPS711X) := clps711x
113 machine-$(CONFIG_ARCH_IOP32X) := iop32x
114 machine-$(CONFIG_ARCH_IOP33X) := iop33x
115 machine-$(CONFIG_ARCH_IOP13XX) := iop13xx
116 plat-$(CONFIG_PLAT_IOP) := iop

--- 137 unchanged lines hidden ---