Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: gadgetfs-test

Buildroot ulf at uclibc.org 1 participant 1 message Jul 28, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-07-28 08:30:20 -0700 (Sat, 28 Jul 2007) New Revision: 19289

Log:
Add gadgetfs package

Added:
trunk/buildroot/package/gadgetfs-test/ trunk/buildroot/package/gadgetfs-test/Config.in trunk/buildroot/package/gadgetfs-test/gadgetfs-test-fix-usb-ch9-include.patch trunk/buildroot/package/gadgetfs-test/gadgetfs-test-rename-include-usb_gadgetfs-to-usb-dir.patch trunk/buildroot/package/gadgetfs-test/gadgetfs-test.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -206,6 +206,7 @@
 source "package/dm/Config.in"
 source "package/dmraid/Config.in"
 source "package/e2fsprogs/Config.in"
+source "package/gadgetfs-test/Config.in"
 source "package/hal/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/hdparm/Config.in"

Added: trunk/buildroot/package/gadgetfs-test/Config.in
===================================================================

buildroot/package/gadgetfs-test/Config.in +14 -0
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_GADGETFS_TEST
+	bool "gadgetfs-test"
+	default n
+	help
+	  Test program for gadgetfs from linux-usb.org
+
+config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
+	bool "use asynchronous i/o"
+	default n
+	depends on BR2_PACKAGE_GADGETFS_TEST
+	select BR2_PACKAGE_LIBAIO
+	help
+	  Select this to have gadgetfs-test do asynchronous I/O using
+	  the libaio library.

Added: trunk/buildroot/package/gadgetfs-test/gadgetfs-test-fix-usb-ch9-include.patch
===================================================================

buildroot/package/gadgetfs-test/gadgetfs-test-fix-usb-ch9-include.patch +40 -0
@@ -0,0 +1,40 @@
+From 8cf5909c6f8e0a892155dea14a07adfad445762d Mon Sep 17 00:00:00 2001
+From: Haavard Skinnemoen <[email protected]>
+Date: Sat, 23 Jun 2007 18:34:09 +0200
+Subject: [PATCH] Include usb/ch9.h instead of usb_ch9.h
+
+Signed-off-by: Haavard Skinnemoen <[email protected]>
+---
+ usb.c       |    2 +-
+ usbstring.c |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/usb.c b/usb.c
+index ea6c7de..b161154 100644
+--- a/usb.c
++++ b/usb.c
+@@ -35,7 +35,7 @@
+ 
+ #include <linux/types.h>
+ #include <linux/usb_gadgetfs.h>
+-#include <linux/usb_ch9.h>
++#include <linux/usb/ch9.h>
+ 
+ #ifdef	AIO
+ /* this aio code works with libaio-0.3.106 */
+diff --git a/usbstring.c b/usbstring.c
+index 4bf2965..993acc2 100644
+--- a/usbstring.c
++++ b/usbstring.c
+@@ -11,7 +11,7 @@
+ #include <string.h>
+ 
+ #include <linux/types.h>
+-#include <linux/usb_ch9.h>
++#include <linux/usb/ch9.h>
+ 
+ #include "usbstring.h"
+ 
+-- 
+1.5.2.2
+

Added: trunk/buildroot/package/gadgetfs-test/gadgetfs-test-rename-include-usb_gadgetfs-to-usb-dir.patch
===================================================================

buildroot/package/gadgetfs-test/gadgetfs-test-rename-include-usb_gadgetfs-to-usb-dir.patch +12 -0
@@ -0,0 +1,12 @@
+diff -upr gadgetfs-test-orig/usb.c gadgetfs-test/usb.c
+--- gadgetfs-test-orig/usb.c	2007-07-18 14:38:38.000000000 +0200
++++ gadgetfs-test/usb.c	2007-07-18 15:33:04.000000000 +0200
+@@ -34,7 +34,7 @@
+ #include <asm/byteorder.h>
+ 
+ #include <linux/types.h>
+-#include <linux/usb_gadgetfs.h>
++#include <linux/usb/gadgetfs.h>
+ #include <linux/usb/ch9.h>
+ 
+ #ifdef	AIO

Added: trunk/buildroot/package/gadgetfs-test/gadgetfs-test.mk
===================================================================

buildroot/package/gadgetfs-test/gadgetfs-test.mk +51 -0

51 lines not on this page · raw message