arm64/setjmp: Add missing license macro
authordann frazier <dann.frazier@canonical.com>
Thu, 21 May 2015 16:28:48 +0000 (10:28 -0600)
committerLeif Lindholm <leif.lindholm@linaro.org>
Mon, 1 Jun 2015 16:02:04 +0000 (17:02 +0100)
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

index adaafe4..eabfd99 100644 (file)
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
        .file   "setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
        .text
 
 /*