summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-08 02:12:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-08 02:12:59 +0100
commitc30a3f925914edfc7c93158227b5eed3663e6efa (patch)
tree16c6f303cdf19ff0ad9ed0bcca01d3816fea4c00 /eclass
parent1f45d596fc838ad34ca4c17b7db7882f5048cec2 (diff)
gentoo auto-resync : 08:08:2022 - 02:12:59
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin36986 -> 36998 bytes
-rw-r--r--eclass/linux-info.eclass26
2 files changed, 10 insertions, 16 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index cba1026eb1d7..20810aa8a12d 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 7e130062a6c1..8925f83b6695 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -29,6 +29,15 @@
# A Couple of env vars are available to effect usage of this eclass
# These are as follows:
+
+# @ECLASS_VARIABLE: CHECKCONFIG_DONOTHING
+# @USER_VARIABLE
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Do not error out in check_extra_config if CONFIG settings are not met.
+# This is a user flag and should under _no circumstances_ be set in the ebuild.
+: ${CHECKCONFIG_DONOTHING:=""}
+
# @ECLASS_VARIABLE: KERNEL_DIR
# @DESCRIPTION:
# A string containing the directory of the target kernel sources. The default value is
@@ -149,21 +158,6 @@ esac
# Set the env ARCH to match what the kernel expects.
set_arch_to_kernel() { export ARCH=$(tc-arch-kernel); }
-# @FUNCTION: set_arch_to_portage
-# @DESCRIPTION:
-# Set the env ARCH to match what portage expects.
-set_arch_to_portage() {
-
- ewarn "The function name: set_arch_to_portage is being deprecated and"
- ewarn "being changed to: set_arch_to_pkgmgr to comply with pms policy."
- ewarn "See bug #843686"
- ewarn "The old function name will be removed on or about July 1st, 2022."
- ewarn "Please update your ebuild or eclass before this date."
- ewarn ""
-
- export ARCH=$(tc-arch);
-}
-
# @FUNCTION: set_arch_to_pkgmgr
# @DESCRIPTION:
# Set the env ARCH to match what the package manager expects.
@@ -978,7 +972,7 @@ linux-info_pkg_setup() {
linux-info_get_any_version
- [ -n "${CONFIG_CHECK}" ] && check_extra_config;
+ [[ -n "${CONFIG_CHECK}" && -z ${CHECKCONFIG_DONOTHING} ]] && check_extra_config;
}
# @FUNCTION: kernel_get_makefile