M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
diff --git a/blobmsg_json.c b/blobmsg_json.c
index f1c47ce..08eabde 100644
--- a/blobmsg_json.c
+++ b/blobmsg_json.c
@@ -90,7 +90,7 @@ out:
bool blobmsg_add_json_from_file(struct blob_buf *b, const char *file)
{
- return __blobmsg_add_json(b, json_object_from_file(file));
+ return __blobmsg_add_json(b, json_object_from_file((char*)file));
}
bool blobmsg_add_json_from_string(struct blob_buf *b, const char *str)

View File

@@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b7fac2..abef5d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -40,7 +40,8 @@ INSTALL(TARGETS ubox
LIBRARY DESTINATION lib
)
-ADD_SUBDIRECTORY(lua)
+#[zhoulichao] unsupport lua
+#ADD_SUBDIRECTORY(lua)
find_library(json NAMES json-c json)
IF(EXISTS ${json})