From 2544f8abcbddc23e9def2d65cb41603aadaadada Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Thu, 21 May 2020 16:23:58 +0300 Subject: [PATCH] kernel-build.eclass: permit savedconfig without predef .config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexey Shvetsov Signed-off-by: Michał Górny --- eclass/kernel-build.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass index 028f0da8148e..ba4b012dc4cf 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 -- 2.26.2