summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2021-02-28 17:02:32 -0500
committerDavid P <megver83@parabola.nu>2021-02-28 17:03:04 -0500
commitbbaf92d5edbdded1af5087b19f207b1685f74012 (patch)
tree29a4a8bd578f219e93b29c6525730fe8e742388f /libre
parentc7cdd87622630a74e25260fa8ff9e8640abfbba6 (diff)
downloadabslibre-bbaf92d5edbdded1af5087b19f207b1685f74012.tar.gz
abslibre-bbaf92d5edbdded1af5087b19f207b1685f74012.tar.bz2
abslibre-bbaf92d5edbdded1af5087b19f207b1685f74012.zip
libre/linux-libre-lts: fix armv7h headers packaging
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-lts/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
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