mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
build/Kconfig: add BINDIR/APPSBINDIR to support out of tree build
First decoupling changes related to CMAKE BINDIR/APPSBINDIR: Output path of Kconfig which dynamically generated by NuttX Kernel/Apps This option is consistent with the TOPDIR/APPSDIR by default, and will be changed when out-of-tree compilation is supported Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
@@ -9,6 +9,22 @@ config APPSDIR
|
||||
string
|
||||
option env="APPSDIR"
|
||||
|
||||
config APPSBINDIR
|
||||
string
|
||||
option env="APPSBINDIR"
|
||||
---help---
|
||||
Output path of Kconfig which dynamically generated by NuttX Apps
|
||||
This option is consistent with the APPSDIR by default, and will
|
||||
be changed when out-of-tree compilation is supported
|
||||
|
||||
config BINDIR
|
||||
string
|
||||
option env="BINDIR"
|
||||
---help---
|
||||
Output path of Kconfig which dynamically generated by NuttX Kernel
|
||||
This option is consistent with the TOPDIR by default, and will
|
||||
be changed when out-of-tree compilation is supported
|
||||
|
||||
menu "License Setup"
|
||||
config ALLOW_BSD_COMPONENTS
|
||||
bool "Use components that have BSD licenses"
|
||||
@@ -2124,7 +2140,7 @@ source "openamp/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Application Configuration"
|
||||
source "$APPSDIR/Kconfig"
|
||||
source "$APPSBINDIR/Kconfig"
|
||||
endmenu
|
||||
|
||||
# Support optionally including external code
|
||||
|
||||
Reference in New Issue
Block a user