Fix symbols appearing in several modules in linux*.
If same symbol is provided by 2 modules its semantics are undefined. Avoid this by depending rather than double-including files.
This commit is contained in:
parent
ec4630c2b5
commit
547d8201cf
1 changed files with 1 additions and 6 deletions
|
@ -773,6 +773,7 @@ module = {
|
||||||
module = {
|
module = {
|
||||||
name = boot;
|
name = boot;
|
||||||
common = commands/boot.c;
|
common = commands/boot.c;
|
||||||
|
common = lib/cmdline.c;
|
||||||
i386_pc = lib/i386/pc/biosnum.c;
|
i386_pc = lib/i386/pc/biosnum.c;
|
||||||
enable = x86;
|
enable = x86;
|
||||||
enable = emu;
|
enable = emu;
|
||||||
|
@ -1684,8 +1685,6 @@ module = {
|
||||||
module = {
|
module = {
|
||||||
name = linux16;
|
name = linux16;
|
||||||
common = loader/i386/pc/linux.c;
|
common = loader/i386/pc/linux.c;
|
||||||
common = loader/linux.c;
|
|
||||||
common = lib/cmdline.c;
|
|
||||||
enable = x86;
|
enable = x86;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1720,7 +1719,6 @@ module = {
|
||||||
cppflags = "-DGRUB_USE_MULTIBOOT2";
|
cppflags = "-DGRUB_USE_MULTIBOOT2";
|
||||||
|
|
||||||
common = loader/multiboot.c;
|
common = loader/multiboot.c;
|
||||||
common = lib/cmdline.c;
|
|
||||||
common = loader/multiboot_mbi2.c;
|
common = loader/multiboot_mbi2.c;
|
||||||
enable = x86;
|
enable = x86;
|
||||||
enable = mips;
|
enable = mips;
|
||||||
|
@ -1729,7 +1727,6 @@ module = {
|
||||||
module = {
|
module = {
|
||||||
name = multiboot;
|
name = multiboot;
|
||||||
common = loader/multiboot.c;
|
common = loader/multiboot.c;
|
||||||
common = lib/cmdline.c;
|
|
||||||
x86 = loader/i386/multiboot_mbi.c;
|
x86 = loader/i386/multiboot_mbi.c;
|
||||||
extra_dist = loader/multiboot_elfxx.c;
|
extra_dist = loader/multiboot_elfxx.c;
|
||||||
enable = x86;
|
enable = x86;
|
||||||
|
@ -1737,7 +1734,6 @@ module = {
|
||||||
|
|
||||||
module = {
|
module = {
|
||||||
name = xen_boot;
|
name = xen_boot;
|
||||||
common = lib/cmdline.c;
|
|
||||||
arm64 = loader/arm64/xen_boot.c;
|
arm64 = loader/arm64/xen_boot.c;
|
||||||
enable = arm64;
|
enable = arm64;
|
||||||
};
|
};
|
||||||
|
@ -1754,7 +1750,6 @@ module = {
|
||||||
arm = loader/arm/linux.c;
|
arm = loader/arm/linux.c;
|
||||||
arm64 = loader/arm64/linux.c;
|
arm64 = loader/arm64/linux.c;
|
||||||
common = loader/linux.c;
|
common = loader/linux.c;
|
||||||
common = lib/cmdline.c;
|
|
||||||
enable = noemu;
|
enable = noemu;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue