[oe-commits] org.oe.dev libftdi: Added ftdi-eeprom from OpenMoko and added missing confuse dependency and libftdi binconfig, pkgconfig and lib_package inherits.
rwhitby commit
openembedded-commits at lists.openembedded.org
Sat Mar 10 05:44:43 UTC 2007
libftdi: Added ftdi-eeprom from OpenMoko and added missing confuse dependency and libftdi binconfig, pkgconfig and lib_package inherits.
Author: rwhitby at nslu2-linux.org
Branch: org.openembedded.dev
Revision: e1a7e4f3b0a021f9cc5035d6536363664dc9e1a3
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e1a7e4f3b0a021f9cc5035d6536363664dc9e1a3
Files:
1
packages/libftdi/files/ftdi_eeprom-0.2-moko.patch
packages/libftdi/ftdi-eeprom-native_0.2.bb
packages/libftdi/ftdi-eeprom_0.2.bb
packages/libftdi/libftdi_0.8.bb
Diffs:
#
# mt diff -r3e3489e64fda8ae164064abcaaa216c7a20641e1 -re1a7e4f3b0a021f9cc5035d6536363664dc9e1a3
#
#
#
# add_file "packages/libftdi/files/ftdi_eeprom-0.2-moko.patch"
# content [84c335d3bccb2d20a22cc4ae30d4d0f471e3c11c]
#
# add_file "packages/libftdi/ftdi-eeprom-native_0.2.bb"
# content [da15821cd5113b73d2cf622bc17550d6b00cc6aa]
#
# add_file "packages/libftdi/ftdi-eeprom_0.2.bb"
# content [a26d2d2559614f307be68d278d9655ad79eaad57]
#
# patch "packages/libftdi/libftdi_0.8.bb"
# from [080df851d8fe425c65691b290fbe007211c4754f]
# to [32013ac9a00dc5cc59e2f9d420f8458fcf1b53d4]
#
============================================================
--- packages/libftdi/files/ftdi_eeprom-0.2-moko.patch 84c335d3bccb2d20a22cc4ae30d4d0f471e3c11c
+++ packages/libftdi/files/ftdi_eeprom-0.2-moko.patch 84c335d3bccb2d20a22cc4ae30d4d0f471e3c11c
@@ -0,0 +1,16 @@
+--- ftdi_eeprom-0.2/ftdi_eeprom/main.c 2004-03-25 19:58:08.000000000 +0100
++++ ftdi_eeprom-0.2-moko/ftdi_eeprom/main.c 2007-02-16 01:23:40.000000000 +0100
+@@ -135,8 +135,11 @@
+
+ i = ftdi_usb_open(&ftdi, 0x0403, 0x6001);
+ if (i != 0) {
+- printf("Sorry, unable to find FTDI USB chip\n");
+- exit (-1);
++ i = ftdi_usb_open(&ftdi, 0x0403, 0x6010);
++ if (i != 0) {
++ printf("Sorry, unable to find FTDI USB chip\n");
++ exit (-1);
++ }
+ }
+ }
+ }
============================================================
--- packages/libftdi/ftdi-eeprom-native_0.2.bb da15821cd5113b73d2cf622bc17550d6b00cc6aa
+++ packages/libftdi/ftdi-eeprom-native_0.2.bb da15821cd5113b73d2cf622bc17550d6b00cc6aa
@@ -0,0 +1,8 @@
+require ftdi-eeprom_${PV}.bb
+
+DEPENDS = "libftdi-native confuse-native"
+
+do_stage() {
+ install -m 0755 ftdi_eeprom/ftdi_eeprom ${STAGING_BINDIR_NATIVE}
+}
+
============================================================
--- packages/libftdi/ftdi-eeprom_0.2.bb a26d2d2559614f307be68d278d9655ad79eaad57
+++ packages/libftdi/ftdi-eeprom_0.2.bb a26d2d2559614f307be68d278d9655ad79eaad57
@@ -0,0 +1,13 @@
+DESCRIPTION = "ftdi-eeprom is a flashing utility for FTDI chips."
+HOMEPAGE = "http://www.intra2net.com/de/produkte/opensource/ftdi"
+LICENSE = "GPL"
+DEPENDS = "libftdi confuse"
+PR = "r1"
+
+SRC_URI = "http://www.intra2net.com/de/produkte/opensource/ftdi/TGZ/ftdi_eeprom-${PV}.tar.gz \
+ file://ftdi_eeprom-0.2-moko.patch;patch=1"
+S = "${WORKDIR}/ftdi_eeprom-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-docs"
============================================================
--- packages/libftdi/libftdi_0.8.bb 080df851d8fe425c65691b290fbe007211c4754f
+++ packages/libftdi/libftdi_0.8.bb 32013ac9a00dc5cc59e2f9d420f8458fcf1b53d4
@@ -8,7 +8,7 @@ S = "${WORKDIR}/libftdi-${PV}"
file://doxygen-configure.patch;patch=1"
S = "${WORKDIR}/libftdi-${PV}"
-inherit autotools
+inherit autotools binconfig pkgconfig lib_package
EXTRA_OECONF = "--disable-docs"
More information about the Openembedded-commits
mailing list