diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | tools/Makefile | 9 |
2 files changed, 16 insertions, 2 deletions
@@ -451,10 +451,15 @@ $(obj)include/autoconf.mk: $(obj)include/config.h else # !config.mk all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \ $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \ -$(SUBDIRS) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools updater env depend \ -dep tags ctags etags cscope $(obj)System.map: +$(filter-out tools,$(SUBDIRS)) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools \ +updater env depend dep tags ctags etags cscope $(obj)System.map: @echo "System not configured - see README" >&2 @ exit 1 + +tools: + $(MAKE) -C tools +tools-all: + $(MAKE) -C tools HOST_TOOLS_ALL=y endif # config.mk .PHONY : CHANGELOG diff --git a/tools/Makefile b/tools/Makefile index 5b8c3c3..d3b1518 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -38,6 +38,15 @@ endif # include $(TOPDIR)/config.mk +# Enable all the config-independent tools +ifneq ($(HOST_TOOLS_ALL),) +CONFIG_LCD_LOGO = y +CONFIG_CMD_NET = y +CONFIG_INCA_IP = y +CONFIG_NETCONSOLE = y +CONFIG_SHA1_CHECK_UB_IMG = y +endif + # Generated executable files BIN_FILES-$(CONFIG_LCD_LOGO) += bmp_logo$(SFX) BIN_FILES-$(CONFIG_VIDEO_LOGO) += bmp_logo$(SFX) |