media-tv/v4l-dvb-saa716x: fix pkgcheck VariableScope error

remove use of variable 'EROOT' in 'src_compile'
EAPI 8

Closes: https://bugs.gentoo.org/836080
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/24778
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Martin Dummer
2022-03-27 16:10:04 +02:00
committed by Joonas Niilola
parent fd1d71855a
commit 67854481c9

View File

@@ -1,7 +1,7 @@
# Copyright 2020 Gentoo Authors
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit linux-info linux-mod
@@ -45,6 +45,6 @@ src_compile() {
kernel_is le 5 0 && BUILD_PARAMS="SUBDIRS" || BUILD_PARAMS="M"
BUILD_PARAMS+="=${S}/linux/drivers/media/common/saa716x CONFIG_SAA716X_CORE=m \
CONFIG_DVB_SAA716X_FF=m CONFIG_DVB_SAA716X_BUDGET=m CONFIG_DVB_SAA716X_HYBRID=m"
addpredict "${EROOT}"/usr/src/linux/
addpredict /usr/src/linux/
linux-mod_src_compile
}