]> git.proxmox.com Git - grub2.git/commitdiff
arm64/setjmp: Add missing license macro
authordann frazier <dann.frazier@canonical.com>
Thu, 21 May 2015 16:28:48 +0000 (10:28 -0600)
committerdann frazier <dann.frazier@canonical.com>
Fri, 23 Oct 2015 22:20:09 +0000 (16:20 -0600)
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>
Patch-Name: arm64-setjmp-Add-missing-license-macro.patch
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1459871

grub-core/lib/arm64/setjmp.S

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