[PATCH 1/4] efi_runtime: Set default value for $KVER

Matt Fleming matt at console-pimps.org
Thu Apr 3 14:23:20 UTC 2014


From: Matt Fleming <matt.fleming at intel.com>

Instead of requiring a value to be specified for $KVER, we can set a
default which will do the right thing in most cases, e.g. build the
efi_runtime module against the running kernel.

Cc: Borislav Petkov <bp at alien8.de>
Signed-off-by: Matt Fleming <matt.fleming at intel.com>
---
 efi_runtime/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/efi_runtime/Makefile b/efi_runtime/Makefile
index a9c0ea7f9df6..b145502f03a4 100644
--- a/efi_runtime/Makefile
+++ b/efi_runtime/Makefile
@@ -1,3 +1,4 @@
+KVER ?= `uname -r`
 obj-m += efi_runtime.o
 all:
 	make -C /lib/modules/$(KVER)/build M=`pwd` modules
-- 
1.8.5.3




More information about the fwts-devel mailing list