All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64/setjmp: Add missing license macro
@ 2015-05-21 16:28 dann frazier
  2015-05-30  6:00 ` Andrei Borzenkov
  0 siblings, 1 reply; 5+ messages in thread
From: dann frazier @ 2015-05-21 16:28 UTC (permalink / raw)
  To: grub-devel; +Cc: Leif Lindholm

Including the setjmp module in an arm64-efi image will cause it to
immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by declaring a
GPLv3+ license using the GRUB_MOD_LICENSE macro.

Signed-off-by: dann frazier <dann.frazier@canonical.com>
---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/grub-core/lib/arm64/setjmp.S b/grub-core/lib/arm64/setjmp.S
index adaafe4..eabfd99 100644
--- a/grub-core/lib/arm64/setjmp.S
+++ b/grub-core/lib/arm64/setjmp.S
@@ -17,8 +17,10 @@
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
 	.file	"setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
 	.text
 
 /*
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-01 18:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 16:28 [PATCH] arm64/setjmp: Add missing license macro dann frazier
2015-05-30  6:00 ` Andrei Borzenkov
2015-06-01 13:25   ` Leif Lindholm
2015-06-01 14:06     ` Vladimir 'phcoder' Serbinenko
2015-06-01 18:31       ` Leif Lindholm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.