add configuration template system

This commit is contained in:
Daniel Micay 2022-01-09 11:08:56 -05:00
parent 052b756840
commit b3372e1576
5 changed files with 85 additions and 33 deletions

View file

@ -1,6 +1,10 @@
CONFIG_SLAB_CANARY := true
CONFIG_EXTENDED_SIZE_CLASSES := true
ifneq ($(VARIANT),)
$(error testing non-default variants not yet supported)
endif
ifeq (,$(filter $(CONFIG_SLAB_CANARY),true false))
$(error CONFIG_SLAB_CANARY must be true or false)
endif

View file

@ -13,7 +13,7 @@ CPPFLAGS += -D_GNU_SOURCE \
LDLIBS := -lhardened_malloc
LDFLAGS := -Wl,-L$(dir)../../,-R,$(dir)../../
LDFLAGS := -Wl,-L$(dir)../../out,-R,$(dir)../../out
EXECUTABLES := \
double_free_large \