Lines Matching +full:ipa +full:- +full:setup +full:- +full:ready
5 # architecture-specific flags and dependencies.
11 # Copyright (C) 1995-2001 by Russell King
13 LDFLAGS_vmlinux := --no-undefined -X --pic-veneer
15 LDFLAGS_vmlinux += --be8
16 KBUILD_LDFLAGS_MODULE += --be8
19 GZFLAGS :=-9
20 #KBUILD_CFLAGS +=-pipe
23 KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
30 MMUEXT := -nommu
31 KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
35 KBUILD_CFLAGS +=-fno-omit-frame-pointer
37 KBUILD_CFLAGS += -mapcs -mno-sched-prolog
42 KBUILD_CPPFLAGS += -mbig-endian
43 CHECKFLAGS += -D__ARMEB__
44 KBUILD_LDFLAGS += -EB
46 KBUILD_CPPFLAGS += -mlittle-endian
47 CHECKFLAGS += -D__ARMEL__
48 KBUILD_LDFLAGS += -EL
57 KBUILD_CFLAGS += $(call cc-option,-fno-ipa-sra)
63 arch-$(CONFIG_CPU_32v7M) =-D__LINUX_ARM_ARCH__=7 -march=armv7-m -Wa,-march=armv7-m
64 arch-$(CONFIG_CPU_32v7) =-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$…
65 arch-$(CONFIG_CPU_32v6) =-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(c…
69 arch-$(CONFIG_CPU_32v6K) =-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6k,-march=armv5t -Wa$(…
71 arch-$(CONFIG_CPU_32v5) =-D__LINUX_ARM_ARCH__=5 $(call cc-option,-march=armv5te,-march=armv4t)
72 arch-$(CONFIG_CPU_32v4T) =-D__LINUX_ARM_ARCH__=4 -march=armv4t
73 arch-$(CONFIG_CPU_32v4) =-D__LINUX_ARM_ARCH__=4 -march=armv4
74 arch-$(CONFIG_CPU_32v3) =-D__LINUX_ARM_ARCH__=3 -march=armv3m
76 # Evaluate arch cc-option calls now
77 arch-y := $(arch-y)
80 tune-$(CONFIG_CPU_ARM7TDMI) =-mtune=arm7tdmi
81 tune-$(CONFIG_CPU_ARM720T) =-mtune=arm7tdmi
82 tune-$(CONFIG_CPU_ARM740T) =-mtune=arm7tdmi
83 tune-$(CONFIG_CPU_ARM9TDMI) =-mtune=arm9tdmi
84 tune-$(CONFIG_CPU_ARM940T) =-mtune=arm9tdmi
85 tune-$(CONFIG_CPU_ARM946E) =$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi)
86 tune-$(CONFIG_CPU_ARM920T) =-mtune=arm9tdmi
87 tune-$(CONFIG_CPU_ARM922T) =-mtune=arm9tdmi
88 tune-$(CONFIG_CPU_ARM925T) =-mtune=arm9tdmi
89 tune-$(CONFIG_CPU_ARM926T) =-mtune=arm9tdmi
90 tune-$(CONFIG_CPU_FA526) =-mtune=arm9tdmi
91 tune-$(CONFIG_CPU_SA110) =-mtune=strongarm110
92 tune-$(CONFIG_CPU_SA1100) =-mtune=strongarm1100
93 tune-$(CONFIG_CPU_XSCALE) =$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
94 tune-$(CONFIG_CPU_XSC3) =$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
95 tune-$(CONFIG_CPU_FEROCEON) =$(call cc-option,-mtune=marvell-f,-mtune=xscale)
96 tune-$(CONFIG_CPU_V6) =$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
97 tune-$(CONFIG_CPU_V6K) =$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm)
99 # Evaluate tune cc-option calls now
100 tune-y := $(tune-y)
103 CFLAGS_ABI :=-mabi=aapcs-linux -mfpu=vfp
105 CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,)
109 CFLAGS_ABI +=-funwind-tables
113 CFLAGS_ABI += -meabi gnu
117 AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W)
120 CFLAGS_ISA :=-mthumb -Wa,-mimplicit-it=always $(AFLAGS_NOWARN)
121 AFLAGS_ISA :=$(CFLAGS_ISA) -Wa$(comma)-mthumb
123 CFLAGS_ISA :=$(call cc-option,-marm,) $(AFLAGS_NOWARN)
127 # Need -Uarm for gcc < 3.x
128 …ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malig…
129 KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_ISA) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float
131 CHECKFLAGS += -D__arm__
134 head-y := arch/arm/kernel/head$(MMUEXT).o
137 # provide a means to avoid/resolve conflicts in multi-arch kernels.
140 # kexec-tools.
141 textofs-y := 0x00008000
143 textofs-$(CONFIG_PM_H1940) := 0x00108000
145 textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000
146 # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
148 textofs-$(CONFIG_SA1111) := 0x00208000
150 textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
151 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
152 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
153 textofs-$(CONFIG_ARCH_MESON) := 0x00208000
154 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
158 machine-$(CONFIG_ARCH_ACTIONS) += actions
159 machine-$(CONFIG_ARCH_ALPINE) += alpine
160 machine-$(CONFIG_ARCH_ARTPEC) += artpec
161 machine-$(CONFIG_ARCH_ASPEED) += aspeed
162 machine-$(CONFIG_ARCH_AT91) += at91
163 machine-$(CONFIG_ARCH_AXXIA) += axxia
164 machine-$(CONFIG_ARCH_BCM) += bcm
165 machine-$(CONFIG_ARCH_BERLIN) += berlin
166 machine-$(CONFIG_ARCH_CLPS711X) += clps711x
167 machine-$(CONFIG_ARCH_CNS3XXX) += cns3xxx
168 machine-$(CONFIG_ARCH_DAVINCI) += davinci
169 machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor
170 machine-$(CONFIG_ARCH_DOVE) += dove
171 machine-$(CONFIG_ARCH_EBSA110) += ebsa110
172 machine-$(CONFIG_ARCH_EFM32) += efm32
173 machine-$(CONFIG_ARCH_EP93XX) += ep93xx
174 machine-$(CONFIG_ARCH_EXYNOS) += exynos
175 machine-$(CONFIG_ARCH_FOOTBRIDGE) += footbridge
176 machine-$(CONFIG_ARCH_GEMINI) += gemini
177 machine-$(CONFIG_ARCH_HIGHBANK) += highbank
178 machine-$(CONFIG_ARCH_HISI) += hisi
179 machine-$(CONFIG_ARCH_INTEGRATOR) += integrator
180 machine-$(CONFIG_ARCH_IOP32X) += iop32x
181 machine-$(CONFIG_ARCH_IXP4XX) += ixp4xx
182 machine-$(CONFIG_ARCH_KEYSTONE) += keystone
183 machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx
184 machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx
185 machine-$(CONFIG_ARCH_MESON) += meson
186 machine-$(CONFIG_ARCH_MMP) += mmp
187 machine-$(CONFIG_ARCH_MPS2) += vexpress
188 machine-$(CONFIG_ARCH_MOXART) += moxart
189 machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0
190 machine-$(CONFIG_ARCH_MVEBU) += mvebu
191 machine-$(CONFIG_ARCH_MXC) += imx
192 machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
193 machine-$(CONFIG_ARCH_MILBEAUT) += milbeaut
194 machine-$(CONFIG_ARCH_MXS) += mxs
195 machine-$(CONFIG_ARCH_MSTARV7) += mstar
196 machine-$(CONFIG_ARCH_NOMADIK) += nomadik
197 machine-$(CONFIG_ARCH_NPCM) += npcm
198 machine-$(CONFIG_ARCH_NSPIRE) += nspire
199 machine-$(CONFIG_ARCH_OXNAS) += oxnas
200 machine-$(CONFIG_ARCH_OMAP1) += omap1
201 machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
202 machine-$(CONFIG_ARCH_ORION5X) += orion5x
203 machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
204 machine-$(CONFIG_ARCH_PXA) += pxa
205 machine-$(CONFIG_ARCH_QCOM) += qcom
206 machine-$(CONFIG_ARCH_RDA) += rda
207 machine-$(CONFIG_ARCH_REALTEK) += realtek
208 machine-$(CONFIG_ARCH_REALVIEW) += realview
209 machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip
210 machine-$(CONFIG_ARCH_RPC) += rpc
211 machine-$(CONFIG_PLAT_SAMSUNG) += s3c
212 machine-$(CONFIG_ARCH_S5PV210) += s5pv210
213 machine-$(CONFIG_ARCH_SA1100) += sa1100
214 machine-$(CONFIG_ARCH_RENESAS) += shmobile
215 machine-$(CONFIG_ARCH_SIRF) += prima2
216 machine-$(CONFIG_ARCH_SOCFPGA) += socfpga
217 machine-$(CONFIG_ARCH_STI) += sti
218 machine-$(CONFIG_ARCH_STM32) += stm32
219 machine-$(CONFIG_ARCH_SUNXI) += sunxi
220 machine-$(CONFIG_ARCH_TANGO) += tango
221 machine-$(CONFIG_ARCH_TEGRA) += tegra
222 machine-$(CONFIG_ARCH_U300) += u300
223 machine-$(CONFIG_ARCH_U8500) += ux500
224 machine-$(CONFIG_ARCH_VERSATILE) += versatile
225 machine-$(CONFIG_ARCH_VEXPRESS) += vexpress
226 machine-$(CONFIG_ARCH_VT8500) += vt8500
227 machine-$(CONFIG_ARCH_ZX) += zx
228 machine-$(CONFIG_ARCH_ZYNQ) += zynq
229 machine-$(CONFIG_PLAT_SPEAR) += spear
233 plat-$(CONFIG_ARCH_OMAP) += omap
234 plat-$(CONFIG_PLAT_ORION) += orion
235 plat-$(CONFIG_PLAT_PXA) += pxa
236 plat-$(CONFIG_PLAT_VERSATILE) += versatile
241 CFLAGS_3c589_cs.o :=-DISA_SIXTEEN_BIT_PERIPHERAL
246 TEXT_OFFSET := $(textofs-y)
248 # The first directory contains additional information for the boot setup code
249 ifneq ($(machine-y),)
250 MACHINE := arch/arm/mach-$(word 1,$(machine-y))/
258 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
259 platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y)))
263 KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs))
269 core-y += arch/arm/
270 # If we have a machine-specific directory, then include it in the build.
271 core-y += $(machdirs) $(platdirs)
274 core- += $(patsubst %,arch/arm/mach-%/, $(machine-))
275 core- += $(patsubst %,arch/arm/plat-%/, $(plat-))
277 drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/
279 libs-y := arch/arm/lib/ $(libs-y)
293 -fplugin-arg-arm_ssp_per_task_plugin-tso=$(shell \
295 include/generated/asm-offsets.h) \
296 -fplugin-arg-arm_ssp_per_task_plugin-offset=$(shell \
298 include/generated/asm-offsets.h))
325 @$(kecho) ' Kernel: $(boot)/$@ is ready'
345 echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)'
346 echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)'
347 echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)'
348 echo ' uImage - U-Boot wrapped zImage'
349 echo ' bootpImage - Combined zImage and initial RAM disk'
351 echo ' install - Install uncompressed kernel'
352 echo ' zinstall - Install compressed kernel'
353 echo ' uinstall - Install U-Boot wrapped compressed kernel'
357 echo ' vdso_install - Install unstripped vdso.so to $$(INSTALL_MOD_PATH)/vdso'