mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
make: add Makefile.periph
This commit is contained in:
parent
c348a89c91
commit
46d824b6b1
12
makefiles/periph.mk
Normal file
12
makefiles/periph.mk
Normal file
@ -0,0 +1,12 @@
|
||||
MODULE ?= periph
|
||||
|
||||
# enable submodules
|
||||
SUBMODULES := 1
|
||||
|
||||
# don't fail if requested submodule does not have corresponding *.c file
|
||||
SUBMODULES_NOFORCE := 1
|
||||
|
||||
# in case of e.g., <cpu>_periph_common, use periph_* as submodule prefix
|
||||
BASE_MODULE := periph
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
@ -97,3 +97,7 @@ PSEUDOMODULES += prng_%
|
||||
|
||||
# STM32 periph pseudomodules
|
||||
PSEUDOMODULES += stm32_periph_%
|
||||
|
||||
# declare periph submodules as pseudomodules, but exclude periph_common
|
||||
PSEUDOMODULES += periph_%
|
||||
NO_PSEUDOMODULES += periph_common
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user