summaryrefslogtreecommitdiff
path: root/libre/linux-libre/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-08-23 19:14:23 -0300
committerDavid P <megver83@parabola.nu>2018-08-23 19:15:01 -0300
commitfe1abd0cd4b3ac7abcad1c52685872f68a0fc4c8 (patch)
tree7ca1d17d4214297376b34ca8ea2723ddf19e8e3f /libre/linux-libre/PKGBUILD
parent269876ceac6f8d5e65ce93731a6c214c9c429c5c (diff)
downloadabslibre-fe1abd0cd4b3ac7abcad1c52685872f68a0fc4c8.tar.gz
abslibre-fe1abd0cd4b3ac7abcad1c52685872f68a0fc4c8.tar.bz2
abslibre-fe1abd0cd4b3ac7abcad1c52685872f68a0fc4c8.zip
linux-libre: fix _package-headers() mistaken variable
And use $KARCH instead of ${KARCH}, for a stetical thing Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre/PKGBUILD')
-rw-r--r--libre/linux-libre/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index 8d6820446..d942b7d4a 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -279,7 +279,7 @@ _package-headers() {
mkdir -p "$builddir"/{fs/xfs,mm}
if [[ ${CARCH} = i686 ]]; then
- install -t "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile_32.cpu
+ install -t "$builddir/arch/$KARCH" -m644 arch/$KARCH/Makefile_32.cpu
fi
# ???
@@ -321,12 +321,12 @@ _package-headers() {
# start marking our changes as such
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}/"
+ 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}/"
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}/"
+ 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}/"
done
fi
# end of parabola changes