1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/tlsf/Makefile.dep
Alexandre Abadie 2f873569b7
pkg/tlsf: whitelist 32bit architectures
The package is not compatible with 8 or 16 bit architectures
2019-12-04 08:04:50 +01:00

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