From c3f985fc493c7939d254c761e36e067162e09e64 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Wed, 26 Jun 2013 17:00:14 +0200 Subject: [PATCH] linux-3.9: separate distro config to the user config --- srcpkgs/linux3.9/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux3.9/template b/srcpkgs/linux3.9/template index 3e47e46a8f..1174a081d2 100644 --- a/srcpkgs/linux3.9/template +++ b/srcpkgs/linux3.9/template @@ -27,7 +27,11 @@ do_configure() { arch=x86_64 fi - if [ -f ${FILESDIR}/${arch}-dotconfig ]; then + if [ -f ${FILESDIR}/${arch}-dotconfig-custom ]; then + msg_normal "Detected a custom .config file for your arch, using it.\n" + cp -f ${FILESDIR}/${arch}-dotconfig-custom .config + make ${makejobs} oldconfig + elif [ -f ${FILESDIR}/${arch}-dotconfig ]; then msg_normal "Detected a .config file for your arch, using it.\n" cp -f ${FILESDIR}/${arch}-dotconfig .config make ${makejobs} oldconfig