diff mbox

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

Message ID 1396535003-28253-2-git-send-email-matt@console-pimps.org
State Accepted
Headers show

Commit Message

Matt Fleming April 3, 2014, 2:23 p.m. UTC
From: Matt Fleming <matt.fleming@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@alien8.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
---
 efi_runtime/Makefile | 1 +
 1 file changed, 1 insertion(+)

Comments

Colin Ian King April 3, 2014, 2:58 p.m. UTC | #1
On 03/04/14 15:23, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@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@alien8.de>
> Signed-off-by: Matt Fleming <matt.fleming@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
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Borislav Petkov April 4, 2014, 7:20 a.m. UTC | #2
On Thu, Apr 03, 2014 at 03:23:20PM +0100, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@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@alien8.de>
> Signed-off-by: Matt Fleming <matt.fleming@intel.com>

Good.

Acked-by: Borislav Petkov <bp@suse.de>
Ivan Hu April 18, 2014, 7:41 a.m. UTC | #3
On 04/03/2014 10:23 PM, Matt Fleming wrote:
> From: Matt Fleming <matt.fleming@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@alien8.de>
> Signed-off-by: Matt Fleming <matt.fleming@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
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

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