From: Masahiro Yamada Date: Tue, 4 Feb 2014 08:24:38 +0000 (+0900) Subject: Makefile: Do not pass MTD_VERSION from the top Makefile X-Git-Tag: v2014.04-rc1~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f76e984170435e794c84595cbd3883893149fb9;p=u-boot Makefile: Do not pass MTD_VERSION from the top Makefile $(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 --- diff --git a/Makefile b/Makefile index ec5881bffc..e09f853387 100644 --- 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