summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2020-05-21 16:23:58 +0300
committerMichał Górny <mgorny@gentoo.org>2020-05-21 16:30:19 +0200
commit2544f8abcbddc23e9def2d65cb41603aadaadada (patch)
treeec5677e199c58951fb1d0502dd7aa265bf238609 /eclass
parentprofiles: Force sys-kernel/*-kernel[savedconfig] on non-x86 (diff)
downloadgentoo-2544f8abcbddc23e9def2d65cb41603aadaadada.tar.gz
gentoo-2544f8abcbddc23e9def2d65cb41603aadaadada.tar.bz2
gentoo-2544f8abcbddc23e9def2d65cb41603aadaadada.zip
kernel-build.eclass: permit savedconfig without predef .config
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-build.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 028f0da8148..ba4b012dc4c 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -74,8 +74,8 @@ kernel-build_src_configure() {
ARCH=$(tc-arch-kernel)
)
- [[ -f .config ]] || die "Ebuild error: please copy default config into .config"
restore_config .config
+ [[ -f .config ]] || die "Ebuild error: please copy default config into .config"
mkdir -p "${WORKDIR}"/modprep || die
mv .config "${WORKDIR}"/modprep/ || die