This section details the build steps for each of the following HLOS setup configurations. Follow the steps in the appropriate section.
Makefile flag | Valid values (default value in bold) | Description |
---|---|---|
PROFILE | debug or release or all | "debug" for debug only build, "release" for release only build, "all" for both debug and release builds |
BUILD_TARGET_MODE | yes or no | "yes" to build for SoC platform. In case you are building only for PC keep this to "no" |
BUILD_QNX_MPU | yes or no | "yes" if you want to build for QNX on the MPU. In case you are building for RTOS only mode or Linux + RTOS mode, keep this to "no" |
BUILD_LINUX_MPU | yes or no | "yes" if you want to build for ARM Linux on the MPU. In case you are building for RTOS only mode or QNX + RTOS mode, keep this to "no" |
BUILD_EMULATION_MODE | yes or no | "yes" to build for PC emulation mode. In case you are building only for SoC keep this to "no" |
BUILD_CT_* | yes or no | "yes" to enable OpenVX conformance tests for specific group of tests (CT). Typically during development one would keep all to "no" and only enable the required tests in respective CT "test_main.h" |
Makefile flag | Valid values (default value in bold) | Description |
---|---|---|
BUILD_CPU_<cpu name> | yes or no | "yes" if you want that CPU in your build, else keep it to "no". Note, BUILD_CPU_MPU1, BUILD_CPU_MCU2_0 MUST be kept as "yes" Note, If building for MCU1_0, please refer to the developer note here. Note, if switching between building with BUILD_CPU_MCU1_0 turned on and off, you will need to re-install the bootfs and targetfs to the SD card as described here Step 1: Prepare SD card for boot (one time only). |
BUILD_APP_RTOS_LINUX | yes or no | "yes" to build Linux+RTOS mode binaries for selected CPUs. Keep to "no" if you are not interested in Linux+RTOS binaries. By default this is set to BUILD_LINUX_MPU |
BUILD_APP_RTOS_QNX | yes or no | "yes" to build QNX+RTOS mode binaries for selected CPUs. Keep to "no" if you are not interested in QNX+RTOS binaries. By default this is set to BUILD_QNX_MPU |
File | #define | Description |
---|---|---|
app_cfg.h | ENABLE_IPC_<cpu name> | #undef these to disable a CPU from the system, #define to enable in the system Note, this must match the BUILD_CPU_<cpu name> vision_apps/vision_apps_build_flags.mak |
app_cfg_mcu2_0.h | ENABLE_DSS_EDP | #define this to enable eDP display via base EVM, make sure to #undef ENABLE_DSS_DSI as well. |
app_cfg_mcu2_0.h | ENABLE_DSS_DSI | #define this to enable DSI display, make sure to #undef ENABLE_DSS_EDP and ENABLE_DSS_HDMI as well |
app_cfg_mcu2_0.h | ENABLE_DSS | #undef this to disable display, if you don't have display panel |