1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 16:02:39 +01:00

media-video/usbio-drivers: add 0_p20251030, drop 0_p10102025

This commit is contained in:
2025-11-02 15:10:19 +01:00
parent b6bcff8abe
commit dbf27b8b3e
2 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,39 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT_ID="ee221ecae757d43ab3fb39433f389373b2026109"
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_prepare() {
sed -i '/^KERNELRELEASE/s#:=#?=#1' Makefile || die
default
}
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
}