From 7c43008244329989d73b180631199397857077b5 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 25 May 2020 03:53:28 +0200 Subject: libre: linux-libre-64: fix package_linux-libre-64-headers Without that fix, we have the following issue: Removing documentation... cp: cannot stat 'arch/arm64/mach-dove/include': No such file or directory ==> ERROR: A failure occurred in package_linux-libre-64-headers(). Aborting... What is strange is that this error didn't appear when building linux-libre-64-5.6.12-1. Signed-off-by: Denis 'GNUtoo' Carikli --- libre/linux-libre-64/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre') diff --git a/libre/linux-libre-64/PKGBUILD b/libre/linux-libre-64/PKGBUILD index 15a179ef1..c5a2c0e68 100644 --- a/libre/linux-libre-64/PKGBUILD +++ b/libre/linux-libre-64/PKGBUILD @@ -282,7 +282,7 @@ _package-headers() { # # since we don't want to diverge too much from Arch's PKGBUILD, we'll # start marking our changes as such - if [ "$CARCH" = "armv7h" ]; then + if [ "$KARCH" = "armv7h" ]; then for i in dove exynos omap2; do mkdir -p "$pkgdir/usr/lib/modules/$kernver/build/arch/$KARCH/mach-$i" cp -a arch/$KARCH/mach-$i/include "$pkgdir/usr/lib/modules/$kernver/build/arch/$KARCH/mach-$i/" -- cgit v1.2.3