[U-Boot] [PATCH] sunxi: make mksunxiboot available to tools-only builds
Ian Campbell
ijc at hellion.org.uk
Tue Jul 29 10:31:27 CEST 2014
On Tue, 2014-07-29 at 09:30 +0100, Ian Campbell wrote:
> Any opinions on those two options? FWIW the first option would end up
> looking something like below, I've not prototyped the second one yet.
Hit the wrong button, oops. Here's the scratch patch:
diff --git a/Makefile b/Makefile
index ca212b5..01c3416 100644
- - a/Makefile
+ + b/Makefile
@@ -417,7 +417,7 @@ timestamp_h := include/generated/timestamp_autogenerated.h
no-dot-config-targets := clean clobber mrproper distclean \
help %docs check% coccicheck \
- ubootversion backup tools-only
+ ubootversion backup tools-only tools-all-only
config-targets := 0
mixed-targets := 0
@@ -1186,6 +1186,10 @@ env: scripts_basic
tools-only: scripts_basic $(version_h) $(timestamp_h)
$(Q)$(MAKE) $(build)=tools
+tools-all-only: export HOST_TOOLS_ALL=y
+tools-all-only: scripts_basic $(version_h) $(timestamp_h)
+ $(Q)$(MAKE) $(build)=tools
+
tools-all: export HOST_TOOLS_ALL=y
tools-all: env tools ;
diff --git a/tools/Makefile b/tools/Makefile
index 61b2048..0100af3 100644
- - a/tools/Makefile
+ + b/tools/Makefile
@@ -13,6 +13,7 @@ CONFIG_CMD_NET = y
CONFIG_XWAY_SWAP_BYTES = y
CONFIG_NETCONSOLE = y
CONFIG_SHA1_CHECK_UB_IMG = y
+CONFIG_SUNXI = y
endif
subdir-$(HOST_TOOLS_ALL) += easylogo
More information about the U-Boot
mailing list