1
0

x11-drivers/evdi: switch to linux-mod-r1.eclass

This commit is contained in:
Ryan Fox 2023-08-11 15:38:17 -07:00
parent 419f920cfd
commit 61a10b3643
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 12 additions and 4 deletions

View File

@ -3,7 +3,7 @@
EAPI=8
inherit linux-mod
inherit linux-mod-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@ -24,7 +24,6 @@ DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"
BDEPEND="sys-kernel/linux-headers"
MODULE_NAMES="evdi(video:${S})"
CONFIG_CHECK="~FB_VIRTUAL ~I2C"
src_prepare() {
@ -32,3 +31,8 @@ src_prepare() {
local KVER=$(cat "${KERNEL_DIR}/include/config/kernel.release")
sed -i "1i KVER := ${KVER}" "${S}/Makefile"
}
src_compile() {
local modlist=( evdi=video )
linux-mod-r1_src_compile
}

View File

@ -3,7 +3,7 @@
EAPI=8
inherit linux-mod
inherit linux-mod-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@ -24,7 +24,6 @@ DEPEND="x11-libs/libdrm"
RDEPEND="${DEPEND}"
BDEPEND="sys-kernel/linux-headers"
MODULE_NAMES="evdi(video:${S})"
CONFIG_CHECK="~FB_VIRTUAL ~I2C"
src_prepare() {
@ -32,3 +31,8 @@ src_prepare() {
local KVER=$(cat "${KERNEL_DIR}/include/config/kernel.release")
sed -i "1i KVER := ${KVER}" "${S}/Makefile"
}
src_compile() {
local modlist=( evdi=video )
linux-mod-r1_src_compile
}