diff --git a/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild b/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild index 490090c..54d43da 100644 --- a/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild +++ b/sys-kernel/librem-ec-acpi/librem-ec-acpi-0.9.1.ebuild @@ -20,12 +20,13 @@ BUILD_TARGETS="clean all" src_prepare() { default - # Makefile hardcoded to point at running kernel + # Makefile hardcoded to point at running kernel # but we want the user-chosen kernel. linux-info_get_any_version sed -i "s/\$(shell uname -r)/${KV_FULL}/" Makefile \ || die "could not set kernel version in makefile" } + pkg_setup() { linux-mod_pkg_setup BUILD_PARAMS="KERNELDIR=${KV_DIR}"