mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
makefiles/modules.inc.mk: convert uppercase with utils function
Convert the module to uppercase using the 'makefiles/utils' function.
This commit is contained in:
parent
fe6d892969
commit
e5278a2364
@ -3,7 +3,7 @@ _ALLMODULES = $(sort $(USEMODULE) $(USEPKG))
|
||||
# Define MODULE_MODULE_NAME preprocessor macros for all modules.
|
||||
ED = $(addprefix MODULE_,$(_ALLMODULES))
|
||||
# EXTDEFINES will be put in CFLAGS_WITH_MACROS
|
||||
EXTDEFINES = $(addprefix -D,$(shell echo '$(ED)' | tr 'a-z-' 'A-Z_'))
|
||||
EXTDEFINES = $(addprefix -D,$(call uppercase_and_underscore,$(ED)))
|
||||
|
||||
# filter "pseudomodules" from "real modules", but not "no_pseudomodules"
|
||||
REALMODULES += $(filter-out $(PSEUDOMODULES), $(_ALLMODULES))
|
||||
|
Loading…
Reference in New Issue
Block a user