linux-3.9: separate distro config to the user config

This commit is contained in:
Ypnose 2013-06-26 17:00:14 +02:00
parent da51d1d374
commit c3f985fc49

View file

@ -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