mirror of https://github.com/thesofproject/sof.git
arch: xtensa: use CONFIG_BOOT_LOADER instead of platforms
Changes cmake script to use CONFIG_BOOT_LOADER instead of specific platform configs when choosing whether to build bootloader. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
4b82db8a62
commit
7299afe35c
|
@ -24,10 +24,7 @@ endif()
|
||||||
|
|
||||||
set(fw_name ${CONFIG_FIRMWARE_SHORT_NAME})
|
set(fw_name ${CONFIG_FIRMWARE_SHORT_NAME})
|
||||||
|
|
||||||
if(CONFIG_APOLLOLAKE
|
if(CONFIG_BOOT_LOADER)
|
||||||
OR CONFIG_CANNONLAKE
|
|
||||||
OR CONFIG_SUECREEK
|
|
||||||
OR CONFIG_ICELAKE)
|
|
||||||
set(build_bootloader y)
|
set(build_bootloader y)
|
||||||
set(build_module y)
|
set(build_module y)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue