]> git.proxmox.com Git - grub2.git/commit - configure.ac
2009-02-08 Marco Gerards <marco@gnu.org>
authorrobertmh <robertmh@localhost>
Sun, 8 Feb 2009 17:58:32 +0000 (17:58 +0000)
committerrobertmh <robertmh@localhost>
Sun, 8 Feb 2009 17:58:32 +0000 (17:58 +0000)
commitd64399b562efdc862fc76ed509f8977085138626
tree2868cd2edd63d871d1bf6a59754fc983044b5093
parent2b40d6bb9f61e0620a32ca276d1ef75cf69c8a41
2009-02-08  Marco Gerards  <marco@gnu.org>

        * Makefile.in (enable_grub_emu_usb): New variable.
        * conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/scsi.c'.
        (grub_emu_SOURCES) [grub_emu_SOURCES]: Add `disk/usbms.c',
        `util/usb.c', `bus/usb/usb.c' and `commands/usbtest.c'.
        (grub_emu_LDFLAGS): Add `$(LIBUSB)'.
        (pkglib_MODULES): Add `usb.mod', `uhci.mod', `ohci.mod',
        `usbtest.mod' and `usbms.mod'.
        (usb_mod_SOURCES, usb_mod_CFLAGS, usb_mod_LDFLAGS)
        (usbtest_mod_SOURCES, usbtest_mod_CFLAGS, usbtest_mod_LDFLAGS)
        (uhci_mod_SOURCES, uhci_mod_CFLAGS, uhci_mod_LDFLAGS,
        (ohci_mod_SOURCES, ohci_mod_CFLAGS, ohci_mod_LDFLAGS)
        (usbms_mod_SOURCES, usbms_mod_CFLAGS, usbms_mod_LDFLAGS): New
        variables.

        * disk/usbms.c: New file.

        * include/grub/usb.h: Likewise.

        * include/grub/usbtrans.h: Likewise.

        * include/grub/usbdesc.h: Likewise.

        * bus/usb/usbtrans.c: Likewise.

        * bus/usb/ohci.c: Likewise.

        * bus/usb/uhci.c: Likewise.

        * bus/usb/usbhub.c: Likewise.

        * bus/usb/usb.c: Likewise.

        * commands/usbtest.c: Likewise.

        * util/usb.c: Likewise.

        * include/grub/err.h (grub_err_t): Add `GRUB_ERR_IO'.

        * configure.ac: Test for libusb presence.

        * util/grub-emu.c (main) [HAVE_LIBUSB_H]: Call `grub_libusb_init'.
21 files changed:
ChangeLog
DISTLIST
Makefile.in
bus/usb/ohci.c [new file with mode: 0644]
bus/usb/uhci.c [new file with mode: 0644]
bus/usb/usb.c [new file with mode: 0644]
bus/usb/usbhub.c [new file with mode: 0644]
bus/usb/usbtrans.c [new file with mode: 0644]
commands/usbtest.c [new file with mode: 0644]
conf/i386-pc.mk
conf/i386-pc.rmk
config.h.in
configure
configure.ac
disk/usbms.c [new file with mode: 0644]
include/grub/err.h
include/grub/usb.h [new file with mode: 0644]
include/grub/usbdesc.h [new file with mode: 0644]
include/grub/usbtrans.h [new file with mode: 0644]
util/grub-emu.c
util/usb.c [new file with mode: 0644]