updated orangepi_zero_2w_defconfig
This commit is contained in:
+6
-2
@@ -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"
|
||||
}
|
||||
#-----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user