31 lines
679 B
Bash
31 lines
679 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
CONFIG_CHECK="ACPI_WMI INPUT_SPARSEKMAP"
|
|
|
|
inherit linux-mod-r1
|
|
|
|
DESCRIPTION="Kernel Module for Tuxedo Keyboard"
|
|
HOMEPAGE="https://github.com/tuxedocomputers/tuxedo-keyboard"
|
|
SRC_URI="https://github.com/tuxedocomputers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
PATCHES=( )
|
|
|
|
src_compile() {
|
|
local modlist=(
|
|
clevo_acpi=tuxedo::src
|
|
clevo_wmi=tuxedo::src
|
|
uniwill_wmi=tuxedo::src
|
|
tuxedo_keyboard=tuxedo::src
|
|
tuxedo_io=tuxedo::src/tuxedo_io
|
|
)
|
|
local modargs=( KDIR=${KV_OUT_DIR} )
|
|
|
|
linux-mod-r1_src_compile
|
|
}
|