diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-09-06 13:18:05 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-09-06 14:07:03 -0400 |
commit | ab005b2b0219f266a90891fa3cce8253014927db (patch) | |
tree | aaeb27a5812e9d11a8067f6c302e3c2adee2bd1c /eclass | |
parent | sys-devel/slibtool: Keyword 0.5.34 s390, #777435 (diff) | |
download | gentoo-ab005b2b0219f266a90891fa3cce8253014927db.tar.gz gentoo-ab005b2b0219f266a90891fa3cce8253014927db.tar.bz2 gentoo-ab005b2b0219f266a90891fa3cce8253014927db.zip |
linux-info.eclass: getfilevar: pass need-config= to make
This bypasses the config check in the kernel Makefile.
Closes: https://bugs.gentoo.org/811726
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-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 48f2ff7fbcbb..f794f42d0c0a 100644 --- a/eclass/linux-info.eclass +++ b/eclass/linux-info.eclass @@ -204,9 +204,10 @@ getfilevar() { unset ARCH # 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. [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ - nonfatal emake -C "${basedname}" M="${T}" ${BUILD_FIXES} -s -f - 2>/dev/null + nonfatal emake -C "${basedname}" M="${T}" need-config= ${BUILD_FIXES} -s -f - 2>/dev/null ARCH=${myARCH} fi |