From 986d88127cbcdbc7a79e9d28d0ee6e9fb47ca9cb Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 1 May 2021 23:45:42 +0200 Subject: 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 --- libre/linux-libre-64/PKGBUILD | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'libre/linux-libre-64/PKGBUILD') 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 -- cgit v1.2.3