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})
|
||||
|
||||
if(CONFIG_APOLLOLAKE
|
||||
OR CONFIG_CANNONLAKE
|
||||
OR CONFIG_SUECREEK
|
||||
OR CONFIG_ICELAKE)
|
||||
if(CONFIG_BOOT_LOADER)
|
||||
set(build_bootloader y)
|
||||
set(build_module y)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue