From bbaf92d5edbdded1af5087b19f207b1685f74012 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 28 Feb 2021 17:02:32 -0500 Subject: libre/linux-libre-lts: fix armv7h headers packaging Signed-off-by: David P --- libre/linux-libre-lts/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libre/linux-libre-lts') diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index a803865df..7273c56d9 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -230,13 +230,13 @@ _package-headers() { # from linux-armv7 if [ "$CARCH" = "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/" + 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 samsung versatile; do - mkdir -p "$pkgdir/usr/lib/modules/$kernver/build/arch/$KARCH/plat-$i" - cp -a arch/$KARCH/plat-$i/include "$pkgdir/usr/lib/modules/$kernver/build/arch/$KARCH/plat-$i/" + 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 -- cgit v1.2.3