Makefile.dep: add auto_init_gnrc_% MODULEs
This commit is contained in:
parent
afc43bf314
commit
e446920cd2
@ -97,6 +97,7 @@ ifneq (,$(filter gnrc_dhcpv6_client,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
|
ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_uhcpc
|
||||||
USEMODULE += uhcpc
|
USEMODULE += uhcpc
|
||||||
USEMODULE += gnrc_sock_udp
|
USEMODULE += gnrc_sock_udp
|
||||||
USEMODULE += fmt
|
USEMODULE += fmt
|
||||||
@ -254,7 +255,9 @@ ifneq (,$(filter gnrc_sixlowpan_iphc,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_sixlowpan,$(USEMODULE)))
|
ifneq (,$(filter gnrc_sixlowpan,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_sixlowpan
|
||||||
USEMODULE += sixlowpan
|
USEMODULE += sixlowpan
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_sixlowpan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
|
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
|
||||||
@ -322,6 +325,7 @@ ifneq (,$(filter gnrc_ipv6_router,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_ipv6,$(USEMODULE)))
|
ifneq (,$(filter gnrc_ipv6,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_ipv6
|
||||||
USEMODULE += inet_csum
|
USEMODULE += inet_csum
|
||||||
USEMODULE += ipv6_addr
|
USEMODULE += ipv6_addr
|
||||||
USEMODULE += gnrc_ipv6_hdr
|
USEMODULE += gnrc_ipv6_hdr
|
||||||
@ -366,6 +370,7 @@ ifneq (,$(filter gnrc_ipv6_nib_router,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
|
ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_ipv6_nib
|
||||||
USEMODULE += evtimer
|
USEMODULE += evtimer
|
||||||
USEMODULE += gnrc_ndp
|
USEMODULE += gnrc_ndp
|
||||||
USEMODULE += gnrc_netif
|
USEMODULE += gnrc_netif
|
||||||
@ -377,11 +382,13 @@ ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_udp,$(USEMODULE)))
|
ifneq (,$(filter gnrc_udp,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_udp
|
||||||
USEMODULE += inet_csum
|
USEMODULE += inet_csum
|
||||||
USEMODULE += udp
|
USEMODULE += udp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_tcp,$(USEMODULE)))
|
ifneq (,$(filter gnrc_tcp,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_tcp
|
||||||
USEMODULE += inet_csum
|
USEMODULE += inet_csum
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
USEMODULE += tcp
|
USEMODULE += tcp
|
||||||
@ -398,6 +405,7 @@ ifneq (,$(filter gnrc_nettest,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
|
ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_pktdump
|
||||||
USEMODULE += gnrc_pktbuf
|
USEMODULE += gnrc_pktbuf
|
||||||
USEMODULE += od
|
USEMODULE += od
|
||||||
endif
|
endif
|
||||||
@ -636,6 +644,7 @@ ifneq (,$(filter gnrc_pktbuf, $(USEMODULE)))
|
|||||||
ifeq (gnrc_pktbuf_cmd,$(filter gnrc_pktbuf_%, $(USEMODULE)))
|
ifeq (gnrc_pktbuf_cmd,$(filter gnrc_pktbuf_%, $(USEMODULE)))
|
||||||
USEMODULE += gnrc_pktbuf_static
|
USEMODULE += gnrc_pktbuf_static
|
||||||
endif
|
endif
|
||||||
|
DEFAULT_MODULE += auto_init_gnrc_pktbuf
|
||||||
USEMODULE += gnrc_pkt
|
USEMODULE += gnrc_pkt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -28,11 +28,11 @@
|
|||||||
#include "xtimer.h"
|
#include "xtimer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_SIXLOWPAN
|
#ifdef MODULE_AUTO_INIT_GNRC_SIXLOWPAN
|
||||||
#include "net/gnrc/sixlowpan.h"
|
#include "net/gnrc/sixlowpan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_IPV6
|
#ifdef MODULE_AUTO_INIT_GNRC_IPV6
|
||||||
#include "net/gnrc/ipv6.h"
|
#include "net/gnrc/ipv6.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -40,19 +40,19 @@
|
|||||||
#include "l2_ping.h"
|
#include "l2_ping.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_PKTBUF
|
#ifdef MODULE_AUTO_INIT_GNRC_PKTBUF
|
||||||
#include "net/gnrc/pktbuf.h"
|
#include "net/gnrc/pktbuf.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_PKTDUMP
|
#ifdef MODULE_AUTO_INIT_GNRC_PKTDUMP
|
||||||
#include "net/gnrc/pktdump.h"
|
#include "net/gnrc/pktdump.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_UDP
|
#ifdef MODULE_AUTO_INIT_GNRC_UDP
|
||||||
#include "net/gnrc/udp.h"
|
#include "net/gnrc/udp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_TCP
|
#ifdef MODULE_AUTO_INIT_GNRC_TCP
|
||||||
#include "net/gnrc/tcp.h"
|
#include "net/gnrc/tcp.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -72,7 +72,7 @@
|
|||||||
#include "net/gcoap.h"
|
#include "net/gcoap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_IPV6_NIB
|
#ifdef MODULE_AUTO_INIT_GNRC_IPV6_NIB
|
||||||
#include "net/gnrc/ipv6/nib.h"
|
#include "net/gnrc/ipv6/nib.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -130,27 +130,27 @@ void auto_init(void)
|
|||||||
extern void profiling_init(void);
|
extern void profiling_init(void);
|
||||||
profiling_init();
|
profiling_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_PKTBUF
|
#ifdef MODULE_AUTO_INIT_GNRC_PKTBUF
|
||||||
DEBUG("Auto init gnrc_pktbuf module\n");
|
DEBUG("Auto init gnrc_pktbuf module\n");
|
||||||
gnrc_pktbuf_init();
|
gnrc_pktbuf_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_PKTDUMP
|
#ifdef MODULE_AUTO_INIT_GNRC_PKTDUMP
|
||||||
DEBUG("Auto init gnrc_pktdump module.\n");
|
DEBUG("Auto init gnrc_pktdump module.\n");
|
||||||
gnrc_pktdump_init();
|
gnrc_pktdump_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_SIXLOWPAN
|
#ifdef MODULE_AUTO_INIT_GNRC_SIXLOWPAN
|
||||||
DEBUG("Auto init gnrc_sixlowpan module.\n");
|
DEBUG("Auto init gnrc_sixlowpan module.\n");
|
||||||
gnrc_sixlowpan_init();
|
gnrc_sixlowpan_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_IPV6
|
#ifdef MODULE_AUTO_INIT_GNRC_IPV6
|
||||||
DEBUG("Auto init gnrc_ipv6 module.\n");
|
DEBUG("Auto init gnrc_ipv6 module.\n");
|
||||||
gnrc_ipv6_init();
|
gnrc_ipv6_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_UDP
|
#ifdef MODULE_AUTO_INIT_GNRC_UDP
|
||||||
DEBUG("Auto init UDP module.\n");
|
DEBUG("Auto init UDP module.\n");
|
||||||
gnrc_udp_init();
|
gnrc_udp_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_TCP
|
#ifdef MODULE_AUTO_INIT_GNRC_TCP
|
||||||
DEBUG("Auto init TCP module\n");
|
DEBUG("Auto init TCP module\n");
|
||||||
gnrc_tcp_init();
|
gnrc_tcp_init();
|
||||||
#endif
|
#endif
|
||||||
@ -173,7 +173,7 @@ void auto_init(void)
|
|||||||
extern void auto_init_devfs(void);
|
extern void auto_init_devfs(void);
|
||||||
auto_init_devfs();
|
auto_init_devfs();
|
||||||
#endif
|
#endif
|
||||||
#ifdef MODULE_GNRC_IPV6_NIB
|
#ifdef MODULE_AUTO_INIT_GNRC_IPV6_NIB
|
||||||
DEBUG("Auto init gnrc_ipv6_nib module.\n");
|
DEBUG("Auto init gnrc_ipv6_nib module.\n");
|
||||||
gnrc_ipv6_nib_init();
|
gnrc_ipv6_nib_init();
|
||||||
#endif
|
#endif
|
||||||
@ -342,7 +342,7 @@ void auto_init(void)
|
|||||||
|
|
||||||
#endif /* MODULE_AUTO_INIT_GNRC_NETIF */
|
#endif /* MODULE_AUTO_INIT_GNRC_NETIF */
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_UHCPC
|
#ifdef MODULE_AUTO_INIT_GNRC_UHCPC
|
||||||
extern void auto_init_gnrc_uhcpc(void);
|
extern void auto_init_gnrc_uhcpc(void);
|
||||||
auto_init_gnrc_uhcpc();
|
auto_init_gnrc_uhcpc();
|
||||||
#endif
|
#endif
|
||||||
@ -592,7 +592,7 @@ void auto_init(void)
|
|||||||
|
|
||||||
#ifdef MODULE_AUTO_INIT_GNRC_RPL
|
#ifdef MODULE_AUTO_INIT_GNRC_RPL
|
||||||
|
|
||||||
#ifdef MODULE_GNRC_RPL
|
#ifdef MODULE_AUTO_INIT_GNRC_RPL
|
||||||
extern void auto_init_gnrc_rpl(void);
|
extern void auto_init_gnrc_rpl(void);
|
||||||
auto_init_gnrc_rpl();
|
auto_init_gnrc_rpl();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user