Archived
3
0

busybox: portability fix

This commit is contained in:
Luka Vandervelden 2019-08-26 16:29:25 +02:00
parent 63aa380108
commit 3611138e97

View File

@ -3,9 +3,10 @@ version: 1.31.0
release: 1 release: 1
sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2 sources: https://busybox.net/downloads/busybox-%{version}.tar.bz2
@configure @configure
cd busybox-%{version} && make defconfig cd busybox-%{version}
sed -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' busybox-%{version}/.config > config-new make defconfig
mv config-new busybox-%{version}/.config sed -e 's/.*CONFIG_STATIC.*/CONFIG_STATIC=y/' .config > config-new
mv config-new .config
@install @install
mkdir -p '%{pkg}/bin' mkdir -p '%{pkg}/bin'