1# SPDX-License-Identifier: GPL-2.0+ 2# 3# (C) Copyright 2000-2006 4# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5 6extra-y = start.o 7obj-y = cpu.o cache.o 8 9ifdef CONFIG_SPL_BUILD 10ifdef CONFIG_SPL_NO_CPU_SUPPORT_CODE 11extra-y := 12endif 13endif 14 15obj-$(CONFIG_ARMADA100) += armada100/ 16obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/ 17obj-$(CONFIG_MX25) += mx25/ 18obj-$(CONFIG_MX27) += mx27/ 19obj-$(if $(filter mxs,$(SOC)),y) += mxs/ 20obj-$(if $(filter spear,$(SOC)),y) += spear/ 21 22# some files can only build in ARM or THUMB2, not THUMB1 23 24ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD 25ifndef CONFIG_HAS_THUMB2 26 27CFLAGS_cpu.o := -marm 28CFLAGS_cache.o := -marm 29 30endif 31endif 32