Moved STM32W_CPUREV to the relevant compile regression test

This commit is contained in:
Niclas Finne 2015-10-27 17:26:08 +01:00
parent 2dd75d8384
commit 43d26d9d83
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TOOLSDIR=../../tools
EXAMPLES = \
hello-world/econotag \
hello-world/mbxxx \
hello-world/mbxxx:STM32W_CPUREV=CC \
ipv6/rpl-border-router/econotag \
er-rest-example/econotag \
webserver-ipv6/econotag \

View File

@ -42,7 +42,6 @@ get_target_vars = $(wordlist 2,15,$(subst :, ,$1))
define dooneexample
@echo Building example $(3): $(1) for target $(2)
@((cd $(EXAMPLESDIR)/$(1); \
export STM32W_CPUREV=CC; \
make $(4) TARGET=$(2) clean && make $(4) TARGET=$(2) WERROR=1) > \
$(3)-$(subst /,-,$(1))$(2).report 2>&1 && \
(echo $(1) $(2): OK | tee $(3)-$(subst /,-,$(1))$(2).summary) || \