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:
Tomasz Lauda 2019-07-17 12:41:19 +02:00 committed by Tomasz Lauda
parent 4b82db8a62
commit 7299afe35c
1 changed files with 1 additions and 4 deletions

View File

@ -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()