forked from xuos/xiuos
add kconfig for application framework
This commit is contained in:
Executable
+14
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user