mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
unify toplevel tools targets
Most tool subdirs do not rely on a configured tree, so move those targets out of the config checks and unify them in the process. Also add an easylogo target so people can easily build that. Also add these new tool targets to the 'tools-all' target. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
8e0ec82eb4
commit
0358df427f
1 changed files with 11 additions and 12 deletions
23
Makefile
23
Makefile
|
@ -404,14 +404,8 @@ $(TIMESTAMP_FILE):
|
||||||
@LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
|
@LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"' > $@
|
||||||
@LC_ALL=C date +'#define U_BOOT_TIME "%T"' >> $@
|
@LC_ALL=C date +'#define U_BOOT_TIME "%T"' >> $@
|
||||||
|
|
||||||
gdbtools:
|
|
||||||
$(MAKE) -C tools/gdb all || exit 1
|
|
||||||
|
|
||||||
updater:
|
updater:
|
||||||
$(MAKE) -C tools/updater all || exit 1
|
$(MAKE) -C tools/updater all
|
||||||
|
|
||||||
env:
|
|
||||||
$(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
|
|
||||||
|
|
||||||
# Explicitly make _depend in subdirs containing multiple targets to prevent
|
# Explicitly make _depend in subdirs containing multiple targets to prevent
|
||||||
# parallel sub-makes creating .depend files simultaneously.
|
# parallel sub-makes creating .depend files simultaneously.
|
||||||
|
@ -466,17 +460,22 @@ $(obj)include/autoconf.mk: $(obj)include/config.h
|
||||||
else # !config.mk
|
else # !config.mk
|
||||||
all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
|
all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
|
||||||
$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
|
$(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
|
||||||
$(filter-out tools,$(SUBDIRS)) $(TIMESTAMP_FILE) $(VERSION_FILE) gdbtools \
|
$(filter-out tools,$(SUBDIRS)) $(TIMESTAMP_FILE) $(VERSION_FILE) \
|
||||||
updater env depend dep tags ctags etags cscope $(obj)System.map:
|
updater depend dep tags ctags etags cscope $(obj)System.map:
|
||||||
@echo "System not configured - see README" >&2
|
@echo "System not configured - see README" >&2
|
||||||
@ exit 1
|
@ exit 1
|
||||||
|
|
||||||
tools:
|
tools:
|
||||||
$(MAKE) -C tools
|
$(MAKE) -C $@ all
|
||||||
tools-all:
|
|
||||||
$(MAKE) -C tools HOST_TOOLS_ALL=y
|
|
||||||
endif # config.mk
|
endif # config.mk
|
||||||
|
|
||||||
|
easylogo env gdb:
|
||||||
|
$(MAKE) -C tools/$@ all MTD_VERSION=${MTD_VERSION}
|
||||||
|
gdbtools: gdb
|
||||||
|
|
||||||
|
tools-all: easylogo env gdb
|
||||||
|
$(MAKE) -C tools HOST_TOOLS_ALL=y
|
||||||
|
|
||||||
.PHONY : CHANGELOG
|
.PHONY : CHANGELOG
|
||||||
CHANGELOG:
|
CHANGELOG:
|
||||||
git log --no-merges U-Boot-1_1_5.. | \
|
git log --no-merges U-Boot-1_1_5.. | \
|
||||||
|
|
Loading…
Reference in a new issue