busybox: fix build

This commit is contained in:
Ella Stanforth 2022-04-09 17:47:09 +00:00
parent 6f81bab5c8
commit 1691d14260

View file

@ -9,15 +9,15 @@ fetch() {
tar -xf $pkgname-$pkgver.tar.gz
cd $pkgname-$pkgver
patch -p1 < ../../clang-fix.patch
patch -p1 < ../../modprobe.patch
# patch -p1 < ../../modprobe.patch
# cp ../man.sh .
}
build() {
cd $pkgname-$pkgver
gmake HOSTCC=cc CC=cc defconfig
gmake HOSTCC=cc CC=cc
gmake HOSTCC=cc CC=cc install
bad --gmake gmake HOSTCC=cc CC=cc CFLAGS=-O0 defconfig
bad --gmake gmake HOSTCC=cc CC=cc CFLAGS=-O0
bad --gmake gmake HOSTCC=cc CC=cc CFLAGS=-O0 install
}
package() {
@ -195,6 +195,10 @@ package() {
rm $pkgdir/usr/bin/man
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat LICENSE