Skip to content

Commit

Permalink
将LuatOS放到language分类
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Jan 5, 2022
1 parent 416a028 commit fe346e8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion language/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
menu "language packages"

# source "$PKGS_DIR/packages/language//Kconfig"
source "$PKGS_DIR/packages/language/LuatOS_SOC/Kconfig"
source "$PKGS_DIR/packages/language/Lua/Kconfig"
source "$PKGS_DIR/packages/language/jerryscript/Kconfig"
source "$PKGS_DIR/packages/language/micropython/Kconfig"
Expand Down
13 changes: 7 additions & 6 deletions system/LuatOS_SOC/Kconfig → language/LuatOS_SOC/Kconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@

# Kconfig file for package LuatOS_SOC
menuconfig PKG_USING_LUATOS_SOC
select RT_USING_DFS
select RT_USING_POSIX if RT_VER_NUM >= 0x40100
select RT_USING_DFS_ROMFS
select RT_USING_LIBC
select RT_LIBC_USING_FILEIO if RT_VER_NUM >= 0x40100
select RT_USING_DFS if RT_VER_NUM < 0x40100
select RT_USING_POSIX if RT_VER_NUM < 0x40100
select RT_USING_LIBC if RT_VER_NUM < 0x40100
select RT_USING_POSIX_FS if RT_VER_NUM >= 0x40100
select RT_USING_POSIX_STDIO if RT_VER_NUM >= 0x40100
select RT_USING_TIMER_SOFT
select RT_USING_DFS_ROMFS
bool "LUATOS_SOC : Powerful embedded Lua Engine for IoT devices"
default n

if PKG_USING_LUATOS_SOC

config PKG_LUATOS_SOC_PATH
string
default "/packages/system/LuatOS_SOC"
default "/packages/language/LuatOS_SOC"

choice
prompt "Version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"enable": "PKG_USING_LUATOS_SOC",
"keywords": [
"LuatOS_SOC",
"LuatOS"
"LuatOS",
"Lua"
],
"category": "system",
"category": "language",
"author": {
"name": "Dozingfiretruck",
"email": "[email protected]",
Expand Down
1 change: 0 additions & 1 deletion system/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ source "$PKGS_DIR/packages/system/Arm-2D/Kconfig"
source "$PKGS_DIR/packages/system/mcuboot/Kconfig"
source "$PKGS_DIR/packages/system/TinyUSB/Kconfig"
source "$PKGS_DIR/packages/system/usb_stack/Kconfig"
source "$PKGS_DIR/packages/system/LuatOS_SOC/Kconfig"

endmenu

0 comments on commit fe346e8

Please sign in to comment.