1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/netdev_test/Makefile
Akshai M 6450d9989e gnrc/pktbuf : Set Kconfig defaults and conditions
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30

22 lines
568 B
Makefile

# These tests hit an assert when used with gnrc_netif, but they exactly for
# testing this netdev simulating framework, so I it's better if the assert is
# ignored.
CFLAGS += -DNDEBUG
include ../Makefile.tests_common
DISABLE_MODULE += auto_init_gnrc_%
USEMODULE += gnrc
USEMODULE += gnrc_neterr
USEMODULE += gnrc_netif
USEMODULE += netdev_eth
USEMODULE += netdev_test
USEMODULE += od
# Set GNRC_PKTBUF_SIZE via CFLAGS if not being set via Kconfig.
ifndef CONFIG_GNRC_PKTBUF_SIZE
CFLAGS += -DCONFIG_GNRC_PKTBUF_SIZE=200
endif
include $(RIOTBASE)/Makefile.include