sys-kernel/librem-ec-acpi: add kernel_linux USE check

This commit is contained in:
projectmoon 2022-11-09 09:17:48 +01:00
parent 9b67105a09
commit 2f25b67385
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ src_prepare() {
}
pkg_setup() {
if ! use kernel_linux ; then
die "Unable to install"
fi
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
linux-mod_pkg_setup
}