Commit ddda4ba1 authored by Tristan Gingold's avatar Tristan Gingold

CI: define SIMULATION macro.

parent 9874030c
...@@ -17,7 +17,7 @@ wrtd-system: $(FW_BRAM) ...@@ -17,7 +17,7 @@ wrtd-system: $(FW_BRAM)
$(FW_BRAM): $(FW_BRAM):
$(MAKE) -C $(@D) defconfig $(MAKE) -C $(@D) defconfig
$(MAKE) -C $(@D) $(notdir $@) $(MAKE) -C $(@D) $(notdir $@) EXTRA2_CFLAGS=-DSIMULATION
$(TB_DIRS): $(TB_DIRS):
@echo $@ @echo $@
......
...@@ -9,8 +9,8 @@ OUTPUT = wrtd-rt-fd ...@@ -9,8 +9,8 @@ OUTPUT = wrtd-rt-fd
TRTL ?= ../../../dependencies/mock-turtle/ TRTL ?= ../../../dependencies/mock-turtle/
TRTL_SW = $(TRTL)/software TRTL_SW = $(TRTL)/software
EXTRA_CFLAGS += -I../../include EXTRA2_CFLAGS= # To be set by user on make line
EXTRA_CFLAGS += -I../common -Werror EXTRA_CFLAGS += -I../../include -I../common -Werror $(EXTRA2_CFLAGS)
vpath %.c ../ vpath %.c ../
......
...@@ -10,8 +10,8 @@ OUTPUT = wrtd-rt-tdc ...@@ -10,8 +10,8 @@ OUTPUT = wrtd-rt-tdc
TRTL ?= ../../../dependencies/mock-turtle/ TRTL ?= ../../../dependencies/mock-turtle/
TRTL_SW = $(TRTL)/software TRTL_SW = $(TRTL)/software
EXTRA_CFLAGS += -I../../include EXTRA2_CFLAGS= # To be set by user on make line
EXTRA_CFLAGS += -I../common EXTRA_CFLAGS += -I../../include -I../common -Werror $(EXTRA2_CFLAGS)
vpath %.c ../ vpath %.c ../
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment