Merge pull request #806 from atiselsts/bugfix/platforms-exclude

Do not allow to 'trick' the platform and board exclude checks
This commit is contained in:
George Oikonomou 2019-01-10 03:41:53 +02:00 committed by GitHub
commit 5a974a21ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -478,6 +478,8 @@ ifeq ($(PLATFORM_ACTION),skip)
# Skip this target. # Skip this target.
$(CONTIKI_PROJECT): $(CONTIKI_PROJECT):
@echo "Skipping $@: not for the '$(TARGET)/$(BOARD)' platform!" @echo "Skipping $@: not for the '$(TARGET)/$(BOARD)' platform!"
%.$(TARGET):
@echo "Skipping $@: not for the '$(TARGET)/$(BOARD)' platform!"
else else
# Build this target. # Build this target.
# Match-anything pattern rule to allow the project makefiles to # Match-anything pattern rule to allow the project makefiles to