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
1 changed files with 2 additions and 0 deletions

View File

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