u-boot-brain/arch/arm/cpu/armv7
Masahiro Yamada 9e4140329e kbuild: change out-of-tree build
This commit changes the working directory
where the build process occurs.

Before this commit, build process occurred under the source
tree for both in-tree and out-of-tree build.

That's why we needed to add $(obj) prefix to all generated
files in makefiles like follows:
  $(obj)u-boot.bin:  $(obj)u-boot

Here, $(obj) is empty for in-tree build, whereas it points
to the output directory for out-of-tree build.

And our old build system changes the current working directory
with "make -C <sub-dir>" syntax when descending into the
sub-directories.

On the other hand, Kbuild uses a different idea
to handle out-of-tree build and directory descending.

The build process of Kbuild always occurs under the output tree.
When "O=dir/to/store/output/files" is given, the build system
changes the current working directory to that directory and
restarts the make.

Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
syntax for descending into sub-directories.
(We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
This means the current working directory is always the top
of the output directory.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Gerhard Sittig <gsi@denx.de>
2014-02-19 11:07:50 -05:00
..
am33xx kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
at91 arm: atmel: sama5d3: correct the ID for DBGU and PIT 2013-12-01 22:38:39 +01:00
exynos exynos: clock: use the clear and set bits macros. 2014-02-10 16:01:44 +09:00
highbank ARM: highbank: convert to common timer code 2013-11-04 11:08:10 -05:00
mx5 arm: mx5: Add fuse supply enable in fsl_iim 2014-01-03 15:44:06 +01:00
mx6 mx6: Revert "mx6: soc: Disable VDDPU regulator" 2014-01-17 10:16:48 +01:00
omap3 kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
omap4 kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
omap5 kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
omap-common ARM: O5/dra7xx: Add SATA boot support 2014-02-19 10:47:45 -05:00
rmobile Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-12-10 22:23:59 +01:00
s5p-common armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
s5pc1xx armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
socfpga kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
tegra20 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra30 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra114 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
tegra124 ARM: tegra: Add CPU (armv7) files for Tegra124 2014-02-03 09:46:46 -07:00
tegra-common armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
u8500 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
vf610 armv7: convert makefiles to Kbuild style 2013-10-31 12:53:39 -04:00
zynq zynq: Fix elf header generation 2014-02-13 15:33:00 +01:00
cache_v7.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
config.mk kbuild: change out-of-tree build 2014-02-19 11:07:50 -05:00
cpu.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lowlevel_init.S arm: use canonical sub mnemonic 2014-01-14 12:38:47 +01:00
Makefile arm: atmel: sama5d3: spl boot from fat fs SD card 2013-12-01 22:38:51 +01:00
nonsec_virt.S ARM: align MVBAR on 32 byte boundary 2013-12-06 21:03:35 +01:00
start.S Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
syslib.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
virt-v7.c ARM: virtualization: replace verbose license with SPDX identifier 2013-10-07 08:21:13 -04:00