mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
eclass/linux-mod: Sync with Gentoo
It's from Gentoo commit f59498ed6e49ef1c6e87392e71680877f8a705ca.
This commit is contained in:
parent
cbe659043f
commit
f598342f7f
@ -186,7 +186,6 @@ RDEPEND="
|
||||
${MODULES_OPTIONAL_USE:+)}"
|
||||
DEPEND="${RDEPEND}
|
||||
${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (}
|
||||
sys-apps/sed
|
||||
kernel_linux? ( virtual/linux-sources virtual/libelf )
|
||||
${MODULES_OPTIONAL_USE:+)}"
|
||||
|
||||
@ -653,6 +652,7 @@ linux-mod_src_compile() {
|
||||
einfo "Preparing ${modulename} module"
|
||||
if [[ -n ${ECONF_PARAMS} ]]
|
||||
then
|
||||
eqawarn "This package relies on the deprecated functionality of econf being called in linux-mod_src_compile (ECONF_PARAMS), which will go away in 30 days (20230107) (https://bugs.gentoo.org/340597)"
|
||||
econf ${ECONF_PARAMS} || \
|
||||
die "Unable to run econf ${ECONF_PARAMS}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user