]> git.sur5r.net Git - u-boot/commit
Kbuild: introduce Makefile in arch/$ARCH/
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 21 Nov 2014 22:51:33 +0000 (23:51 +0100)
committerTom Rini <trini@ti.com>
Mon, 8 Dec 2014 14:35:45 +0000 (09:35 -0500)
commite19db555b4ac79dafa04cc5ff98bdbff01e19388
tree37b107cf8d2a3e6f25c07cd481a0868ecd9e391c
parenteb8a4fe0dc5db5f586ae26d04aa132c76535b27c
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 <daniel.schwierzeck@gmail.com>
Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
17 files changed:
Makefile
arch/arc/Makefile [new file with mode: 0644]
arch/arm/Makefile [new file with mode: 0644]
arch/avr32/Makefile [new file with mode: 0644]
arch/blackfin/Makefile [new file with mode: 0644]
arch/m68k/Makefile [new file with mode: 0644]
arch/microblaze/Makefile [new file with mode: 0644]
arch/mips/Makefile [new file with mode: 0644]
arch/nds32/Makefile [new file with mode: 0644]
arch/nios2/Makefile [new file with mode: 0644]
arch/openrisc/Makefile [new file with mode: 0644]
arch/powerpc/Makefile [new file with mode: 0644]
arch/sandbox/Makefile [new file with mode: 0644]
arch/sh/Makefile [new file with mode: 0644]
arch/sparc/Makefile [new file with mode: 0644]
arch/x86/Makefile [new file with mode: 0644]
scripts/Makefile.spl