x11-drivers/evdi: switch to linux-mod-r1.eclass
This commit is contained in:
parent
419f920cfd
commit
61a10b3643
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user