Fix build of FW part.
Add Options response to the Rest Daemon. (mandatory by Ajax request).
This commit is contained in:
12
3P/ubus/.gitignore
vendored
12
3P/ubus/.gitignore
vendored
@@ -1,12 +0,0 @@
|
||||
Makefile
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
*.cmake
|
||||
*.a
|
||||
*.so
|
||||
*.dylib
|
||||
examples/server
|
||||
examples/client
|
||||
ubusd
|
||||
ubus
|
||||
install_manifest.txt
|
||||
15
3P/ubus/ubus/builders/cmake/CMakeLists.txt
Normal file
15
3P/ubus/ubus/builders/cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
|
||||
project (ubuscli)
|
||||
|
||||
include (libubus)
|
||||
include (libubox)
|
||||
|
||||
add_executable (ucli ../../../cli.c)
|
||||
|
||||
add_dependencies (ucli ubus)
|
||||
|
||||
target_link_libraries (ucli
|
||||
LINK_PUBLIC
|
||||
ubus
|
||||
)
|
||||
27
3P/ubus/ubusd/builders/cmake/CMakeLists.txt
Normal file
27
3P/ubus/ubusd/builders/cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
cmake_minimum_required(VERSION 2.8.11)
|
||||
|
||||
project (ubusd)
|
||||
|
||||
include (libubus)
|
||||
include (libubox)
|
||||
|
||||
file(
|
||||
GLOB
|
||||
source_files
|
||||
../../../ubusd.c
|
||||
../../../ubusd_id.c
|
||||
../../../ubusd_obj.c
|
||||
../../../ubusd_proto.c
|
||||
../../../ubusd_event.c
|
||||
../../../ubusd_acl.c
|
||||
../../../ubusd_monitor.c
|
||||
)
|
||||
|
||||
add_executable (ubusd ${source_files})
|
||||
|
||||
add_dependencies (ubusd ubus)
|
||||
|
||||
target_link_libraries (ubusd
|
||||
LINK_PUBLIC
|
||||
ubus
|
||||
)
|
||||
Reference in New Issue
Block a user