diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-22 22:54:42 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-22 22:54:42 -0300 |
commit | 7d6943ac6d62a9eee17546ddc8b5d0c198da8247 (patch) | |
tree | 5c555346c1a295821f66e643312e0d394422369b | |
parent | 6aa31d3d6356defc999c582320e36b4cbaf59acf (diff) | |
download | abslibre-7d6943ac6d62a9eee17546ddc8b5d0c198da8247.tar.gz abslibre-7d6943ac6d62a9eee17546ddc8b5d0c198da8247.tar.bz2 abslibre-7d6943ac6d62a9eee17546ddc8b5d0c198da8247.zip |
add loongson-community patch on mips64el only
-rw-r--r-- | kernels/linux-libre-lts-knock/PKGBUILD | 4 | ||||
-rw-r--r-- | kernels/linux-libre-rt/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre-grsec/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre-lts/PKGBUILD | 4 | ||||
-rw-r--r-- | libre/linux-libre/PKGBUILD | 4 |
5 files changed, 15 insertions, 5 deletions
diff --git a/kernels/linux-libre-lts-knock/PKGBUILD b/kernels/linux-libre-lts-knock/PKGBUILD index 301930071..a254dddaa 100644 --- a/kernels/linux-libre-lts-knock/PKGBUILD +++ b/kernels/linux-libre-lts-knock/PKGBUILD @@ -85,7 +85,9 @@ prepare() { patch -Np1 -i "${srcdir}/criu-no-expert.patch" # Adding loongson-community patch - patch -p1 -i ${srcdir}/3.10.50-33c9ab76eb-loongson-community.patch + if [ "${CARCH}" == "mips64el" ]; then + patch -p1 -i ${srcdir}/3.10.50-33c9ab76eb-loongson-community.patch + fi cat "${srcdir}/config.${CARCH}" > ./.config diff --git a/kernels/linux-libre-rt/PKGBUILD b/kernels/linux-libre-rt/PKGBUILD index b53adda24..81fbe4842 100644 --- a/kernels/linux-libre-rt/PKGBUILD +++ b/kernels/linux-libre-rt/PKGBUILD @@ -108,7 +108,9 @@ prepare() { patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch" # Adding loongson-community patch - patch -p1 -i ${srcdir}/3.14.14-a410a5e2b7-loongson-community.patch + if [ "${CARCH}" == "mips64el" ]; then + patch -p1 -i ${srcdir}/3.14.14-a410a5e2b7-loongson-community.patch + fi cat "${srcdir}/config.${CARCH}" > ./.config diff --git a/libre/linux-libre-grsec/PKGBUILD b/libre/linux-libre-grsec/PKGBUILD index 0960fcc90..e61a4ee6e 100644 --- a/libre/linux-libre-grsec/PKGBUILD +++ b/libre/linux-libre-grsec/PKGBUILD @@ -86,7 +86,9 @@ prepare() { patch -p1 -i "${srcdir}/change-default-console-loglevel.patch" # Adding loongson-community patch - patch -p1 -i ${srcdir}/3.15.7-2704e67ebc-loongson-community.patch + if [ "${CARCH}" == "mips64el" ]; then + patch -p1 -i ${srcdir}/3.15.7-2704e67ebc-loongson-community.patch + fi cat "${srcdir}/config.${CARCH}" > ./.config diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index ae375b6f1..ebb00a30c 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -92,7 +92,9 @@ prepare() { patch -p1 -i "${srcdir}/0006-genksyms-fix-typeof-handling.patch" # Adding loongson-community patch - patch -p1 -i ${srcdir}/3.14.14-a410a5e2b7-loongson-community.patch + if [ "${CARCH}" == "mips64el" ]; then + patch -p1 -i ${srcdir}/3.14.14-a410a5e2b7-loongson-community.patch + fi cat "${srcdir}/config.${CARCH}" > ./.config diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index c7ca22124..a35e40e32 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -78,7 +78,9 @@ prepare() { patch -p1 -i "${srcdir}/compal-laptop-hwmon-fix.patch" # Adding loongson-community patch - patch -p1 -i ${srcdir}/3.16-7981337ad0-loongson-community.patch + if [ "${CARCH}" == "mips64el" ]; then + patch -p1 -i ${srcdir}/3.16-7981337ad0-loongson-community.patch + fi cat "${srcdir}/config.${CARCH}" > ./.config |