mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
14 lines
561 B
Makefile
14 lines
561 B
Makefile
# try to find the ng_netif auto init implementation in the application or in
|
|
# the board, respectively. If it is not found, nothing is called.
|
|
ifneq (,$(filter ng_netif,$(USEMODULE)))
|
|
ifneq (,$(wildcard $(APPDIR)/auto_init_ng_netif/*))
|
|
export AUTO_INIT_MODULES += $(APPDIR)/auto_init_ng_netif
|
|
export USEMODULE += auto_init_ng_netif
|
|
else
|
|
ifneq (,$(wildcard $(RIOTBOARD)/$(BOARD)/auto_init_ng_netif/*))
|
|
export AUTO_INIT_MODULES += $(RIOTBOARD)/$(BOARD)/auto_init_ng_netif
|
|
export USEMODULE += auto_init_ng_netif
|
|
endif
|
|
endif
|
|
endif
|