Implement automatic module license checking according to new GNU
guidelines. * grub-core/kern/dl.c (grub_dl_check_license): New function. (grub_dl_load_core): Use grub_dl_check_license. * include/grub/dl.h (GRUB_MOD_SECTION): New macro. (GRUB_MOD_LICENSE): Likewise. (GRUB_MOD_DUAL_LICENSE): Likewise. All modules updated.
This commit is contained in:
parent
2a9bc0169e
commit
e745cf0ca6
175 changed files with 447 additions and 2 deletions
|
@ -30,6 +30,8 @@
|
|||
#include <grub/efi/uga_draw.h>
|
||||
#include <grub/pci.h>
|
||||
|
||||
GRUB_MOD_LICENSE ("GPLv3+");
|
||||
|
||||
static grub_efi_guid_t uga_draw_guid = GRUB_EFI_UGA_DRAW_GUID;
|
||||
static struct grub_efi_uga_draw_protocol *uga;
|
||||
static grub_uint32_t uga_fb;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue