added PMBUILDs for dropbear linux zlib and fix for busybox uclibc

This commit is contained in:
wt
2025-04-11 14:12:08 +07:00
parent 0e557a1dcb
commit efee03a218
8 changed files with 6244 additions and 3 deletions
+7 -2
View File
@@ -4,17 +4,22 @@ pkgrel=1
source="https://busybox.net/downloads/busybox-1.36.1.tar.bz2"
deps="uClibc-ng"
export PATH=$PATH:/opt/toolchains/arm-buildroot-linux-uclibcgnueabihf/bin
export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf
export ARCH=arm
configure() {
cd $srcdir
tar -xvf $pkgname-$pkgver.tar.bz2
cd -
export srcdir=$srcdir/$pkgname-$pkgver
cp -v busybox.config $srcdir/.config
make -C $srcdir oldconfig
make -C $srcdir ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- oldconfig
}
build() {
make -C $srcdir -j$(nproc)
make -C $srcdir ARCH=$ARCH CROSS_COMPILE=$CROSS_COMPILE- -j$(nproc)
$CROSS_COMPILE-strip $srcdir/busybox
}
package() {