mirror of
https://github.com/optim-enterprises-bv/meta-openwrt.git
synced 2026-01-09 09:01:43 +00:00
luci: Fix error module 'luci.util' not found
When running the latest luci there is an error:
module 'luci.util' not found.
This commit will install the missing files.
Signed-off-by: Kevin Zhang <kevin.zhang3@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- /dev/null
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -0,0 +1,31 @@
|
||||
@@ -0,0 +1,32 @@
|
||||
+cmake_minimum_required(VERSION 3.0)
|
||||
+
|
||||
+PROJECT(luci)
|
||||
@@ -26,6 +26,7 @@
|
||||
+
|
||||
+ADD_SUBDIRECTORY(modules/luci-base)
|
||||
+ADD_SUBDIRECTORY(modules/luci-mod-admin-full)
|
||||
+ADD_SUBDIRECTORY(libs/luci-lib-base)
|
||||
+ADD_SUBDIRECTORY(libs/luci-lib-nixio)
|
||||
+ADD_SUBDIRECTORY(libs/luci-lib-ip)
|
||||
+ADD_SUBDIRECTORY(libs/luci-lib-jsonc)
|
||||
@@ -33,6 +34,18 @@
|
||||
+ADD_SUBDIRECTORY(applications/luci-app-firewall)
|
||||
+
|
||||
--- /dev/null
|
||||
+++ b/libs/luci-lib-base/CMakeLists.txt
|
||||
@@ -0,0 +1,9 @@
|
||||
+cmake_minimum_required(VERSION 3.0)
|
||||
+
|
||||
+PROJECT(luci-lib-base C)
|
||||
+
|
||||
+INSTALL(DIRECTORY luasrc/
|
||||
+ DESTINATION "${LUAPATH}/luci"
|
||||
+ USE_SOURCE_PERMISSIONS
|
||||
+)
|
||||
+
|
||||
--- /dev/null
|
||||
+++ b/libs/luci-lib-ip/CMakeLists.txt
|
||||
@@ -0,0 +1,15 @@
|
||||
+cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
Reference in New Issue
Block a user