28f7f8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
28f7f8
From: dann frazier <dann.frazier@canonical.com>
28f7f8
Date: Thu, 21 May 2015 10:28:48 -0600
28f7f8
Subject: [PATCH] arm64/setjmp: Add missing license macro
28f7f8
28f7f8
Including the setjmp module in an arm64-efi image will cause it to
28f7f8
immediately exit with an "incompatible license" error.
28f7f8
28f7f8
The source file includes a GPLv3+ boilerplate, so fix this by declaring a
28f7f8
GPLv3+ license using the GRUB_MOD_LICENSE macro.
28f7f8
28f7f8
Signed-off-by: dann frazier <dann.frazier@canonical.com>
28f7f8
---
28f7f8
 grub-core/lib/arm64/setjmp.S | 2 ++
28f7f8
 1 file changed, 2 insertions(+)
28f7f8
28f7f8
diff --git a/grub-core/lib/arm64/setjmp.S b/grub-core/lib/arm64/setjmp.S
28f7f8
index adaafe40f71..eabfd99b296 100644
28f7f8
--- a/grub-core/lib/arm64/setjmp.S
28f7f8
+++ b/grub-core/lib/arm64/setjmp.S
28f7f8
@@ -17,8 +17,10 @@
28f7f8
  */
28f7f8
 
28f7f8
 #include <grub/symbol.h>
28f7f8
+#include <grub/dl.h>
28f7f8
 
28f7f8
 	.file	"setjmp.S"
28f7f8
+GRUB_MOD_LICENSE "GPLv3+"
28f7f8
 	.text
28f7f8
 
28f7f8
 /*