1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 11:42:40 +01:00

media-video/usbio-drivers: add new ebuild

This commit is contained in:
2025-10-21 22:13:18 +02:00
parent b3dff781b9
commit 5a9b5cb19f
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT_ID="774890f017eaa000df0647965a627f8738dcea71"
inherit linux-mod-r1 toolchain-funcs
DESCRIPTION="USBIO drivers for Meteor Lake, Arrow Lake, Lunar Lake and Panther Lake platforms"
HOMEPAGE="https://github.com/intel/usbio-drivers"
SRC_URI="https://github.com/intel/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
pkg_setup() {
linux-mod-r1_pkg_setup
export KERNELRELEASE=${KV_FULL}
}
src_compile() {
local modlist=(
usbio=kernel/drivers/misc:::all
gpio-usbio=kernel/drivers/misc:::all
i2c-usbio=kernel/drivers/misc:::all
)
linux-mod-r1_src_compile
}