Fix build of FW part.
Add Options response to the Rest Daemon. (mandatory by Ajax request).
This commit is contained in:
54
3P/json/.gitignore
vendored
54
3P/json/.gitignore
vendored
@@ -1,54 +0,0 @@
|
||||
*~
|
||||
*.swp
|
||||
/INSTALL
|
||||
.deps/
|
||||
.libs/
|
||||
/aclocal.m4
|
||||
/autom4te.cache
|
||||
/config.guess
|
||||
/json_config.h
|
||||
/compile
|
||||
/config.log
|
||||
/config.status
|
||||
/config.sub
|
||||
/configure
|
||||
/depcomp
|
||||
/doc
|
||||
/install-sh
|
||||
/json.pc
|
||||
/json-c.pc
|
||||
/json-c-uninstalled.pc
|
||||
/libtool
|
||||
/ltmain.sh
|
||||
/Makefile
|
||||
/Makefile.in
|
||||
/missing
|
||||
/stamp-h1
|
||||
/stamp-h2
|
||||
/test-driver
|
||||
/tests/Makefile
|
||||
/tests/Makefile.in
|
||||
/tests/test1
|
||||
/tests/test1Formatted
|
||||
/tests/test2
|
||||
/tests/test2Formatted
|
||||
/tests/test4
|
||||
/tests/testReplaceExisting
|
||||
/tests/testSubDir
|
||||
/tests/test_parse_int64
|
||||
/tests/test_parse
|
||||
/tests/test_cast
|
||||
/tests/test_charcase
|
||||
/tests/test_locale
|
||||
/tests/test_null
|
||||
/tests/test_printbuf
|
||||
/tests/test_set_serializer
|
||||
/tests/*.vg.out
|
||||
/tests/*.log
|
||||
/tests/*.trs
|
||||
/Debug
|
||||
/Release
|
||||
*.lo
|
||||
*.o
|
||||
/libjson-c.la
|
||||
/libjson.la
|
||||
4
3P/json/json_config.h
Normal file
4
3P/json/json_config.h
Normal file
@@ -0,0 +1,4 @@
|
||||
/* json_config.h. Generated from json_config.h.in by configure. */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define JSON_C_HAVE_INTTYPES_H 1
|
||||
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