Commit 3f76e984170435e794c84595cbd3883893149fb9

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 656de6b819

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 <yamada.m@jp.panasonic.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1093,7 +1093,7 @@
1093 1093 @cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
1094 1094  
1095 1095 easylogo env gdb:
1096   - $(Q)$(MAKE) $(build)=tools/$@ MTD_VERSION=${MTD_VERSION}
  1096 + $(Q)$(MAKE) $(build)=tools/$@
1097 1097  
1098 1098 gdbtools: gdb
1099 1099