update libftdi recipe
PATCH 1/1 update libftdi recipe
Hi,
below an update for building an up-to-date version of libftdi.
thanks and best regards,
Jaap
---
recipes/libftdi/ftdi-eeprom-native_0.3.bb new file +6 -0
@@ -0,0 +1,6 @@ +require ftdi-eeprom_${PV}.bb + +inherit native + +DEPENDS = "libftdi-native confuse-native" +
recipes/libftdi/ftdi-eeprom_0.3.bb new file +20 -0
@@ -0,0 +1,20 @@ +DESCRIPTION = "A tool for creating, uploading, and erasing the configuration EEPROM for a FT232BM/FT245BM FTDI chip." +HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi" +LICENSE = "GPLv2" +SECTION = "console/utils" + +DEPENDS = "libftdi confuse" + +SRC_URI = " \ + http://www.intra2net.com/en/developer/libftdi/download/ftdi_eeprom-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "331652a593f0b0afd5f2874b37b7973a" +SRC_URI[sha256sum] = "7b40ec5abb2c93362b9636974e4e4715cb588121c1e1da09d7f499ac7f12d056" + +S = "${WORKDIR}/ftdi_eeprom-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-docs" +
recipes/libftdi/libftdi-native_0.18.bb new file +6 -0
@@ -0,0 +1,6 @@ +require libftdi_${PV}.bb + +inherit native + +DEPENDS = "libusb-native cmake-native" +
recipes/libftdi/libftdi_0.18.bb new file +20 -0
@@ -0,0 +1,20 @@ +DESCRIPTION = "A library to talk to FTDI chips: including FT232BM/245BM, FT2232C/D and FT232/245R" +HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi" +LICENSE = "GPLv2" +SECTION = "libs" + +DEPENDS = "libusb" + +SRC_URI = " \ + http://www.intra2net.com/en/developer/libftdi/download/libftdi-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "916f65fa68d154621fc0cf1f405f2726" +SRC_URI[sha256sum] = "5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62" + +inherit autotools cmake + +do_stage() { + autotools_stage_all +} +
recipes/libftdi/libftdi_0.18.bb line 20
Quoted 12 lines · Jaap de Jong
Hi,
below an update for building an up-to-date version of libftdi.
thanks and best regards,
Jaap
---recipes/libftdi/libftdi_0.18.bb new file +4
-0+do_stage() { + autotools_stage_all +} +
Hi,
the lines above arent needed anymore the do_install from inherit autotools is enough.
Bye Henning
Agree on that!
I was able to
bitbake ftdi-eeprom
(which depends on libftdi) from scratch without errors.
Is this different from the stable/2009 branch?
Jaap
Quoted 26 lines · Henning Heinold
recipes/libftdi/libftdi_0.18.bb line 20
Quoted 13 lines · Jaap de Jong
Hi,
below an update for building an up-to-date version of libftdi.
thanks and best regards,
Jaap
---recipes/libftdi/libftdi_0.18.bb new file +4
-0+do_stage() { + autotools_stage_all +} +Hi,
the lines above arent needed anymore the
do_installfrom inherit autotools is enough.Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 9 lines · Jaap de Jong
Agree on that!
I was able to
bitbake ftdi-eeprom
(which depends on libftdi) from scratch without errors.Is this different from the stable/2009 branch?
Jaap
Yes,
dev has a new staging system and we are in the transition.
Bye Henning
Hi
below an updated version of libftdi.
I've dropped the libftdi-native and ftdi-eeprom-native recipes. I don't even know why they are available in earlier versions... When do you need a native recipe?
Jaap de Jong
---
recipes/libftdi/ftdi-eeprom_0.3.bb new file +20 -0
@@ -0,0 +1,20 @@ +DESCRIPTION = "A tool for creating, uploading, and erasing the configuration EEPROM for a FT232BM/FT245BM FTDI chip." +HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi" +LICENSE = "GPLv2" +SECTION = "console/utils" + +DEPENDS = "libftdi confuse" + +SRC_URI = " \ + http://www.intra2net.com/en/developer/libftdi/download/ftdi_eeprom-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "331652a593f0b0afd5f2874b37b7973a" +SRC_URI[sha256sum] = "7b40ec5abb2c93362b9636974e4e4715cb588121c1e1da09d7f499ac7f12d056" + +S = "${WORKDIR}/ftdi_eeprom-${PV}" + +inherit autotools + +EXTRA_OECONF = "--disable-docs" +
recipes/libftdi/libftdi_0.18.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "A library to talk to FTDI chips: including FT232BM/245BM, FT2232C/D and FT232/245R" +HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi" +LICENSE = "GPLv2" +SECTION = "libs" + +DEPENDS = "libusb" + +SRC_URI = " \ + http://www.intra2net.com/en/developer/libftdi/download/libftdi-${PV}.tar.gz \ + " + +SRC_URI[md5sum] = "916f65fa68d154621fc0cf1f405f2726" +SRC_URI[sha256sum] = "5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62" + +inherit autotools cmake +