fix some typos in librem-ec-acpi ebuild

This commit is contained in:
projectmoon 2021-07-12 22:01:53 +00:00
parent 441359e5e7
commit b08955fb3f
1 changed files with 2 additions and 1 deletions

View File

@ -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}"