fix remove boot-scr to SRC_EXTLINUX=yes (#4298)

This commit is contained in:
Oleg 2022-10-17 19:11:38 +03:00 committed by GitHub
parent 3ed6c224f1
commit bf985575b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ create_board_package() {
copy_all_packages_files_for "bsp-cli"
# install copy of boot script & environment file
if [[ -n "${BOOTSCRIPT}" ]]; then
if [[ -n "${BOOTSCRIPT}" ]] && [[ $SRC_EXTLINUX != yes ]]; then
# @TODO: add extension method bsp_prepare_bootloader(), refactor into u-boot extension
local bootscript_src=${BOOTSCRIPT%%:*}
local bootscript_dst=${BOOTSCRIPT##*:}