1 |
This disables the kernel config check for versions prior to 5.4. |
2 |
|
3 |
Bug: https://bugs.gentoo.org/811726 |
4 |
Signed-off-by: Mike Gilbert <floppym@g.o> |
5 |
--- |
6 |
eclass/linux-info.eclass | 3 ++- |
7 |
1 file changed, 2 insertions(+), 1 deletion(-) |
8 |
|
9 |
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass |
10 |
index 97f7b5c06a9..9eae5ad589b 100644 |
11 |
--- a/eclass/linux-info.eclass |
12 |
+++ b/eclass/linux-info.eclass |
13 |
@@ -205,9 +205,10 @@ getfilevar() { |
14 |
|
15 |
# We use nonfatal because we want the caller to take care of things #373151 |
16 |
# Pass need-config= to make to avoid config check in kernel Makefile. |
17 |
+ # Pass dot-config=0 to avoid the config check in kernels prior to 5.4. |
18 |
[[ ${EAPI:-0} == [0123] ]] && nonfatal() { "$@"; } |
19 |
echo -e "e:\\n\\t@echo \$(${1})\\ninclude ${basefname}" | \ |
20 |
- nonfatal emake -C "${basedname}" M="${T}" need-config= ${BUILD_FIXES} -s -f - 2>/dev/null |
21 |
+ nonfatal emake -C "${basedname}" M="${T}" dot-config=0 need-config= ${BUILD_FIXES} -s -f - 2>/dev/null |
22 |
|
23 |
ARCH=${myARCH} |
24 |
fi |
25 |
-- |
26 |
2.33.0 |