updated orangepi_zero2w_support

This commit is contained in:
wt
2026-02-26 07:04:52 +07:00
parent 0d7b9901b8
commit ac7cb03d8e
34 changed files with 247 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ busybox_rootfs() {
#------------------ Building busybox for initramfs ----------------
busybox_initramfs() {
printf "$UGREEN** Building busybox for initramfs\n$RESET"
[ -d $build/busybox ] && return 0
# [ -d $build/busybox ] && return 0
mkdir -p $build/busybox
cd $build/busybox
tar -xjf $root/downloads/busybox-${BUSYBOX_VERSION}.tar.bz2
-1
View File
@@ -62,7 +62,6 @@ finit_init() {
--with-sulogin \
--with-sysroot=$rootfspath \
--enable-resolvconf-plugin \
--enable-modprobe-plugin \
--enable-modules-load-plugin
check $? "Configure finit"
make $makeflags
+1
View File
@@ -31,6 +31,7 @@ kernel() {
#----------- Build and Install kernel modules --------------
kernel_modules() {
printf "$UGREEN** Building Linux Kernel modules\n$RESET"
# [ -d $build/kernel/linux-$KERNEL_VERSION ] && return 0
cd $build/kernel/linux-$KERNEL_VERSION
make ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- modules # &>> fulllogfile
check $? "Build Linux Kernel modules"
+1
View File
@@ -6,6 +6,7 @@
lm_sensors() {
printf "$GREEN** Building and installing lm_sensors\n$RESET"
[ -d $build/lm_sensors ] && return 0
mkdir -pv $build/lm_sensors
cd $build/lm_sensors
git clone https://github.com/lm-sensors/lm-sensors.git
+1
View File
@@ -8,6 +8,7 @@ lrzsz-build() {
pkgname=lrzsz
pkgver=0.12.20
printf "$GREEN** Building and installing ${pkgname}\n$RESET"
[ -d $build/${pkgname} ] && return 0
mkdir $build/${pkgname}
cd $build/${pkgname}
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz
+1
View File
@@ -10,6 +10,7 @@ openssl() {
pkgname=openssl
pkgver=3.4.1
printf "$GREEN** Building and installing ${pkgname}\n$RESET"
[ -d $build/${pkgname} ] && return 0
[ ! -d $build/${pkgname} ] && mkdir $build/${pkgname}
cd $build/${pkgname}
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz
+1
View File
@@ -12,6 +12,7 @@ build_wpa_supplicant() {
pkgname=wpa_supplicant
pkgver=2.11
printf "$GREEN** Building and installing iw\n$RESET"
[ -d $build/wpa_supplicant ] && return 0
[ ! -d $build/wpa_supplicant ] && mkdir $build/wpa_supplicant
cd $build/wpa_supplicant
tar -xvf $root/downloads/${pkgname}-${pkgver}.tar.gz