1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

tests/gnrc_ipv6_ext_frag: Set limits pool size if not set by Kconfig

This commit is contained in:
Leandro Lanzieri 2019-12-16 09:57:21 +01:00
parent fe820d8d9d
commit e1e302f8d1

View File

@ -6,7 +6,6 @@ export TAP ?= tap0
CFLAGS += -DOUTPUT=TEXT
CFLAGS += -DTEST_SUITES="gnrc_ipv6_ext_frag"
CFLAGS += -DCONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE=3
ifeq (native,$(BOARD))
TERMFLAGS ?= $(TAP)
@ -48,3 +47,8 @@ ethos:
$(Q)env -u CC -u CFLAGS make -C $(RIOTTOOLS)/ethos
include $(RIOTBASE)/Makefile.include
# Set the pool size for limit objects if not being set by Kconfig
ifndef CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
CFLAGS += -DCONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE=3
endif