summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ab16bf7..553f47e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -62,9 +62,11 @@ _kernelname=${pkgbase#linux}
prepare() {
cd $_srcname
-# # add upstream patch
-# msg2 "Applying upstream patch"
-# patch -Np1 < ../patch-${_majver}-${_pkgver}
+ # add upstream patch
+# if [ "$_minver" != "0" ]; then
+# msg2 "Applying upstream patch"
+# patch -Np1 < ../patch-${_majver}-${_pkgver}
+# fi
# Hotfixes
# msg2 "Applying hotfixes"
@@ -94,11 +96,11 @@ prepare() {
msg2 "Setting config..."
# we are in src/linux-x.yy.zz, looking for a config next to the pkgbuild
- #if [ -f ${SRCDEST}/config.previous ]; then
- # cp ${SRCDEST}/config.previous .config
- #else
+# if [ -f ${SRCDEST}/config.previous ]; then
+# cp ${SRCDEST}/config.previous .config
+# else
cp ../config.x86_64 .config
- #fi
+# fi
make olddefconfig
@@ -121,8 +123,8 @@ prepare() {
cat ../version.temp | tr -d "\n" > ../version
# back up the config
- #msg2 "Backing up config..."
- #cp .config ${SRCDEST}/config.previous
+# msg2 "Backing up config..."
+# cp .config ${SRCDEST}/config.previous
msg2 "Prepared %s version %s" "$pkgbase" "$(<../version)"
}