blob: 60a285907814a28768f4083c49bde08c7350d790 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Fred78290/nct6687d"
else
COMMIT="2189bf7c301b720d47f24d7b3e1413786cf00df5"
SRC_URI="https://github.com/Fred78290/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
KEYWORDS="~amd64"
fi
DESCRIPTION="Kernel module for the Nuvoton NCT6687-R"
HOMEPAGE="https://github.com/Fred78290/nct6687d"
LICENSE="GPL-2"
SLOT="0"
src_compile() {
local modlist=( nct6687=kernel/drivers/hwmon:::build )
local modargs=( KVER="${KV_FULL}" KDIR="${KV_OUT_DIR}" )
linux-mod-r1_src_compile
}
|