[U-Boot] [PATCH 31/34] Makefile: Do not pass MTD_VERSION from the top Makefile
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Dec 11 12:01:53 CET 2013
$(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 at jp.panasonic.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index d89f689..40f351e 100644
--- a/Makefile
+++ b/Makefile
@@ -1060,7 +1060,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
More information about the U-Boot
mailing list