summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Parnell2016-12-25 23:50:47 -0600
committerMatt Parnell2016-12-25 23:50:47 -0600
commit409772c1c641c574bf45a96e22e552e45930688c (patch)
tree26c5a89a731e66c089e6b5952bc618d649ca7dd4
parentaa46932ee9633ce69811d8618122a0b193946291 (diff)
downloadaur-409772c1c641c574bf45a96e22e552e45930688c.tar.gz
fix building
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6cfd5848bf1..4c8d094a89b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -61,11 +61,14 @@ build() {
cp "${srcdir}/build/.config" "${srcdir}/zen-config-bak"
- cd "${srcdir}/build"
-
- make clean
- make mrproper
+ rm -rf "${srcdir}/build"
+
+ cd "${srcdir}/zen-kernel"
+ make clean &> /dev/null
+ make mrproper &> /dev/null
+ make -C "${srcdir}/zen-kernel/" O="${srcdir}/build" defconfig > /dev/null
+
msg "Using backed up config from previous build directory."
cp "${srcdir}/zen-config-bak" "${srcdir}/build/.config"
fi