[oe-commits] org.oe.dev fxload: a firmware uploader for ezusb chips

oe commit openembedded-commits at lists.openembedded.org
Sun Sep 9 20:39:59 UTC 2007


fxload: a firmware uploader for ezusb chips

Author: oe at iss.tu-darmstadt.de
Branch: org.openembedded.dev
Revision: 7b0ea327683e5e4114f21aa64c2f0e5632f4677c
ViewMTN: http://monotone.openembedded.org/revision/info/7b0ea327683e5e4114f21aa64c2f0e5632f4677c
Files:
1
packages/fxload
packages/fxload/files
packages/fxload/files/usbheader.patch
packages/fxload/fxload_0.0.20020411.bb
Diffs:

#
# mt diff -r63dfdf9ceca5c6545ce95b5161eb8b169e91122a -r7b0ea327683e5e4114f21aa64c2f0e5632f4677c
#
# 
# 
# add_dir "packages/fxload"
# 
# add_dir "packages/fxload/files"
# 
# add_file "packages/fxload/files/usbheader.patch"
#  content [1c6d201a1d8d01849fb8e7bf1fd9994daaf9dd6f]
# 
# add_file "packages/fxload/fxload_0.0.20020411.bb"
#  content [8f5dc9164ba46b4d6cef2590eaf07f6d8cac2e4d]
# 
============================================================
--- packages/fxload/files/usbheader.patch	1c6d201a1d8d01849fb8e7bf1fd9994daaf9dd6f
+++ packages/fxload/files/usbheader.patch	1c6d201a1d8d01849fb8e7bf1fd9994daaf9dd6f
@@ -0,0 +1,15 @@
+--- fxload-0.0.20020411.orig/ezusb.c
++++ fxload-0.0.20020411/ezusb.c
+@@ -29,7 +29,11 @@
+ # include  <sys/ioctl.h>
+
+ # include  <linux/version.h>
+-# include  <linux/usb.h>
++#if (LINUX_VERSION_CODE >= 132630)
++# include  <linux/usb/ch9.h>
++#else
++# include  <linux/usb_ch9.h>
++#endif
+ # include  <linux/usbdevice_fs.h>
+
+ # include "ezusb.h"
============================================================
--- packages/fxload/fxload_0.0.20020411.bb	8f5dc9164ba46b4d6cef2590eaf07f6d8cac2e4d
+++ packages/fxload/fxload_0.0.20020411.bb	8f5dc9164ba46b4d6cef2590eaf07f6d8cac2e4d
@@ -0,0 +1,19 @@
+DESCRIPTION = "fxload loads firmware into the ezusb chips"
+AUTHOR = "Stephen Williams, David Brownell"
+HOMEPAGE = "http://linux-hotplug.sourceforge.net/"
+SECTION = "admin"
+LICENSE = "GPL"
+DEPENDS = "linux-libc-headers"
+PR = "r1"
+
+SRC_URI = "http://dfn.dl.sourceforge.net/sourceforge/linux-hotplug/fxload-2002_04_11.tar.gz \
+           file://usbheader.patch;patch=1"
+
+S = "${WORKDIR}/fxload-2002_04_11"
+
+FILES_${PN} = "${base_sbindir}/fxload"
+
+do_install() {
+	mkdir -p ${D}/sbin/
+	cp ${S}/fxload ${D}/sbin/fxload
+}






More information about the Openembedded-commits mailing list