diff options
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r-- | eclass/linux-build.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index 396ecc11..d3f98b97 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -230,7 +230,11 @@ _linux-build_src_prepare_build() { fi einfo "Checking configuration file" - emake oldconfig "${myopt[@]}" < /dev/null + if (( KV_MAJOR <= 3 && KV_MINOR <= 5 )); then + emake oldnoconfig "${myopt[@]}" + else + emake olddefconfig "${myopt[@]}" + fi if diff -Nu0 "${BUILDDIR}/.config.old" "${BUILDDIR}/.config" \ | egrep -q '^(\-|\+)CONFIG_' ; then |