Makefile (10508b204c190471fe849a3e68f221277488c155) | Makefile (aa42587a43e82b409436e05ce52835904de1a96f) |
---|---|
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 --- 113 unchanged lines hidden (view full) --- 122# Need -Uarm for gcc < 3.x 123KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm 124KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_ISA) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float 125 126CHECKFLAGS += -D__arm__ 127 128#Default value 129head-y := arch/arm/kernel/head$(MMUEXT).o | 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 --- 113 unchanged lines hidden (view full) --- 122# Need -Uarm for gcc < 3.x 123KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm 124KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_ISA) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float 125 126CHECKFLAGS += -D__arm__ 127 128#Default value 129head-y := arch/arm/kernel/head$(MMUEXT).o |
130 131# Text offset. This list is sorted numerically by address in order to 132# provide a means to avoid/resolve conflicts in multi-arch kernels. | |
133textofs-y := 0x00008000 134textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 135# We don't want the htc bootloader to corrupt kernel during resume 136textofs-$(CONFIG_PM_H1940) := 0x00108000 137# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory 138ifeq ($(CONFIG_ARCH_SA1100),y) 139textofs-$(CONFIG_SA1111) := 0x00208000 140endif --- 44 unchanged lines hidden (view full) --- 185machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell 186machine-$(CONFIG_ARCH_PXA) += pxa 187machine-$(CONFIG_ARCH_QCOM) += qcom 188machine-$(CONFIG_ARCH_REALVIEW) += realview 189machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip 190machine-$(CONFIG_ARCH_RPC) += rpc 191machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx 192machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx | 130textofs-y := 0x00008000 131textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 132# We don't want the htc bootloader to corrupt kernel during resume 133textofs-$(CONFIG_PM_H1940) := 0x00108000 134# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory 135ifeq ($(CONFIG_ARCH_SA1100),y) 136textofs-$(CONFIG_SA1111) := 0x00208000 137endif --- 44 unchanged lines hidden (view full) --- 182machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell 183machine-$(CONFIG_ARCH_PXA) += pxa 184machine-$(CONFIG_ARCH_QCOM) += qcom 185machine-$(CONFIG_ARCH_REALVIEW) += realview 186machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip 187machine-$(CONFIG_ARCH_RPC) += rpc 188machine-$(CONFIG_ARCH_S3C24XX) += s3c24xx 189machine-$(CONFIG_ARCH_S3C64XX) += s3c64xx |
193machine-$(CONFIG_ARCH_S5P64X0) += s5p64x0 194machine-$(CONFIG_ARCH_S5PC100) += s5pc100 | |
195machine-$(CONFIG_ARCH_S5PV210) += s5pv210 196machine-$(CONFIG_ARCH_SA1100) += sa1100 197machine-$(CONFIG_ARCH_SHMOBILE) += shmobile 198machine-$(CONFIG_ARCH_SIRF) += prima2 199machine-$(CONFIG_ARCH_SOCFPGA) += socfpga 200machine-$(CONFIG_ARCH_STI) += sti 201machine-$(CONFIG_ARCH_SUNXI) += sunxi 202machine-$(CONFIG_ARCH_TEGRA) += tegra --- 7 unchanged lines hidden (view full) --- 210machine-$(CONFIG_FOOTBRIDGE) += footbridge 211machine-$(CONFIG_PLAT_SPEAR) += spear 212 213# Platform directory name. This list is sorted alphanumerically 214# by CONFIG_* macro name. 215plat-$(CONFIG_ARCH_EXYNOS) += samsung 216plat-$(CONFIG_ARCH_OMAP) += omap 217plat-$(CONFIG_ARCH_S3C64XX) += samsung | 190machine-$(CONFIG_ARCH_S5PV210) += s5pv210 191machine-$(CONFIG_ARCH_SA1100) += sa1100 192machine-$(CONFIG_ARCH_SHMOBILE) += shmobile 193machine-$(CONFIG_ARCH_SIRF) += prima2 194machine-$(CONFIG_ARCH_SOCFPGA) += socfpga 195machine-$(CONFIG_ARCH_STI) += sti 196machine-$(CONFIG_ARCH_SUNXI) += sunxi 197machine-$(CONFIG_ARCH_TEGRA) += tegra --- 7 unchanged lines hidden (view full) --- 205machine-$(CONFIG_FOOTBRIDGE) += footbridge 206machine-$(CONFIG_PLAT_SPEAR) += spear 207 208# Platform directory name. This list is sorted alphanumerically 209# by CONFIG_* macro name. 210plat-$(CONFIG_ARCH_EXYNOS) += samsung 211plat-$(CONFIG_ARCH_OMAP) += omap 212plat-$(CONFIG_ARCH_S3C64XX) += samsung |
213plat-$(CONFIG_ARCH_S5PV210) += samsung |
|
218plat-$(CONFIG_PLAT_IOP) += iop 219plat-$(CONFIG_PLAT_ORION) += orion 220plat-$(CONFIG_PLAT_PXA) += pxa 221plat-$(CONFIG_PLAT_S3C24XX) += samsung | 214plat-$(CONFIG_PLAT_IOP) += iop 215plat-$(CONFIG_PLAT_ORION) += orion 216plat-$(CONFIG_PLAT_PXA) += pxa 217plat-$(CONFIG_PLAT_S3C24XX) += samsung |
222plat-$(CONFIG_PLAT_S5P) += samsung | |
223plat-$(CONFIG_PLAT_VERSATILE) += versatile 224 225ifeq ($(CONFIG_ARCH_EBSA110),y) 226# This is what happens if you forget the IOCS16 line. 227# PCMCIA cards stop working. 228CFLAGS_3c589_cs.o :=-DISA_SIXTEEN_BIT_PERIPHERAL 229export CFLAGS_3c589_cs.o 230endif --- 7 unchanged lines hidden (view full) --- 238else 239MACHINE := 240endif 241ifeq ($(CONFIG_ARCH_MULTIPLATFORM),y) 242MACHINE := 243endif 244 245machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) | 218plat-$(CONFIG_PLAT_VERSATILE) += versatile 219 220ifeq ($(CONFIG_ARCH_EBSA110),y) 221# This is what happens if you forget the IOCS16 line. 222# PCMCIA cards stop working. 223CFLAGS_3c589_cs.o :=-DISA_SIXTEEN_BIT_PERIPHERAL 224export CFLAGS_3c589_cs.o 225endif --- 7 unchanged lines hidden (view full) --- 233else 234MACHINE := 235endif 236ifeq ($(CONFIG_ARCH_MULTIPLATFORM),y) 237MACHINE := 238endif 239 240machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) |
246platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y)) | 241platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) |
247 248ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) 249ifeq ($(KBUILD_SRC),) 250KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) 251else 252KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) 253endif 254endif --- 91 unchanged lines hidden --- | 242 243ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) 244ifeq ($(KBUILD_SRC),) 245KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) 246else 247KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) 248endif 249endif --- 91 unchanged lines hidden --- |