[U-Boot] [PATCH 0/4] kbuild: descend into SOC directory from CPU directory

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Nov 13 04:28:39 CET 2014


In Kbuild, the build system generally descends into each directory
from its parent directory, but SOC directory is one of the rule
violations.

My motivation of this series is to make further refactoring possible.

You might perhaps wonder if the build system works equivalently
especially with 3/4.
I built all the boards to confirm that no boards are broken.
Moreover, 2/4 thru 4/4 do not change anything, i.e. produce the same
check sums.


Masahiro Yamada (4):
  kbuild: Descend into SOC directory from CPU directory
  x86: use CONFIG_SYS_COREBOOT to descend into coreboot/ directory
  kbuild: use SoC-specific CONFIG to descend into SoC directory
  tegra: do not descend into empty directories

 Makefile                                   |  3 ---
 arch/arm/cpu/arm1136/Makefile              |  3 +++
 arch/arm/cpu/arm1176/Makefile              |  3 +++
 arch/arm/cpu/arm720t/Makefile              |  4 ++++
 arch/arm/cpu/arm920t/Makefile              |  7 +++++++
 arch/arm/cpu/arm926ejs/Makefile            | 15 +++++++++++++++
 arch/arm/cpu/armv7/Makefile                | 25 +++++++++++++++++++++++++
 arch/arm/cpu/armv7/tegra114/Makefile       | 21 ---------------------
 arch/arm/cpu/armv7/tegra124/Makefile       |  9 ---------
 arch/arm/cpu/armv7/tegra30/Makefile        | 21 ---------------------
 arch/arm/cpu/armv8/Makefile                |  2 ++
 arch/avr32/cpu/Makefile                    |  2 ++
 arch/mips/cpu/mips32/Makefile              |  2 ++
 arch/nds32/cpu/n1213/Makefile              |  6 +++---
 arch/x86/cpu/Makefile                      |  2 ++
 arch/x86/cpu/coreboot/Makefile             | 12 ++++++------
 board/davinci/da8xxevm/u-boot-spl-hawk.lds |  2 +-
 scripts/Makefile.spl                       |  3 ---
 18 files changed, 75 insertions(+), 67 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/tegra114/Makefile
 delete mode 100644 arch/arm/cpu/armv7/tegra124/Makefile
 delete mode 100644 arch/arm/cpu/armv7/tegra30/Makefile

-- 
1.9.1



More information about the U-Boot mailing list