1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/ssp/Makefile

18 lines
542 B
Makefile
Raw Normal View History

# module name is used below, thus set explicitly
MODULE = ssp
ifeq (,$(RIOT_CI_BUILD))
# random canary value newly generated on each build
CANARY := $(shell $(RIOTTOOLS)/randhex/randhex.py)
else
# hardcoded canary value to not break CI test cache
CANARY := 0xdeadbeef
endif
# pass the generated canary using a macro and mark the object file using
# it as PHONY to ensure that a new canary value is used on each build.
CFLAGS += -DSTACK_CHK_GUARD=$(CANARY)U
.PHONY: $(BINDIR)/$(MODULE)/$(MODULE).o
2016-12-04 11:04:40 +01:00
include $(RIOTBASE)/Makefile.base