[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] unmodified_drivers: enable build of usbfront driver



Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 unmodified_drivers/linux-2.6/Makefile          | 1 +
 unmodified_drivers/linux-2.6/usbfront/Kbuild   | 5 +++++
 unmodified_drivers/linux-2.6/usbfront/Makefile | 3 +++
 3 files changed, 9 insertions(+)
 create mode 100644 unmodified_drivers/linux-2.6/usbfront/Kbuild
 create mode 100644 unmodified_drivers/linux-2.6/usbfront/Makefile

diff --git a/unmodified_drivers/linux-2.6/Makefile 
b/unmodified_drivers/linux-2.6/Makefile
index 159c13e..a5c6967 100644
--- a/unmodified_drivers/linux-2.6/Makefile
+++ b/unmodified_drivers/linux-2.6/Makefile
@@ -5,3 +5,4 @@ obj-m += balloon/
 obj-m += blkfront/
 obj-m += netfront/
 obj-m += scsifront/
+obj-m += usbfront/
diff --git a/unmodified_drivers/linux-2.6/usbfront/Kbuild 
b/unmodified_drivers/linux-2.6/usbfront/Kbuild
new file mode 100644
index 0000000..f44deaa
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/usbfront/Kbuild
@@ -0,0 +1,5 @@
+include $(M)/overrides.mk
+
+obj-m += xen-usb.o
+
+xen-usb-objs := usbfront-hcd.o xenbus.o
diff --git a/unmodified_drivers/linux-2.6/usbfront/Makefile 
b/unmodified_drivers/linux-2.6/usbfront/Makefile
new file mode 100644
index 0000000..64e7acd
--- /dev/null
+++ b/unmodified_drivers/linux-2.6/usbfront/Makefile
@@ -0,0 +1,3 @@
+ifneq ($(KERNELRELEASE),)
+include $(src)/Kbuild
+endif

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.