The cache-v7 code uses assembler instructions which do not exist on before v7, so explicitely pass armv7-a to this file to make the compiler happy. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
obj-y += cpu.o
|
|
obj-$(CONFIG_ARM_EXCEPTIONS) += exceptions.o
|
|
obj-$(CONFIG_ARM_EXCEPTIONS) += interrupts.o
|
|
obj-y += start.o setupc.o
|
|
|
|
#
|
|
# Any variants can be called as start-armxyz.S
|
|
#
|
|
obj-$(CONFIG_CMD_ARM_CPUINFO) += cpuinfo.o
|
|
obj-$(CONFIG_CMD_ARM_MMUINFO) += mmuinfo.o
|
|
obj-$(CONFIG_OFDEVICE) += dtb.o
|
|
obj-$(CONFIG_MMU) += mmu.o cache.o mmu-early.o
|
|
pbl-$(CONFIG_MMU) += mmu-early.o
|
|
obj-$(CONFIG_CPU_32v4T) += cache-armv4.o
|
|
pbl-$(CONFIG_CPU_32v4T) += cache-armv4.o
|
|
obj-$(CONFIG_CPU_32v5) += cache-armv5.o
|
|
pbl-$(CONFIG_CPU_32v5) += cache-armv5.o
|
|
obj-$(CONFIG_CPU_32v6) += cache-armv6.o
|
|
pbl-$(CONFIG_CPU_32v6) += cache-armv6.o
|
|
AFLAGS_cache-armv7.o :=-Wa,-march=armv7-a
|
|
obj-$(CONFIG_CPU_32v7) += cache-armv7.o
|
|
AFLAGS_pbl-cache-armv7.o :=-Wa,-march=armv7-a
|
|
pbl-$(CONFIG_CPU_32v7) += cache-armv7.o
|
|
obj-$(CONFIG_CACHE_L2X0) += cache-l2x0.o
|
|
|
|
pbl-y += setupc.o
|
|
pbl-$(CONFIG_PBL_SINGLE_IMAGE) += start-pbl.o
|
|
pbl-$(CONFIG_PBL_MULTI_IMAGES) += uncompress.o
|
|
|
|
obj-y += common.o cache.o
|
|
pbl-y += common.o cache.o
|
|
|
|
lwl-y += lowlevel.o
|