From 7bcc4ac4b2c9be182faf39ac66230fe7284c0801 Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 31 Aug 2018 23:14:57 -0300 Subject: linux-libre-lts: fix headers build for i686 Signed-off-by: David P --- libre/linux-libre-lts/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 3fb65fa68..1fbb1f80c 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -293,15 +293,15 @@ _package-headers() { install -Dt "${_builddir}" -m644 Makefile .config Module.symvers install -Dt "${_builddir}/kernel" -m644 kernel/Makefile - if [[ ${CARCH} = i686 ]]; then - install -t "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile_32.cpu - fi mkdir "${_builddir}/.tmp_versions" cp -t "${_builddir}" -a include scripts install -Dt "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile + if [[ ${CARCH} = i686 ]]; then + install -Dt "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile_32.cpu + fi install -Dt "${_builddir}/arch/${KARCH}/kernel" -m644 arch/${KARCH}/kernel/asm-offsets.s cp -t "${_builddir}/arch/${KARCH}" -a arch/${KARCH}/include @@ -341,9 +341,9 @@ _package-headers() { # remove files already in linux-docs package rm -r "${_builddir}/Documentation" - # parabola changes + # Parabola changes # - # since we don't want to diverge too much from arch's pkgbuild, we'll + # 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 for i in dove exynos omap2; do @@ -355,7 +355,7 @@ _package-headers() { cp -a arch/${KARCH}/plat-${i}/include "${pkgdir}/usr/lib/modules/${_kernver}/build/arch/${KARCH}/plat-${i}/" done fi - # end of parabola changes + # end of Parabola changes # remove now broken symlinks find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete -- cgit v1.2.3