From e19db555b4ac79dafa04cc5ff98bdbff01e19388 Mon Sep 17 00:00:00 2001 From: Daniel Schwierzeck Date: Fri, 21 Nov 2014 23:51:33 +0100 Subject: Kbuild: introduce Makefile in arch/$ARCH/ 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 Acked-by: Masahiro Yamada --- arch/microblaze/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/microblaze/Makefile (limited to 'arch/microblaze') diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile new file mode 100644 index 0000000000..ae4adc29c4 --- /dev/null +++ b/arch/microblaze/Makefile @@ -0,0 +1,8 @@ +# +# SPDX-License-Identifier: GPL-2.0+ +# + +head-y := arch/microblaze/cpu/start.o + +libs-y += arch/microblaze/cpu/ +libs-y += arch/microblaze/lib/ -- cgit v1.2.1