2 # SPDX-License-Identifier: GPL-2.0+
5 # Machine directory name. This list is sorted alphanumerically
6 # by CONFIG_* macro name.
7 machine-
$(CONFIG_ARCH_AT91
) += at91
9 machdirs
:= $(patsubst %,arch
/arm
/mach-
%/,$(machine-y
))
13 head-y
:= arch
/arm
/cpu
/$(CPU
)/start.o
15 ifeq ($(CONFIG_SPL_BUILD
),y
)
16 ifneq ($(CONFIG_SPL_START_S_PATH
),)
17 head-y
:= $(CONFIG_SPL_START_S_PATH
:"%"=%)/start.o
21 libs-y
+= arch
/arm
/cpu
/$(CPU
)/
22 libs-y
+= arch
/arm
/cpu
/
23 libs-y
+= arch
/arm
/lib
/
25 ifeq ($(CONFIG_SPL_BUILD
),y
)
26 ifneq (,$(CONFIG_MX23
)$(CONFIG_MX35
)$(filter $(SOC
), mx25 mx27 mx5 mx6 mx31 mx35
))
27 libs-y
+= arch
/arm
/imx-common
/
30 ifneq (,$(filter $(SOC
), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610
))
31 libs-y
+= arch
/arm
/imx-common
/
35 ifneq (,$(filter $(SOC
), armada-xp kirkwood
))
36 libs-y
+= arch
/arm
/mvebu-common
/
40 -include $(machdirs
)/config.mk