summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-01 23:45:42 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-05-01 23:47:46 +0200
commit986d88127cbcdbc7a79e9d28d0ee6e9fb47ca9cb (patch)
tree7c1888e00e22102f1831d34146155a8142d1f600
parent033fbba3ee9504dea5ab78b19b1fa80c921fbfda (diff)
downloadabslibre-986d88127cbcdbc7a79e9d28d0ee6e9fb47ca9cb.tar.gz
abslibre-986d88127cbcdbc7a79e9d28d0ee6e9fb47ca9cb.tar.bz2
abslibre-986d88127cbcdbc7a79e9d28d0ee6e9fb47ca9cb.zip
libre: linux-libre-64: don't try to ship non-existing headers
Without that fix, when building for Parabola armv7h we have: | ==> Starting package_linux-libre-64-headers()... | Installing build files... | Installing headers... | cp: cannot stat 'arch/arm64/mach-dove/include': No such file or directory | ==> ERROR: A failure occurred in package_linux-libre-64-headers(). | Aborting... However these headers do exist for armv7h. As in this case we are building an aarch64 kernel, we don't need armv7h headers anyway. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--libre/linux-libre-64/PKGBUILD14
1 files changed, 1 insertions, 13 deletions
diff --git a/libre/linux-libre-64/PKGBUILD b/libre/linux-libre-64/PKGBUILD
index 65549e6e5..78e7933d5 100644
--- a/libre/linux-libre-64/PKGBUILD
+++ b/libre/linux-libre-64/PKGBUILD
@@ -9,7 +9,7 @@ _replacesoldmodules=() # '%' gets replaced with kernel suffix
pkgbase=linux-libre-64
pkgver=5.11.11
-pkgrel=1
+pkgrel=2
pkgdesc="64bit Linux-libre for Parabola $CARCH"
rcnver=5.11.11
rcnrel=armv7-x14
@@ -270,18 +270,6 @@ _package-headers() {
cp -t "$builddir/arch/$KARCH" -a arch/$KARCH/include
install -Dt "$builddir/arch/$KARCH/kernel" -m644 arch/$KARCH/kernel/asm-offsets.s
- # from linux-armv7
- if [ "$CARCH" = "armv7h" ]; then
- for i in dove omap2; do
- mkdir -p "$builddir/arch/$KARCH/mach-$i"
- cp -t "$builddir/arch/$KARCH/mach-$i/" -a arch/$KARCH/mach-$i/include
- done
- for i in omap orion versatile; do
- mkdir -p "$builddir/arch/$KARCH/plat-$i"
- cp -t "$builddir/arch/$KARCH/plat-$i/" -a arch/$KARCH/plat-$i/include
- done
- fi
-
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h