Commit 4075c78d authored by Nishanth Menon's avatar Nishanth Menon

[Makefile] squash build error message when git is not available

Typical example is when building a tarball, error message "/bin/sh: 1:
git: not found" is seen. we can just dump that message.
Reported-by: default avatarRobert C Nelson <robertcnelson@gmail.com>
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
parent 48d17cdb
...@@ -402,7 +402,7 @@ builddate.c: $(ALLOBJECTS) ...@@ -402,7 +402,7 @@ builddate.c: $(ALLOBJECTS)
@echo 'char *builddate="'`date`'";' > builddate.c @echo 'char *builddate="'`date`'";' > builddate.c
version.c: $(ALLOBJECTS) version.c: $(ALLOBJECTS)
@echo 'char *omapconf_version="'`git describe --dirty||echo "$(VERSION_MAJOR).$(VERSION_MINOR)-nogit"`'";' > version.c @echo 'char *omapconf_version="'`git describe --dirty 2>/dev/null||echo "$(VERSION_MAJOR).$(VERSION_MINOR)-nogit"`'";' > version.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment