xref: /OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# (C) Copyright 2000-2006
3*4882a593Smuzhiyun# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# SPDX-License-Identifier:	GPL-2.0+
6*4882a593Smuzhiyun#
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunextra-y	= start.o
9*4882a593Smuzhiyunobj-y	= cpu.o cache.o
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunifdef	CONFIG_SPL_BUILD
12*4882a593Smuzhiyunifdef	CONFIG_SPL_NO_CPU_SUPPORT_CODE
13*4882a593Smuzhiyunextra-y	:=
14*4882a593Smuzhiyunendif
15*4882a593Smuzhiyunendif
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunobj-$(CONFIG_ARMADA100) += armada100/
18*4882a593Smuzhiyunobj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
19*4882a593Smuzhiyunobj-$(CONFIG_MX25) += mx25/
20*4882a593Smuzhiyunobj-$(CONFIG_MX27) += mx27/
21*4882a593Smuzhiyunobj-$(if $(filter mxs,$(SOC)),y) += mxs/
22*4882a593Smuzhiyunobj-$(if $(filter spear,$(SOC)),y) += spear/
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun# some files can only build in ARM or THUMB2, not THUMB1
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
27*4882a593Smuzhiyunifndef CONFIG_HAS_THUMB2
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunCFLAGS_cpu.o := -marm
30*4882a593SmuzhiyunCFLAGS_cache.o := -marm
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunendif
33*4882a593Smuzhiyunendif
34