AlexanderVasiljev
AlexanderVasiljev
Separate branch is definitely a showstopper. I am willing to migrate my custom board to cmake, but if it is in separate branch I will stuck to this branch. When...
This is Kconfig localy on my PC. I can open menu with "make menuconfig" and with "cmake --build build -t menuconfig". ``` choice prompt "Build Host Platform" default HOST_LINUX config...
sethost.sh is linux specific. We can execute kconfig-tweak from Cmake ``` set(NUTTX_DEFCONFIG_SAVED ${NUTTX_DEFCONFIG} CACHE INTERNAL "Saved defconfig path" FORCE) + if(APPLE) + execute_process(COMMAND kconfig-tweak --file .config --disable CONFIG_HOST_WINDOWS + WORKING_DIRECTORY...
And for drivers/Kconfig we can export DRIVERS_PLATFORM_DIR from tools/configure.sh and from tools/Makefile tools/Makefile.unix ``` config: apps_preconfig - $(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) kconfig-conf Kconfig + $(Q) APPSDIR=${CONFIG_APPS_DIR} EXTERNALDIR=$(EXTERNALDIR) DRIVERS_PLATFORM_DIR="drivers/platform" kconfig-conf Kconfig ```...