Commit 3cb6f657 authored by Timo Teräs's avatar Timo Teräs

main/linux-headers: support armhf

parent 999654d4
......@@ -6,7 +6,6 @@ pkgrel=1
pkgdesc="Linux system headers"
url="http://kernel.org"
arch="all"
_carch=${CARCH/armel/arm}
license='GPL-2'
makedepends="perl"
if [ "$ALPINE_LIBC" = "eglibc" ]; then
......@@ -31,6 +30,12 @@ build() {
}
package() {
local _carch=$CARCH
case "$_carch" in
arm*) _carch="arm" ;;
esac
cd "$srcdir"/linux-$_kernver
mkdir -p "$pkgdir/usr"
make headers_install ARCH="${_carch}" INSTALL_HDR_PATH="$pkgdir/usr" || return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment