mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
Merge pull request #18017 from aabadie/pr/pkg/lua-kconfig
pkg/lua: model in kconfig
This commit is contained in:
commit
f4141c676e
1
examples/lua_REPL/app.config.test
Normal file
1
examples/lua_REPL/app.config.test
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_PACKAGE_LUA=y
|
1
examples/lua_basic/app.config.test
Normal file
1
examples/lua_basic/app.config.test
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_PACKAGE_LUA=y
|
@ -38,6 +38,7 @@ rsource "libfixmath/Kconfig"
|
||||
rsource "libhydrogen/Kconfig"
|
||||
rsource "littlefs2/Kconfig"
|
||||
rsource "lora-serialization/Kconfig"
|
||||
rsource "lua/Kconfig"
|
||||
rsource "lv_drivers/Kconfig"
|
||||
rsource "lvgl/Kconfig"
|
||||
rsource "lz4/Kconfig"
|
||||
|
24
pkg/lua/Kconfig
Normal file
24
pkg/lua/Kconfig
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright (c) 2022 Inria
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config PACKAGE_LUA
|
||||
bool "LUA language package"
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_32BIT
|
||||
depends on !HAS_ARCH_MIPS32R2
|
||||
depends on !HAS_ARCH_RISCV
|
||||
depends on !MODULE_PICOLIBC
|
||||
|
||||
select PACKAGE_TLSF
|
||||
select MODULE_PRINTF_FLOAT
|
||||
select MODULE_LUA-CONTRIB
|
||||
|
||||
select MODULE_LIBC_GETTIMEOFDAY if !CPU_NATIVE
|
||||
|
||||
config MODULE_LUA-CONTRIB
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
2
tests/lua_loader/app.config.test
Normal file
2
tests/lua_loader/app.config.test
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_PACKAGE_LUA=y
|
||||
CONFIG_MODULE_STDIN=y
|
Loading…
Reference in New Issue
Block a user