Fix make startdev-desktop target

It was invoking `watch-desktop-` target

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Pedro Pombeiro 2018-11-29 17:59:05 +01:00 committed by Pedro Pombeiro
parent 9c67aab2c9
commit 8345a0e8e9
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 5 additions and 1 deletions

View File

@ -213,4 +213,8 @@ startdev-%:
$(eval SYSTEM := $(word 2, $(subst -, , $@))) $(eval SYSTEM := $(word 2, $(subst -, , $@)))
$(eval DEVICE := $(word 3, $(subst -, , $@))) $(eval DEVICE := $(word 3, $(subst -, , $@)))
${MAKE} prepare-${SYSTEM} ${MAKE} prepare-${SYSTEM}
${MAKE} watch-$(SYSTEM)-$(DEVICE) if [ -z "$(DEVICE)" ]; then \
${MAKE} watch-$(SYSTEM); \
else \
${MAKE} watch-$(SYSTEM)-$(DEVICE); \
fi