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>
Showing
- Makefile 1 addition, 17 deletionsMakefile
- arch/arc/Makefile 8 additions, 0 deletionsarch/arc/Makefile
- arch/arm/Makefile 29 additions, 0 deletionsarch/arm/Makefile
- arch/avr32/Makefile 8 additions, 0 deletionsarch/avr32/Makefile
- arch/blackfin/Makefile 8 additions, 0 deletionsarch/blackfin/Makefile
- arch/m68k/Makefile 8 additions, 0 deletionsarch/m68k/Makefile
- arch/microblaze/Makefile 8 additions, 0 deletionsarch/microblaze/Makefile
- arch/mips/Makefile 8 additions, 0 deletionsarch/mips/Makefile
- arch/nds32/Makefile 8 additions, 0 deletionsarch/nds32/Makefile
- arch/nios2/Makefile 8 additions, 0 deletionsarch/nios2/Makefile
- arch/openrisc/Makefile 8 additions, 0 deletionsarch/openrisc/Makefile
- arch/powerpc/Makefile 11 additions, 0 deletionsarch/powerpc/Makefile
- arch/sandbox/Makefile 8 additions, 0 deletionsarch/sandbox/Makefile
- arch/sh/Makefile 8 additions, 0 deletionsarch/sh/Makefile
- arch/sparc/Makefile 8 additions, 0 deletionsarch/sparc/Makefile
- arch/x86/Makefile 12 additions, 0 deletionsarch/x86/Makefile
- scripts/Makefile.spl 1 addition, 22 deletionsscripts/Makefile.spl
arch/arc/Makefile
0 → 100644
arch/arm/Makefile
0 → 100644
arch/avr32/Makefile
0 → 100644
arch/blackfin/Makefile
0 → 100644
arch/m68k/Makefile
0 → 100644
arch/microblaze/Makefile
0 → 100644
arch/mips/Makefile
0 → 100644
arch/nds32/Makefile
0 → 100644
arch/nios2/Makefile
0 → 100644
arch/openrisc/Makefile
0 → 100644
arch/powerpc/Makefile
0 → 100644
arch/sandbox/Makefile
0 → 100644
arch/sh/Makefile
0 → 100644
arch/sparc/Makefile
0 → 100644
arch/x86/Makefile
0 → 100644
Please register or sign in to comment