Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 06 Sep 2021 18:07:53
Message-Id: 1630951623.ab005b2b0219f266a90891fa3cce8253014927db.floppym@gentoo
1 commit: ab005b2b0219f266a90891fa3cce8253014927db
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 6 17:18:05 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 6 18:07:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab005b2b
7
8 linux-info.eclass: getfilevar: pass need-config= to make
9
10 This bypasses the config check in the kernel Makefile.
11
12 Closes: https://bugs.gentoo.org/811726
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 eclass/linux-info.eclass | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18 diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
19 index 48f2ff7fbcb..f794f42d0c0 100644
20 --- a/eclass/linux-info.eclass
21 +++ b/eclass/linux-info.eclass
22 @@ -204,9 +204,10 @@ getfilevar() {
23 unset ARCH
24
25 # We use nonfatal because we want the caller to take care of things #373151
26 + # Pass need-config= to make to avoid config check in kernel Makefile.
27 [[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; }
28 echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \
29 - nonfatal emake -C "${basedname}" M="${T}" ${BUILD_FIXES} -s -f - 2>/dev/null
30 + nonfatal emake -C "${basedname}" M="${T}" need-config= ${BUILD_FIXES} -s -f - 2>/dev/null
31
32 ARCH=${myARCH}
33 fi