mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
10 lines
303 B
Makefile
10 lines
303 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
|