diff options
author | David P <megver83@parabola.nu> | 2021-02-28 17:02:32 -0500 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2021-02-28 17:03:04 -0500 |
commit | bbaf92d5edbdded1af5087b19f207b1685f74012 (patch) | |
tree | 29a4a8bd578f219e93b29c6525730fe8e742388f /libre/linux-libre-lts | |
parent | c7cdd87622630a74e25260fa8ff9e8640abfbba6 (diff) | |
download | abslibre-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/linux-libre-lts')
-rw-r--r-- | libre/linux-libre-lts/PKGBUILD | 12 |
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 |