diff options
-rw-r--r-- | main/linux-headers/APKBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD index e50310b246..fdddffa4e1 100644 --- a/main/linux-headers/APKBUILD +++ b/main/linux-headers/APKBUILD @@ -2,10 +2,11 @@ pkgname=linux-headers pkgver=3.8.7 _kernver=3.8 -pkgrel=0 +pkgrel=1 pkgdesc="Linux system headers" url="http://kernel.org" -arch="noarch" +arch="all" +_carch=${CARCH/armel/arm} license='GPL-2' makedepends="perl" if [ "$ALPINE_LIBC" = "eglibc" ]; then @@ -29,11 +30,10 @@ build() { return 0 } - package() { cd "$srcdir"/linux-$_kernver mkdir -p "$pkgdir/usr" - make headers_install INSTALL_HDR_PATH="$pkgdir/usr" || return 1 + make headers_install ARCH="${_carch}" INSTALL_HDR_PATH="$pkgdir/usr" || return 1 find "$pkgdir/usr" \( -name .install -o -name ..install.cmd \) -exec \ rm -f {} \; |