mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 17:31:18 +01:00
makefiles: select default prng _after_ recursive dependency resolution
This commit is contained in:
parent
d6f463764c
commit
fb3b5af910
@ -46,13 +46,6 @@ ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
|
||||
USEMODULE += libfixmath
|
||||
endif
|
||||
|
||||
ifneq (,$(filter random,$(USEMODULE)))
|
||||
# select default prng if no prng is selected
|
||||
ifeq (,$(filter prng_%,$(USEMODULE)))
|
||||
USEMODULE += prng_musl_lcg
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter spiffs,$(USEMODULE)))
|
||||
USEPKG += spiffs
|
||||
USEMODULE += vfs
|
||||
|
||||
@ -22,6 +22,13 @@ ifneq (,$(filter auto_init_libcose_crypt,$(USEMODULE)))
|
||||
USEMODULE += libcose_crypt_init
|
||||
endif
|
||||
|
||||
ifneq (,$(filter random,$(USEMODULE)))
|
||||
# select default prng if no prng is selected
|
||||
ifeq (,$(filter prng_%,$(USEMODULE)))
|
||||
USEMODULE += prng_musl_lcg
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter xtimer,$(USEMODULE)))
|
||||
ifeq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
USEMODULE += div
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user