enable usbserial on grub-emu
This commit is contained in:
parent
a531fd134d
commit
aa86530e38
1 changed files with 24 additions and 0 deletions
|
@ -70,6 +70,30 @@ usbms_mod_SOURCES = disk/usbms.c
|
|||
usbms_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
usbms_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For serial.mod.
|
||||
pkglib_MODULES += usbserial_common.mod
|
||||
usbserial_common_mod_SOURCES = bus/usb/serial/common.c
|
||||
usbserial_common_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
usbserial_common_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For serial.mod.
|
||||
pkglib_MODULES += usbserial_pl2303.mod
|
||||
usbserial_pl2303_mod_SOURCES = bus/usb/serial/pl2303.c
|
||||
usbserial_pl2303_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
usbserial_pl2303_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For serial.mod.
|
||||
pkglib_MODULES += usbserial_ftdi.mod
|
||||
usbserial_ftdi_mod_SOURCES = bus/usb/serial/ftdi.c
|
||||
usbserial_ftdi_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
usbserial_ftdi_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
# For serial.mod.
|
||||
pkglib_MODULES += serial.mod
|
||||
serial_mod_SOURCES = term/serial.c
|
||||
serial_mod_CFLAGS = $(COMMON_CFLAGS)
|
||||
serial_mod_LDFLAGS = $(COMMON_LDFLAGS)
|
||||
|
||||
grub_emu_LDFLAGS += $(LIBUSB)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue