add kconfig for application framework

This commit is contained in:
Wang_Weigen
2021-06-18 17:37:03 +08:00
parent 4510a95e90
commit 96af003398
38 changed files with 214 additions and 150 deletions
+14
View File
@@ -0,0 +1,14 @@
menu "app lib"
choice
prompt "chose a kind of lib for app"
default APP_SELECT_NEWLIB
config APP_SELECT_NEWLIB
bool "app select newlib"
config APP_SELECT_OTHER_LIB
bool "app select other lib"
endchoice
endmenu
+5 -2
View File
@@ -1,7 +1,10 @@
SRC_DIR :=
ifeq ($(CONFIG_SEPARATE_COMPILE),y)
SRC_DIR += app_newlib
ifeq ($(CONFIG_APP_SELECT_NEWLIB),y)
ifeq ($(CONFIG_SEPARATE_COMPILE),y)
SRC_DIR += app_newlib
endif
endif
include $(KERNEL_ROOT)/compiler.mk