Fix leftover from make prepare-* which went unnoticed

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Pedro Pombeiro 2019-03-26 14:06:24 +01:00 committed by Pedro Pombeiro
parent 7cb1919f99
commit 581d27756e
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1

View File

@ -200,7 +200,7 @@ _unknown-startdev-target-%:
_startdev-%: _ensure-in-nix-shell _startdev-%: _ensure-in-nix-shell
$(eval SYSTEM := $(word 2, $(subst -, , $@))) $(eval SYSTEM := $(word 2, $(subst -, , $@)))
$(eval DEVICE := $(word 3, $(subst -, , $@))) $(eval DEVICE := $(word 3, $(subst -, , $@)))
$(MAKE) prepare-${SYSTEM} || $(MAKE) _unknown-startdev-target-$@ scripts/prepare-for-platform.sh ${SYSTEM} || $(MAKE) _unknown-startdev-target-$@
@ if [ -z "$(DEVICE)" ]; then \ @ if [ -z "$(DEVICE)" ]; then \
$(MAKE) watch-$(SYSTEM) || $(MAKE) _unknown-startdev-target-$@; \ $(MAKE) watch-$(SYSTEM) || $(MAKE) _unknown-startdev-target-$@; \
else \ else \