fixed bootlogo not packaged.
- fix only known errors. Change-Id: I3e8b65243d711aa755f63b6be072c3c27125aa1c
This commit is contained in:
committed by
carbon
parent
51d26b8831
commit
99ccafe965
@ -191,6 +191,21 @@ function pack_cfg
|
||||
fi
|
||||
)}
|
||||
|
||||
function copy_tools
|
||||
{(
|
||||
# Copy USB_DL, partition.xml and bootlogo
|
||||
if [[ "${chip_cv[*]}" =~ "$CHIP" ]] && [[ ${BOARD} != "fpga" && ${BOARD} != "palladium" ]]; then
|
||||
command rm -rf "$OUTPUT_DIR"/tools
|
||||
command mkdir -p "$OUTPUT_DIR"/tools/
|
||||
command cp -rf "$TOOLS_PATH"/common/usb_dl/ "$OUTPUT_DIR"/tools/
|
||||
if [ "$ENABLE_BOOTLOGO" -eq 1 ];then
|
||||
python3 "$IMGTOOL_PATH"/raw2cimg.py "$BOOTLOGO_PATH" "$OUTPUT_DIR" "$FLASH_PARTITION_XML"
|
||||
fi
|
||||
command cp --remove-destination "$FLASH_PARTITION_XML" "$OUTPUT_DIR"/
|
||||
fi
|
||||
)}
|
||||
|
||||
|
||||
function pack_upgrade
|
||||
{(
|
||||
local TMPDIR
|
||||
|
||||
@ -596,6 +596,7 @@ function build_all()
|
||||
pack_rootfs || return $?
|
||||
pack_data || return $?
|
||||
pack_system || return $?
|
||||
copy_tools || return $?
|
||||
pack_upgrade || return $?
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user