2008-08-03 Robert Millan <rmh@aybabtu.com>
Make PCI available on all i386 architectures. * include/grub/i386/pc/pci.h: Move from here ... * include/grub/i386/pci.h: ... to here. * include/grub/i386/pc/pci.h: Remove. * include/grub/i386/efi/pci.h: Remove. * include/grub/x86_64/efi/pci.h: Remove. * include/grub/pci.h: Replace `<grub/machine/pci.h>' with `<grub/cpu/pci.h>'. * conf/i386-coreboot.rmk (pkglib_MODULES): Add `pci' and `lspci'. (pci_mod_SOURCES, pci_mod_CFLAGS, pci_mod_LDFLAGS, lspci_mod_SOURCES) (lspci_mod_CFLAGS, lspci_mod_LDFLAGS): New variables. * conf/i386-ieee1275.rmk: Likewise.
This commit is contained in:
parent
e14a6184ba
commit
dd19c7d795
9 changed files with 275 additions and 43 deletions
|
@ -94,7 +94,8 @@ grub_emu_LDFLAGS = $(LIBCURSES)
|
|||
# Modules.
|
||||
pkglib_MODULES = _linux.mod linux.mod normal.mod \
|
||||
_multiboot.mod multiboot.mod aout.mod \
|
||||
play.mod cpuid.mod serial.mod ata.mod memdisk.mod
|
||||
play.mod cpuid.mod serial.mod ata.mod \
|
||||
memdisk.mod pci.mod lspci.mod
|
||||
|
||||
# For _linux.mod.
|
||||
_linux_mod_SOURCES = loader/i386/pc/linux.c
|
||||
|
@ -159,4 +160,14 @@ memdisk_mod_SOURCES = disk/memdisk.c
|
|||
memdisk_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
memdisk_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For pci.mod
|
||||
pci_mod_SOURCES = bus/pci.c
|
||||
pci_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
pci_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For lspci.mod
|
||||
lspci_mod_SOURCES = commands/lspci.c
|
||||
lspci_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
lspci_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
include $(srcdir)/conf/common.mk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue