diff options
Diffstat (limited to 'main/linux-headers/APKBUILD')
-rw-r--r-- | main/linux-headers/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD index fdddffa4e1..b3e42e8fab 100644 --- a/main/linux-headers/APKBUILD +++ b/main/linux-headers/APKBUILD @@ -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 |