forked from xuos/xiuos
support control json file
This commit is contained in:
@@ -5,12 +5,12 @@ menu "lib"
|
||||
|
||||
config APP_SELECT_NEWLIB
|
||||
bool "app select newlib"
|
||||
|
||||
|
||||
config APP_SELECT_OTHER_LIB
|
||||
bool "app select other lib"
|
||||
endchoice
|
||||
source "$APP_DIR/lib/cJSON/Kconfig"
|
||||
source "$APP_DIR/lib/queue/Kconfig"
|
||||
source "$APP_DIR/lib/queue/Kconfig"
|
||||
source "$APP_DIR/lib/lvgl/Kconfig"
|
||||
source "$APP_DIR/lib/embedded_database/Kconfig"
|
||||
endmenu
|
||||
|
||||
@@ -10,5 +10,8 @@ ifeq ($(CONFIG_LIB_LV),y)
|
||||
SRC_DIR += lvgl
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LIB_USING_CJSON),y)
|
||||
SRC_DIR += cJSON
|
||||
endif
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
SRC_FILES := cJSON.c
|
||||
|
||||
include $(KERNEL_ROOT)/compiler.mk
|
||||
Reference in New Issue
Block a user