Commit 2086ab2b authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: bugfix (my bug) for git submodules

The rule for "git submodule update" was wrong, so the command was
always performed.  This is a pain if you are using commits in the
submodule that are not yet committed in the supermodule. This always
happens during development.

I'm sorry for the inconvienence, and I thank Aurelio for noting this.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 96c787d8
......@@ -131,9 +131,7 @@ tools:
# who didn't read carefully the manual won't get confused
gitmodules:
@test -d ptp-noposix/libposix || echo "Checking out submodules"
@test -d ptp-noposix/libposix || \
git submodule init && git submodule update
@test -d ptp-noposix/libposix || git submodule update --init
# following targets from Makefile.kconfig
......
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