Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
From 8cf5909c6f8e0a892155dea14a07adfad445762d Mon Sep 17 00:00:00 2001
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
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 <hskinnemoen@atmel.com>
---
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

View File

@@ -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

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_GADGETFS_TEST
bool "gadgetfs-test"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Test program for gadgetfs from linux-usb.org
if BR2_PACKAGE_GADGETFS_TEST
config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
bool "use asynchronous i/o"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
select BR2_PACKAGE_LIBAIO
help
Select this to have gadgetfs-test do asynchronous I/O using
the libaio library.
endif
comment "gadgetfs-test needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,25 @@
################################################################################
#
# gadgetfs-test
#
################################################################################
GADGETFS_TEST_SOURCE = gadgetfs-test.tar.bz2
GADGETFS_TEST_SITE = http://mirror.egtvedt.no/avr32linux.org/twiki/pub/Main/GadgetFsTest
GADGETFS_TEST_MAKEOPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
ifeq ($(BR2_PACKAGE_GADGETFS_TEST_USE_AIO),y)
GADGETFS_TEST_DEPENDENCIES = libaio
GADGETFS_TEST_MAKEOPTS += USE_AIO=y
endif
define GADGETFS_TEST_BUILD_CMDS
$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
endef
define GADGETFS_TEST_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
endef
$(eval $(generic-package))