diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-05-25 03:53:28 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-05-25 17:10:34 +0200 |
commit | 7c43008244329989d73b180631199397857077b5 (patch) | |
tree | 2a54a0c7777c77c3a745e933ad32aa9e65591b05 | |
parent | 1ac5bac4ee064d2a689f3c386dadf5722da7788c (diff) | |
download | abslibre-7c43008244329989d73b180631199397857077b5.tar.gz abslibre-7c43008244329989d73b180631199397857077b5.tar.bz2 abslibre-7c43008244329989d73b180631199397857077b5.zip |
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 <GNUtoo@cyberdimension.org>
-rw-r--r-- | libre/linux-libre-64/PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
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/" |