summaryrefslogtreecommitdiff
path: root/libre/linux-libre-64
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-64')
-rw-r--r--libre/linux-libre-64/PKGBUILD2
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/"