Do not allow to 'trick' the platform and board exclude checks

This commit is contained in:
Atis Elsts 2018-12-18 17:14:18 +00:00
parent 9c086d40b1
commit c01d3d7d22
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