mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
67b8c6709c
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
9 lines
412 B
Makefile
9 lines
412 B
Makefile
# Check that only one implementation of pktbuf is used
|
|
USED_PKTBUF_IMPLEMENTATIONS := $(filter gnrc_pktbuf_%,$(USEMODULE))
|
|
ifneq (1,$(words $(USED_PKTBUF_IMPLEMENTATIONS)))
|
|
$(error Only one implementation of gnrc_pktbuf should be used. Currently using: $(USED_PKTBUF_IMPLEMENTATIONS))
|
|
endif
|
|
|
|
USEMODULE_INCLUDES_gnrc_pktbuf := $(LAST_MAKEFILEDIR)/include
|
|
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_gnrc_pktbuf)
|