mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 01:29:27 +00:00
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:
1 parent
2a9bc0169e
commit
e745cf0ca6
175 files changed
+447
-2
No files matched your search
@@ -30,6 +30,14 @@ main (int argc __attribute__ ((unused)),
|
||||
int i;
|
||||
|
||||
printf ("#include <grub/types.h>\n");
|
||||
printf ("#include <grub/dl.h>\n");
|
||||
printf ("\n");
|
||||
|
||||
printf ("/* Under copyright legislature such automated output isn't\n");
|
||||
printf ("covered by any copyright. Hence it's public domain. Public\n");
|
||||
printf ("domain works can be dual-licenced with any license. */\n");
|
||||
printf ("GRUB_MOD_LICENSE (\"GPLv3+\");");
|
||||
printf ("GRUB_MOD_DUAL_LICENSE (\"Public Domain\");");
|
||||
|
||||
#define TAB(op) \
|
||||
printf ("grub_int16_t grub_trig_" #op "tab[] =\n{"); \
|
||||
|
||||
Reference in new issue
Block a user