From ab9551840e08f4a5a7f544482a705e79a64840d1 Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Sat, 11 Jan 2020 09:58:27 +0100 Subject: [PATCH] makefiles/pseudomodules.inc.mk: declare all auto_init_% Declaring all auto_init_% modules as pseudomodules will allow using auto_init_% modules as modules that can be disabled. This will give a higher lever of granularity allowing users to not disable the complete auto_init module but only some of them. --- makefiles/pseudomodules.inc.mk | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/makefiles/pseudomodules.inc.mk b/makefiles/pseudomodules.inc.mk index cb7ff5aa91..0bcb61fd26 100644 --- a/makefiles/pseudomodules.inc.mk +++ b/makefiles/pseudomodules.inc.mk @@ -1,6 +1,4 @@ PSEUDOMODULES += at_urc -PSEUDOMODULES += auto_init_dhcpv6_client -PSEUDOMODULES += auto_init_gnrc_rpl PSEUDOMODULES += can_mbox PSEUDOMODULES += can_pm PSEUDOMODULES += can_raw @@ -192,8 +190,7 @@ PSEUDOMODULES += stm32_periph_% PSEUDOMODULES += periph_% NO_PSEUDOMODULES += periph_common -# Submodules and auto-init code provided by Skald -PSEUDOMODULES += auto_init_skald +# Submodules provided by Skald PSEUDOMODULES += skald_ibeacon PSEUDOMODULES += skald_eddystone @@ -205,4 +202,14 @@ PSEUDOMODULES += crypto_aes_precalculated # This pseudomodule causes a loop in AES to be unrolled (more flash, less CPU) PSEUDOMODULES += crypto_aes_unroll +# All auto_init modules are pseudomodules +PSEUDOMODULES += auto_init_% +NO_PSEUDOMODULES += auto_init_can +NO_PSEUDOMODULES += auto_init_loramac +NO_PSEUDOMODULES += auto_init_gnrc_netif +NO_PSEUDOMODULES += auto_init_saul +NO_PSEUDOMODULES += auto_init_security +NO_PSEUDOMODULES += auto_init_storage +NO_PSEUDOMODULES += auto_init_usbus + # Packages may also add modules to PSEUDOMODULES in their `Makefile.include`.