Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
[build] Fix regression the make update no longer works (#1863)
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
  • Loading branch information
Jimmy Huang authored and grgustaf committed Apr 9, 2018
1 parent fca27c0 commit d5d5540
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -320,12 +320,13 @@ analyze: $(JS)
# Update dependency repos
.PHONY: update
update: .gitmodules
@git submodule update --init --recursive;

${JERRY_BASE}/CMakeLists.txt:
@if ! [ -f ${JERRY_BASE}/CMakeLists.txt ]; then \
git submodule update --init --recursive; \
fi

${JERRY_BASE}/CMakeLists.txt: update

# set up prj.conf file
-.PHONY: setup
setup: ${JERRY_BASE}/CMakeLists.txt
Expand Down

0 comments on commit d5d5540

Please sign in to comment.