summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-02-22 22:18:31 +0000
committerBertrand Jacquin <bertrand@jacquin.bzh>2016-02-22 22:21:04 +0000
commit1fbdda33eb42646920fcee6047ad02ac3fdb1e10 (patch)
tree9cd178037d915b3d513a956b3bc91cba83fd7445 /eclass
parentmetadata: refresh cache (diff)
downloadportage-1fbdda33eb42646920fcee6047ad02ac3fdb1e10.tar.xz
eclass/linux-build: make oldconfig can not work properly with no Y/N/M
answer
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-build.eclass6
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