diff options
| author | Masahiro Yamada <[email protected]> | 2014-03-31 17:33:51 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2014-03-31 11:47:51 -0400 |
| commit | 4642e0022b648968c994551b087a780327079883 (patch) | |
| tree | a34cb855f7c855db94a360037f68a993f43d3c82 /Makefile | |
| parent | b4722fefd065b64fad1f32248574b3d8b3a63513 (diff) | |
Kbuild: allow building tools without board configuration
Prior to Kbuild, U-Boot could build under tools/ directory
withour configuring for a specific board.
That feature was lost when switching to Kbuild.
This patch revives it again by adding a make target "tools-only".
Usage:
$ make tools-only
Neither board configuration nor cross compiler are required to
build host tools.
Signed-off-by: Masahiro Yamada <[email protected]>
Suggested-by: Alexey Brodkin <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Acked-by: Alexey Brodkin <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -409,7 +409,7 @@ timestamp_h := include/generated/timestamp_autogenerated.h no-dot-config-targets := clean clobber mrproper distclean \ help %docs check% coccicheck \ - ubootversion backup + ubootversion backup tools-only config-targets := 0 mixed-targets := 0 @@ -1128,6 +1128,9 @@ checkarmreloc: u-boot env: scripts_basic $(Q)$(MAKE) $(build)=tools/$@ +tools-only: scripts_basic $(version_h) $(timestamp_h) + $(Q)$(MAKE) $(build)=tools + tools-all: export HOST_TOOLS_ALL=y tools-all: env tools ; |
