diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-01 12:11:54 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-18 22:56:06 +0200 |
commit | 9f4a420663419dc13f08a0ce65b93033c6172c69 (patch) | |
tree | 35fb623b24f2c1031b624c83ef6566aa2045fba5 | |
parent | 6dab6add2d8ee80905234b326abc3de11be1d178 (diff) | |
download | u-boot-imx-9f4a420663419dc13f08a0ce65b93033c6172c69.zip u-boot-imx-9f4a420663419dc13f08a0ce65b93033c6172c69.tar.gz u-boot-imx-9f4a420663419dc13f08a0ce65b93033c6172c69.tar.bz2 |
new default shortcut to config & build a board
The majority of the time that I build things in U-Boot, I want to just
build for the board. I don't make board config tweaks after selecting the
board. So add a new pattern rule that allows people to combine two steps
in one go:
`make foo_config && make` => `make foo`
This shouldn't conflict with any existing make rules as the pattern rule
is used only the rule doesn't already exist.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -501,6 +501,9 @@ unconfig: $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \ $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep +%: %_config + $(MAKE) + #======================================================================== # PowerPC #======================================================================== @@ -3542,10 +3545,6 @@ BFIN_BOARDS += ibf-dsp561 $(BFIN_BOARDS:%=%_config) : unconfig @$(MKCONFIG) $(@:_config=) blackfin blackfin $(@:_config=) -$(BFIN_BOARDS): - $(MAKE) $@_config - $(MAKE) - #======================================================================== # AVR32 #======================================================================== |