]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Makefile: Do not pass MTD_VERSION from the top Makefile
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:38 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:10:04 +0000 (11:10 -0500)
$(MTD_VERSION) is used in tools/env/Makefile

If you specify a variable at a command line like:
  $ make MTD_VERSION=old env
or specify it thru an envrionment variable like:
  $ export MTD_VERSION=old
  $ make env
it is inherited to the sub-make too.
We do not need to pass it from the top Makefile explicitely.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile

index ec5881bffcc445e9cbd61836762b2bd9de02e8ef..e09f853387749cdb49b4c03ddf398aaa270790c3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1093,7 +1093,7 @@ $(TIMESTAMP_FILE):
                @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
 
 easylogo env gdb:
-       $(Q)$(MAKE) $(build)=tools/$@ MTD_VERSION=${MTD_VERSION}
+       $(Q)$(MAKE) $(build)=tools/$@
 
 gdbtools: gdb