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:
chao an
2023-02-07 13:56:13 +08:00
committed by Xiang Xiao
parent 2d536059f0
commit 74ce3b81d3
7 changed files with 44 additions and 20 deletions
+17 -1
View File
@@ -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