mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 12:45:42 +00:00
e19db555b4
Introduce a Makefile under arch/$ARCH/ and include it in the top Makefile (similar to Linux kernel). This allows further refactoringi like moving architecture-specific code out of global makefiles, deprecating config variables (CPU, CPUDIR, SOC) or deprecating arch/$ARCH/config.mk. In contrary to Linux kernel, U-Boot defines the ARCH variable by Kconfig, thus the arch Makefile can only included conditionally after the top config.mk. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
11 lines
294 B
Makefile
11 lines
294 B
Makefile
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
head-y := arch/powerpc/cpu/$(CPU)/start.o
|
|
head-$(CONFIG_4xx) += arch/powerpc/cpu/ppc4xx/resetvec.o
|
|
head-$(CONFIG_MPC85xx) += arch/powerpc/cpu/mpc85xx/resetvec.o
|
|
|
|
libs-y += arch/powerpc/cpu/$(CPU)/
|
|
libs-y += arch/powerpc/cpu/
|
|
libs-y += arch/powerpc/lib/
|