diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-04 17:24:18 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 11:07:50 -0500 |
commit | bf4b3de1013c1643ffb8f071292c0f0eabb265c3 (patch) | |
tree | 6076ce8b6f342fedcd3c64c26a63d7055f579188 /spl | |
parent | ceec4c8746567a0be70147f2c6f25e767347b0a0 (diff) | |
download | u-boot-imx-bf4b3de1013c1643ffb8f071292c0f0eabb265c3.zip u-boot-imx-bf4b3de1013c1643ffb8f071292c0f0eabb265c3.tar.gz u-boot-imx-bf4b3de1013c1643ffb8f071292c0f0eabb265c3.tar.bz2 |
kbuild: Use Kbuild.include
This commit adjusts some files to use Kbuild.include.
- Use cc-option defined in Kbuild.include
(Delete cc-option in config.mk)
- Use cc-version defined in
(Delete cc-version in config.mk)
- Move binutils-version and dtc-version to Kbuild.include
by analogy to cc-version
This commit also adds srctree (same as SRCTREE)
to use Kbuild scripts.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'spl')
-rw-r--r-- | spl/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spl/Makefile b/spl/Makefile index 5339338..f273015 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -14,6 +14,8 @@ # Based on top-level Makefile. # +include $(srctree)/scripts/Kbuild.include + CONFIG_SPL_BUILD := y export CONFIG_SPL_BUILD @@ -127,8 +129,6 @@ ifeq ($(wildcard $(LDSCRIPT)),) $(error could not find linker script) endif -build := -f $(TOPDIR)/scripts/Makefile.build -C - # Special flags for CPP when processing the linker script. # Pass the version down so we can handle backwards compatibility # on the fly. |