diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 04:03:22 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-21 23:00:08 +0100 |
commit | c7c0d542a199089cf658a7c23c314a5cff248b00 (patch) | |
tree | 82dbae9a8ecaab72b10f256ccd22eb06f1515c01 /Makefile | |
parent | c5a028f085020b60040a2b42966f29b25bd6ee8e (diff) | |
download | u-boot-imx-c7c0d542a199089cf658a7c23c314a5cff248b00.zip u-boot-imx-c7c0d542a199089cf658a7c23c314a5cff248b00.tar.gz u-boot-imx-c7c0d542a199089cf658a7c23c314a5cff248b00.tar.bz2 |
tools: allow people to compile w/out configuring
It's useful to be able to build up the host tools without having to select
a board first. Pretty much all tools in there are config-independent
anyways.
Also add a shortcut "tools-all" to quickly build all host tools that are
actually config-independent to allow for simple test builds.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 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 |