Revert u-boot itb change.

This commit is contained in:
fewtarius 2024-03-08 12:09:07 +00:00
parent 7479f95a6b
commit 158cbe74e2
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -11,7 +11,6 @@ PKG_DEPENDS_TARGET="toolchain Python3 swig:host rkbin glibc pyelftools:host"
PKG_LONGDESC="Rockchip U-Boot is a bootloader for embedded systems."
PKG_PATCH_DIRS+="${DEVICE}"
UBOOT_IMG="u-boot.itb"
case ${DEVICE} in
RK358*)
PKG_VERSION="d34ff0716"
@ -20,7 +19,6 @@ case ${DEVICE} in
RK3566-BSP*)
PKG_URL="${PKG_SITE}/rk356x-uboot.git"
PKG_VERSION="97c658238f7ccd436fbdede451bfd7488514a5c8"
UBOOT_IMG="u-boot.img"
;;
RK356*)
PKG_URL="https://github.com/u-boot/u-boot.git"
@ -85,7 +83,7 @@ make_target() {
export ROCKCHIP_TPL="${PKG_DATAFILE}"
DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="" ARCH=arm64 make mrproper
echo "begin make"
DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="--lssl -lcrypto" ARCH=arm64 make ${UBOOT_CONFIG} ${PKG_LOADER} u-boot.dtb ${UBOOT_IMG} tools HOSTCC="${HOST_CC}" HOSTLDFLAGS="-L${TOOLCHAIN}/lib" HOSTCFLAGS="-I${TOOLCHAIN}/include"
DEBUG=${PKG_DEBUG} CROSS_COMPILE="${TARGET_KERNEL_PREFIX}" LDFLAGS="--lssl -lcrypto" ARCH=arm64 make ${UBOOT_CONFIG} ${PKG_LOADER} u-boot.dtb u-boot.itb tools HOSTCC="${HOST_CC}" HOSTLDFLAGS="-L${TOOLCHAIN}/lib" HOSTCFLAGS="-I${TOOLCHAIN}/include"
echo "end make"
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" HOSTCFLAGS="-I${TOOLCHAIN}/include" HOSTSTRIP="true" CONFIG_MKIMAGE_DTC_PATH="scripts/dtc/dtc"
elif [[ "${PKG_SOC}" =~ "rk3588" ]]