Fix partition miss in u-boot.
This commit is contained in:
parent
c02a6a1001
commit
7be5b5b3a3
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue