From a1b4b71df2f4195989ddd9400249b1a9254df36d Mon Sep 17 00:00:00 2001 From: Ypnose Date: Wed, 26 Jun 2013 17:00:56 +0200 Subject: [PATCH] linux-3.8: separate distro config to the user config --- srcpkgs/linux3.8/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/linux3.8/template b/srcpkgs/linux3.8/template index 03f3dab8e8..1e08bd12d5 100644 --- a/srcpkgs/linux3.8/template +++ b/srcpkgs/linux3.8/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