1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/lua/Makefile.dep
Frederik Haxel 3291f94e07 pkg: 64 bit compatibility
* Added arch_64bit feature and added it to all packages that require 32 bit.
* hacl, wolfssl: Fixed different types between function declaration and implementation.
* lwip: Add required flag for 64 bit and bug fix in `lwip_sock`.
* micro-ecc: Workaround for GCC warning when using `__int128`.
2024-01-18 00:40:08 +01:00

25 lines
797 B
Makefile

USEPKG += tlsf
USEMODULE += lua-contrib
USEMODULE += printf_float
# LUA is only supported by 32-bit architectures
FEATURES_REQUIRED_ANY += arch_32bit|arch_64bit
# LUA is not supported on RISCV because of build issues with the toolchain
# (undefined reference to _times, _unlink and _link functions in provided
# newlib nano).
FEATURES_BLACKLIST += arch_riscv
# LUA is not compatible with picolibc and raises errors at compile time:
# - lua/liolib.c:671:38: error: '_IOFBF' undeclared (first use in this function)
# - lua/liolib.c:671:46: error: '_IOLBF' undeclared (first use in this function)
FEATURES_BLACKLIST += picolibc
ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
USEMODULE += libc_gettimeofday
endif
ifneq (,$(filter native,$(CPU)))
USEMODULE += libc_gettimeofday
endif