updated orangepi_zero_2w_defconfig

This commit is contained in:
wt
2025-04-04 15:06:54 +07:00
parent 641ab89367
commit f1a0d8cbf4
7 changed files with 30 additions and 8 deletions
+6 -2
View File
@@ -22,7 +22,9 @@ kernel() {
printf "$UGREEN** Building Linux Kernel\n$RESET"
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- $makeflags # &>> $fulllogfile
check $? "Build Linux Kernel"
ls -lh arch/$ARCH/boot/zImage
KIMAGE=zImage
[ "$ARCH" = "arm64" ] && KIMAGE=Image
ls -lh arch/$ARCH/boot/$KIMAGE
} # kernel
#-----------------------------------------------------------
@@ -54,7 +56,9 @@ kernel_with_rootfs() {
printf "$UGREEN** Installing Linux Kernel into images path\n$RESET"
# make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE INSTALL_MOD_PATH=$rootfspath modules_install # &>> $fulllogfile
# rm -v $rootfspath/usr/lib/modules/6.1.91/{source,build}
cp -v arch/$ARCH/boot/zImage $sdroot/boot
KIMAGE=zImage
[ "$ARCH" = "arm64" ] && KIMAGE=Image
cp -v arch/$ARCH/boot/$KIMAGE $sdroot/boot
check $? "Install Linux Kernel into images path"
}
#-----------------------------------------------------------