This commit is contained in:
wt committed 2025-02-21 14:11:08 +07:00
1 parent 3e497612fe
commit 7a8a4fc984
8 files changed
+5606 -20

No files matched your search

+4 -2
View File
@@ -4,14 +4,16 @@
. ./scripts/funcs.sh
. ./scripts/config.sh
uboot_version=2025.01
#--- uboot ---
uboot() {
printf "$UGREEN** Building uboot\n$RESET"
mkdir -p $build/uboot # &>> $fulllogfile
cd $build/uboot
tar -xvf $root/downloads/u-boot-v2024.10.tar.gz # &>> $fulllogfile
tar -xvf $root/downloads/v$uboot_version.tar.gz # &>> $fulllogfile
check $? "Extract uboot"
cd u-boot-2024.10
cd u-boot-$uboot_version
# cp -rv $root/uclibc/config-1.0.50 .config
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- orangepi_pc_defconfig
check $? "Configure uboot"