build/rtl8721csm: Copy a binary of boot param to the download tool path to flash it
Copy a binary of boot param to the download tool path to flash it.
@@ -158,6 +158,7 @@ function get_partition_sizes()
cp -p ${BIN_PATH}/km0_boot_all.bin ${IMG_TOOL_PATH}/km0_boot_all.bin
cp -p ${BIN_PATH}/km4_boot_all.bin ${IMG_TOOL_PATH}/km4_boot_all.bin
cp -p ${BIN_PATH}/km0_km4_image2.bin ${IMG_TOOL_PATH}/km0_km4_image2.bin
+cp -p ${BIN_PATH}/bootparam.bin ${IMG_TOOL_PATH}/bootparam.bin
if test -f "${SMARTFS_BIN_PATH}"; then
cp -p ${BIN_PATH}/rtl8721csm_smartfs.bin ${IMG_TOOL_PATH}/rtl8721csm_smartfs.bin
fi
@@ -378,6 +379,7 @@ esac
[ -e km0_boot_all.bin ] && rm km0_boot_all.bin
[ -e km4_boot_all.bin ] && rm km4_boot_all.bin
[ -e km0_km4_image2.bin ] && rm km0_km4_image2.bin
+[ -e bootparam.bin ] && rm bootparam.bin
if test -f "${SMARTFS_BIN_PATH}"; then
[ -e rtl8721csm_smartfs.bin ] && rm rtl8721csm_smartfs.bin
fi
