From: Masahiro Yamada Date: Wed, 18 Dec 2013 15:17:49 +0900 Subject: [U-Boot] [PATCH v2 31/35] Makefile: Do not pass MTD_VERSION from the top Makefile In-Reply-To: <1387347473-29146-1-git-send-email-yamada.m@jp.panasonic.com> References: <1387347473-29146-1-git-send-email-yamada.m@jp.panasonic.com> Message-ID: <1387347473-29146-32-git-send-email-yamada.m@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de $(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 --- Changes in v2: None Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b1fc4ad..31b6ebe 100644 --- a/Makefile +++ b/Makefile @@ -1068,7 +1068,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 -- 1.8.3.2