Skip to content
Snippets Groups Projects
Commit 537b725a authored by Kaspar Schleiser's avatar Kaspar Schleiser Committed by GitHub
Browse files

make: introduce RIOT_CI_BUILD (#5162)

parent 96fb9bfb
No related branches found
No related tags found
No related merge requests found
...@@ -204,6 +204,15 @@ ifeq ($(strip $(MCU)),) ...@@ -204,6 +204,15 @@ ifeq ($(strip $(MCU)),)
MCU = $(CPU) MCU = $(CPU)
endif endif
# set some settings useful for continuous integration builds
ifeq ($(RIOT_CI_BUILD),1)
RIOT_VERSION_OVERRIDE:=buildtest
ifneq ($(filter $(BOARD_INSUFFICIENT_MEMORY), $(BOARD)),)
$(info CI-build: skipping link step)
RIOTNOLINK:=1
endif
endif
# if you want to publish the board into the sources as an uppercase #define # if you want to publish the board into the sources as an uppercase #define
BOARDDEF := $(shell echo $(BOARD) | tr 'a-z' 'A-Z' | tr '-' '_') BOARDDEF := $(shell echo $(BOARD) | tr 'a-z' 'A-Z' | tr '-' '_')
CPUDEF := $(shell echo $(CPU) | tr 'a-z' 'A-Z' | tr '-' '_') CPUDEF := $(shell echo $(CPU) | tr 'a-z' 'A-Z' | tr '-' '_')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment