mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-20 02:03:09 +00:00
b3d9a8b185
Following the example of most other SoCs in arch/$(ARCH)/cpu/$(CPU)/$(SOC)
move the lpc32xx code from arch/arm/cpu/arm926ejs/lpc32xx to
arch/arm/mach-lpc32xx.
Following the checklist from
commit 01f1445630
("ARM: prepare for moving SoC sources into mach-*"):
[1] move files from arch/arm/cpu/arm926ejs/lpc32xx to arch/arm/mach-lpx32xx
[2] add machine entry to arch/arm/Makefile
[3] remove "obj-y += ..." from arch/arm/cpu/arm926ejs/Makefile
[4] fix the Kconfig file path in arch/arm/Kconfig
[5] (no MAINTAINERS update)
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
30 lines
601 B
Makefile
30 lines
601 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
extra-y = start.o
|
|
obj-y = cpu.o cache.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
ifdef CONFIG_SPL_NO_CPU_SUPPORT
|
|
extra-y :=
|
|
endif
|
|
endif
|
|
|
|
obj-$(CONFIG_ARMADA100) += armada100/
|
|
obj-$(CONFIG_MX25) += mx25/
|
|
obj-$(CONFIG_MX27) += mx27/
|
|
obj-$(if $(filter mxs,$(SOC)),y) += mxs/
|
|
obj-$(if $(filter spear,$(SOC)),y) += spear/
|
|
|
|
# some files can only build in ARM or THUMB2, not THUMB1
|
|
|
|
ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
|
|
ifndef CONFIG_HAS_THUMB2
|
|
|
|
CFLAGS_cpu.o := -marm
|
|
CFLAGS_cache.o := -marm
|
|
|
|
endif
|
|
endif
|