summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-08-31 23:14:57 -0300
committerDavid P <megver83@parabola.nu>2018-08-31 23:14:57 -0300
commit7bcc4ac4b2c9be182faf39ac66230fe7284c0801 (patch)
tree0e0023249c2c6afcbd6864cdb6fca6dbb79ae13f /libre/linux-libre-lts
parent4c06b4a4e56bda5c6ee0701d9f0abff980d186bf (diff)
downloadabslibre-7bcc4ac4b2c9be182faf39ac66230fe7284c0801.tar.gz
abslibre-7bcc4ac4b2c9be182faf39ac66230fe7284c0801.tar.bz2
abslibre-7bcc4ac4b2c9be182faf39ac66230fe7284c0801.zip
linux-libre-lts: fix headers build for i686
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-lts')
-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 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