Arguments for automatic build
Posted: Tue May 22, 2018 11:52 am
Hello,
I have two builds in my project depending of the following "Build OTA" checkbox: Which is configured in Kconfig.projbuild: where all other components depend on.
If checked - its an OTA build, all checked sensors are included in the source, some source is removed, etc.
If unchecked, its a small build for only factory partition.
I,ve build a dedicated website and tools to manage/upload the built images. My goal is to close the process and build factory/ota image by clicking on a single button. My question is:
How to change CONFIG_BUILD_OTA only during the build (ex: $ make CONFIG_BUILD_OTA=n), also all dependencies have to be processed.
Thansk!
I have two builds in my project depending of the following "Build OTA" checkbox: Which is configured in Kconfig.projbuild:
Code: Select all
config BUILD_OTA
bool "Build OTA"
default n
help
Build OTA partition
config ENABLE_SENSOR_BME280
bool "enable BME280 sensor"
default y
depends on BUILD_OTA
help
Enable BME280
....
If checked - its an OTA build, all checked sensors are included in the source, some source is removed, etc.
If unchecked, its a small build for only factory partition.
I,ve build a dedicated website and tools to manage/upload the built images. My goal is to close the process and build factory/ota image by clicking on a single button. My question is:
How to change CONFIG_BUILD_OTA only during the build (ex: $ make CONFIG_BUILD_OTA=n), also all dependencies have to be processed.
Thansk!