1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 01:23: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 += random
USEMODULE += hashes
USEMODULE += iolist
USEMODULE += crypto_aes_128
USEMODULE += netdev_layer
USEMODULE += gnrc_nettype_lorawan
endif
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
@ -66,7 +65,7 @@ ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
USEMODULE += fmt
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
endif
@ -124,6 +123,7 @@ ifneq (,$(filter gnrc_netif,$(USEMODULE)))
endif
ifneq (,$(filter gnrc_lorawan,$(USEMODULE)))
USEMODULE += gnrc_netif_lorawan
USEMODULE += gnrc_nettype_lorawan
endif
endif

View File

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