xref: /rk3399_rockchip-uboot/arch/arm/Makefile (revision e19db555b4ac79dafa04cc5ff98bdbff01e19388)
1*e19db555SDaniel Schwierzeck#
2*e19db555SDaniel Schwierzeck# SPDX-License-Identifier:	GPL-2.0+
3*e19db555SDaniel Schwierzeck#
4*e19db555SDaniel Schwierzeck
5*e19db555SDaniel Schwierzeckhead-y := arch/arm/cpu/$(CPU)/start.o
6*e19db555SDaniel Schwierzeck
7*e19db555SDaniel Schwierzeckifeq ($(CONFIG_SPL_BUILD),y)
8*e19db555SDaniel Schwierzeckifneq ($(CONFIG_SPL_START_S_PATH),)
9*e19db555SDaniel Schwierzeckhead-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o
10*e19db555SDaniel Schwierzeckendif
11*e19db555SDaniel Schwierzeckendif
12*e19db555SDaniel Schwierzeck
13*e19db555SDaniel Schwierzecklibs-y += arch/arm/cpu/$(CPU)/
14*e19db555SDaniel Schwierzecklibs-y += arch/arm/cpu/
15*e19db555SDaniel Schwierzecklibs-y += arch/arm/lib/
16*e19db555SDaniel Schwierzeck
17*e19db555SDaniel Schwierzeckifeq ($(CONFIG_SPL_BUILD),y)
18*e19db555SDaniel Schwierzeckifneq (,$(CONFIG_MX23)$(CONFIG_MX35)$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35))
19*e19db555SDaniel Schwierzecklibs-y += arch/arm/imx-common/
20*e19db555SDaniel Schwierzeckendif
21*e19db555SDaniel Schwierzeckelse
22*e19db555SDaniel Schwierzeckifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610))
23*e19db555SDaniel Schwierzecklibs-y += arch/arm/imx-common/
24*e19db555SDaniel Schwierzeckendif
25*e19db555SDaniel Schwierzeckendif
26*e19db555SDaniel Schwierzeck
27*e19db555SDaniel Schwierzeckifneq (,$(filter $(SOC), armada-xp kirkwood))
28*e19db555SDaniel Schwierzecklibs-y += arch/arm/mvebu-common/
29*e19db555SDaniel Schwierzeckendif
30