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

net/gnrc_lorawan: fix dependency resolution

This commit is contained in:
Jose Alamos 2021-07-16 18:30:54 +02:00
parent 0ffd04c132
commit 4692e9e376
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9
2 changed files with 3 additions and 4 deletions

View File

@ -28,9 +28,8 @@ ifneq (,$(filter gnrc_lorawan,$(USEMODULE)))
USEMODULE += ztimer_msec USEMODULE += ztimer_msec
USEMODULE += random USEMODULE += random
USEMODULE += hashes USEMODULE += hashes
USEMODULE += iolist
USEMODULE += crypto_aes_128 USEMODULE += crypto_aes_128
USEMODULE += netdev_layer
USEMODULE += gnrc_nettype_lorawan
endif endif
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE))) ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
@ -66,7 +65,7 @@ ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
USEMODULE += fmt USEMODULE += fmt
endif endif
ifneq (,$(filter gnrc_%,$(filter-out gnrc_netapi gnrc_netreg gnrc_netif% gnrc_pkt%,$(USEMODULE)))) ifneq (,$(filter gnrc_%,$(filter-out gnrc_lorawan gnrc_netapi gnrc_netreg gnrc_netif% gnrc_pkt%,$(USEMODULE))))
USEMODULE += gnrc USEMODULE += gnrc
endif endif
@ -124,6 +123,7 @@ ifneq (,$(filter gnrc_netif,$(USEMODULE)))
endif endif
ifneq (,$(filter gnrc_lorawan,$(USEMODULE))) ifneq (,$(filter gnrc_lorawan,$(USEMODULE)))
USEMODULE += gnrc_netif_lorawan USEMODULE += gnrc_netif_lorawan
USEMODULE += gnrc_nettype_lorawan
endif endif
endif endif

View File

@ -25,7 +25,6 @@
#include "net/lorawan/hdr.h" #include "net/lorawan/hdr.h"
#include "net/gnrc/pktbuf.h" #include "net/gnrc/pktbuf.h"
#include "net/netdev.h" #include "net/netdev.h"
#include "net/netdev/layer.h"
#include "net/loramac.h" #include "net/loramac.h"
#ifdef __cplusplus #ifdef __cplusplus