sys-kernel/librem-ec-acpi: add kernel_linux USE check
This commit is contained in:
parent
9b67105a09
commit
2f25b67385
|
@ -32,6 +32,10 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
|
if ! use kernel_linux ; then
|
||||||
|
die "Unable to install"
|
||||||
|
fi
|
||||||
|
|
||||||
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
|
BUILD_PARAMS="KV=${KV_FULL} KSRC=${KERNEL_DIR} KERNELDIR=${KV_DIR}"
|
||||||
linux-mod_pkg_setup
|
linux-mod_pkg_setup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue