mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
13 lines
395 B
Makefile
13 lines
395 B
Makefile
ifneq (,$(filter tlsf-malloc,$(USEMODULE)))
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
USEMODULE += tlsf-malloc_newlib
|
|
else ifneq (,$(filter native,$(BOARD)))
|
|
USEMODULE += tlsf-malloc_native
|
|
else
|
|
$(warning tlsf-malloc can only be used on native or on platforms using newlib)
|
|
endif
|
|
endif
|
|
|
|
# tlsf is not compatible with 8bit and 16bit architectures
|
|
FEATURES_REQUIRED += arch_32bit
|