mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
board/native: adapted Makefile.dep for netif init
The new network stack does not now the concept of the defaulttransceiver, so this fix makes auto_init_ng_netif work for now.
This commit is contained in:
parent
da2cd90ff7
commit
235a488977
@ -1,9 +1,13 @@
|
||||
ifneq (,$(filter defaulttransceiver,$(USEMODULE)))
|
||||
ifeq (,$(filter ng_netif,$(USEMODULE)))
|
||||
USEMODULE += nativenet
|
||||
USEMODULE += nativenet
|
||||
ifeq (,$(filter netdev_base,$(USEMODULE)))
|
||||
USEMODULE += transceiver
|
||||
else
|
||||
USEMODULE += ng_nativenet
|
||||
USEMODULE += ng_netdev_eth
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ng_netif_default,$(USEMODULE)))
|
||||
USEMODULE += ng_netif
|
||||
USEMODULE += ng_nativenet
|
||||
USEMODULE += ng_netdev_eth
|
||||
USEMODULE += ng_nomac
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user