]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/Makefile
config: rename CONFIG_MX* to CONFIG_SOC_MX*
[karo-tx-uboot.git] / arch / arm / Makefile
1 #
2 # SPDX-License-Identifier:      GPL-2.0+
3 #
4
5 head-y := arch/arm/cpu/$(CPU)/start.o
6
7 ifeq ($(CONFIG_SPL_BUILD),y)
8 ifneq ($(CONFIG_SPL_START_S_PATH),)
9 head-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o
10 endif
11 endif
12
13 libs-y += arch/arm/cpu/$(CPU)/
14 libs-y += arch/arm/cpu/
15 libs-y += arch/arm/lib/
16
17 ifeq ($(CONFIG_SPL_BUILD),y)
18 ifneq (,$(CONFIG_SOC_MX23)$(CONFIG_SOC_MX35)$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35))
19 libs-y += arch/arm/imx-common/
20 endif
21 else
22 ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610))
23 libs-y += arch/arm/imx-common/
24 endif
25 endif
26
27 ifneq (,$(filter $(SOC), armada-xp kirkwood))
28 libs-y += arch/arm/mvebu-common/
29 endif