Commit Graph

28 Commits

Author SHA1 Message Date
Khem Raj 79858c7b95 Revert "libftdi: Fix missing ftdi_eeprom"
This reverts commit 98a4af1f78.
2024-08-05 09:54:35 -07:00
Przemyslaw Zegan 98a4af1f78 libftdi: Fix missing ftdi_eeprom
Due to the incorrect subpackage name, the ftdi_eeprom does not placed in the generated image. This patch fixes it.

Signed-off-by: Przemyslaw Zegan <przemyslaw.zegan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-29 13:17:26 -07:00
Alexandre Truong dcddf88caf libftdi: include UPSTREAM_CHECK_URI to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI fix UNKNOWN_BROKEN status from
running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:37 -07:00
alperak d3a16ad4ae Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory path
The following paths have been replaced with PYTHON_SITEPACKAGES_DIR:

- "${libdir}/${PYTHON_DIR}/site-packages"
- "${libdir}/python${PYTHON_BASEVERSION}/site-packages"
- "${libdir}/python*/site-packages"
- "${libdir}/python3.*/site-packages"

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-15 21:01:20 -07:00
Khem Raj 2aae56d0a7 libftdi: Remove sysroot paths from .cmake files
Fixes
WARNING: libftdi-1.5-r0 do_package_qa: QA Issue: File /usr/lib/cmake/libftdi1/LibFTDI1Config.cmake in package libftdi-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-05 19:54:57 -07:00
Daniel Gomez 39c40a361a libftdi: Add ftdi-eeprom support
Add ftdi-eeprom support. Note: Prepend ftdi-eeprom PACKAGE to avoid
ftdi_eeprom to be installed in the default PN package.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 13:32:16 -07:00
Matthias Klein 73b09ba5cb libftdi: update to 1.5
Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-09 22:59:41 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Kory Maincent 19ff9afd65 libftdi: add swig-native to dependencies
The build of libftdi-native return
Error: Unable to find 'swig.swg'
Error: Unable to find 'python.swg'
Add swig-native in the dependencies to fix it.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-13 09:53:29 -08:00
Khem Raj c53d81d763 libftdi: Add target deps for python bindings
helps linking with right libraries for python bindings

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-24 01:03:09 -07:00
Nathan Rossi e9fa640dd7 libftdi: Extend for nativesdk
Enable the building of libftdi for nativesdk targets. Enabling nativesdk
builds allows for the building and packaging of tools that use libftdi
for programming/debugging of boards and devices. This enables the
ability to package a complete set of development tools for a target
device as a buildtools-tarball deployable.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:19:16 -07:00
Trevor Woerner c3715c4990 libftdi: variable cleanup
Reorder recipe variables according to:

	https://www.openembedded.org/wiki/Styleguide

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 12:56:19 -07:00
Trevor Woerner 8497426b60 libftdi: rely on cmake.bbclass to put cmake package files in dev package
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and
${datadir}/cmake end up in the dev package, so recipes no longer need to
provide custom packaging rules to handles these files.

	http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93

Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29 09:16:28 -07:00
Jonathan Liu 4da66bc389 libftdi: update to 1.4
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-13 13:20:58 +02:00
Joshua Lock efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Jonathan Liu 3ff2e225b7 libftdi: update to 1.3
COPYING.LIB license checksum has changed to fix the FSF address.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:29 +02:00
Martin Jansa da8e151e02 libftdi: Fix cpp-wrapper options
* fixes following issue found with test-dependencies
  WARN: libftdi: libftdi rdepends on libgcc, but it isn't a build dependency?
  WARN: libftdi: libftdi rdepends on libstdc++, but it isn't a build dependency?
* when boost is found it was still building libftdipp1.so.2.2.0
* as shown in log.do_package:
  DEBUG: calculating shlib requirements for libftdi
  DEBUG: libftdi: Dependency libftdi1.so.2 requires package libftdi (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libusb-1.0.so.0 requires package libusb1 (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libstdc++.so.6 requires package libstdc++ (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libgcc_s.so.1 requires package libgcc (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdipp1.so.2.2.0)
  DEBUG: libftdi: Dependency libusb-1.0.so.0 requires package libusb1 (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdi1.so.2.2.0)
  DEBUG: libftdi: Dependency libc.so.6 requires package glibc (used by files: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/libftdi/1.2-r0/packages-split/libftdi/usr/lib/libftdi1.so.2.2.0)
  DEBUG: Python function package_do_shlibs finished

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:27:28 +01:00
Jonathan Liu 805cae56dd libftdi: update to 1.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:40:40 +02:00
Yi Zhao beffd4f741 libftdi: set correct LIB_SUFFIX for multilib
Fix QA issue when enable multilib:
ERROR: QA Issue: libftdi: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libftdipp1.so
  /usr/lib/libftdi1.so
  /usr/lib/libftdipp1.so.2.1.0
  /usr/lib/libftdi1.so.2
  /usr/lib/libftdipp1.a
  /usr/lib/libftdipp1.so.2
  [snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-08-31 19:30:54 +02:00
Andre McCurdy 22b1736acc libftdi: remove libtool-m4.patch, leftover from 0.19 -> 1.1 update
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 09:35:52 +01:00
Otavio Salvador 5e869036a0 libftdi: Fix license format QA error
Fix following QA error:

,----
| WARNING: Recipe libftdi, LICENSE (LGPLv2.1 GPLv2) has invalid format,
|     LICENSES must have operator "([&|() ])" between them.
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-31 16:32:31 +01:00
Raphael Silva dc794a8570 libftdi: update to 1.1
Previous version was 0.19 but it had a failing recipe due to
the fact that libusb was not detect during do_configure.
This problem does not happen in version 1.1.

Signed-off-by: Mario Goulart <mario.goulart@gmail.com>
Signed-off-by: Raphael Silva <rapphil@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-12-10 13:33:29 +01:00
Martin Jansa 38a2bd6463 libftdi, soft66: Blacklist, because of libftdi is broken without libusb-config
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 12:20:21 +02:00
Martin Jansa 3b315a2aeb libftdi: add PACKAGECONFIG for cpp-wrapper
* also fixes
  WARNING: QA Issue: libftdi: The compile log indicates that host include and/or library paths were used.
           Please check the log '/OE/oe-core/tmp-eglibc/work/x86_64-oe-linux/libftdi/0.19-r1/temp/log.do_compile' for more information.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:12 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Ertsaas ca82ad8f88 libftid: Change to use GPLv2 intead of GPLv2-RLE.
libftdi itself is licensed under LGPLv2, with some parts (eeprom programmer) is
licensed under GPLv2. There doesn't seem to be any part licensed under a
GPLv2-RLE variation of GPLv2, and so we should use GPLv2 instead of
GPLv2-RLE.

Signed-off-by: Martin Ertsaas <mertsas@cisco.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-10 12:34:14 +02:00
Koen Kooi cd3154f945 libftdi: import 0.18 from OE classic, update to 0.19
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-10-24 16:24:23 +02:00