diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-09-13 12:24:31 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-09-14 19:48:05 -0400 |
commit | 316e457b8f1f02304d28c75e6498c6664e000f68 (patch) | |
tree | 6f63f9e02d654efc6f4a7e737dc56df1b1df750c | |
parent | linux-info.eclass: rework get_running_version (diff) | |
download | gentoo-316e457b8f1f02304d28c75e6498c6664e000f68.tar.gz gentoo-316e457b8f1f02304d28c75e6498c6664e000f68.tar.bz2 gentoo-316e457b8f1f02304d28c75e6498c6664e000f68.zip |
linux-info.eclass: getfilevar: pass dot-config=0 to make
This disables the kernel config check for versions prior to 5.4.
Closes: https://bugs.gentoo.org/811726
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r-- | eclass/linux-info.eclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass index 97f7b5c06a90..9eae5ad589bb 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -205,9 +205,10 @@ getfilevar() { # We use nonfatal because we want the caller to take care of things #373151 # Pass need-config= to make to avoid config check in kernel Makefile. + # Pass dot-config=0 to avoid the config check in kernels prior to 5.4. [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ - nonfatal emake -C "${basedname}" M="${T}" need-config= ${BUILD_FIXES} -s -f - 2>/dev/null + nonfatal emake -C "${basedname}" M="${T}" dot-config=0 need-config= ${BUILD_FIXES} -s -f - 2>/dev/null ARCH=${myARCH} fi |