mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (40 commits) kbuild: trivial fixes in Makefile kbuild: adding symbols in Kconfig and defconfig to TAGS kbuild: replace abort() with exit(1) kbuild: support for %.symtypes files kbuild: fix silentoldconfig recursion kbuild: add option for stripping modules while installing them kbuild: kill some false positives from modpost kbuild: export-symbol usage report generator kbuild: fix make -rR breakage kbuild: append -dirty for updated but uncommited changes kbuild: append git revision for all untagged commits kbuild: fix module.symvers parsing in modpost kbuild: ignore make's built-in rules & variables kbuild: bugfix with initramfs kbuild: modpost build fix kbuild: check license compatibility when building modules kbuild: export-type enhancement to modpost.c kbuild: add dependency on kernel.release to the package targets kbuild: `make kernelrelease' speedup kconfig: KCONFIG_OVERWRITECONFIG ...
This commit is contained in:
commit
2a2ed2db35
48 changed files with 2739 additions and 1658 deletions
|
@ -44,6 +44,7 @@
|
|||
#include <asm/uaccess.h>
|
||||
#include <asm/semaphore.h>
|
||||
#include <asm/cacheflush.h>
|
||||
#include <linux/license.h>
|
||||
|
||||
#if 0
|
||||
#define DEBUGP printk
|
||||
|
@ -1251,16 +1252,6 @@ static void layout_sections(struct module *mod,
|
|||
}
|
||||
}
|
||||
|
||||
static inline int license_is_gpl_compatible(const char *license)
|
||||
{
|
||||
return (strcmp(license, "GPL") == 0
|
||||
|| strcmp(license, "GPL v2") == 0
|
||||
|| strcmp(license, "GPL and additional rights") == 0
|
||||
|| strcmp(license, "Dual BSD/GPL") == 0
|
||||
|| strcmp(license, "Dual MIT/GPL") == 0
|
||||
|| strcmp(license, "Dual MPL/GPL") == 0);
|
||||
}
|
||||
|
||||
static void set_license(struct module *mod, const char *license)
|
||||
{
|
||||
if (!license)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue