From 7be5b5b3a3278036a08962c76a6c52d107e9d268 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Tue, 5 Sep 2023 19:54:55 +0000 Subject: [PATCH] Fix partition miss in u-boot. --- projects/Rockchip/packages/u-boot/package.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/Rockchip/packages/u-boot/package.mk b/projects/Rockchip/packages/u-boot/package.mk index 000738dd8..145976809 100644 --- a/projects/Rockchip/packages/u-boot/package.mk +++ b/projects/Rockchip/packages/u-boot/package.mk @@ -72,15 +72,14 @@ make_target() { then PKG_LOADER="$(get_build_dir rkbin)/${PKG_LOADER}" fi - case ${PARTITION_TABLE} in gpt) echo "Building for GPT (${UBOOT_DTB})..." DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm64 make mrproper - DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm64 make ${UBOOT_CONFIG} BL31=${PKG_BL31} ${PKG_LOADER} u-boot.dtb u-boot.itb + DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm64 make tools ${UBOOT_CONFIG} BL31=${PKG_BL31} ${PKG_LOADER} u-boot.dtb u-boot.itb DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm64 _python_sysroot="${TOOLCHAIN}" _python_prefix=/ _python_exec_prefix=/ make HOSTCC="${HOST_CC}" HOSTLDFLAGS="-L${TOOLCHAIN}/lib" HOSTSTRIP="true" CONFIG_MKIMAGE_DTC_PATH="scripts/dtc/dtc" ;; - mbr) + msdos) echo "Building for MBR (${UBOOT_DTB})..." [ -n "${ATF_PLATFORM}" ] && cp -av $(get_build_dir atf)/bl31.bin . DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm make mrproper