[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-devel
Subject: [oe] [meta-oe][PATCH 1/3] libftdi: Add ftdi-eeprom support
From: "Daniel Gomez" <daniel () qtec ! com>
Date: 2022-09-29 16:14:34
Message-ID: 20220929161436.64661-1-daniel () qtec ! com
[Download RAW message or body]
Content-Transfer-Encoding: 8bit
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>
---
meta-oe/recipes-support/libftdi/libftdi_1.5.bb | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb \
b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb index b03a0c7f4..bc5897413 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
@@ -20,14 +20,16 @@ inherit cmake binconfig pkgconfig python3native
PACKAGECONFIG ??= ""
PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off \
-DFTDIPP=off,boost" +PACKAGECONFIG[ftdi-eeprom] = \
"-DFTDI_EEPROM=on,-DFTDI_EEPROM=off,libconfuse"
-EXTRA_OECMAKE = "-DSTATICLIBS=off -DEXAMPLES=off -DFTDI_EEPROM=off \
+EXTRA_OECMAKE = "-DSTATICLIBS=off -DEXAMPLES=off \
-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \
-DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \
\
-DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
BBCLASSEXTEND = "native nativesdk"
-PACKAGES += "${PN}-python"
+PACKAGES =+ "${PN}-python ftdi-eeprom"
+FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom"
FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/"
--
2.35.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99009): https://lists.openembedded.org/g/openembedded-devel/message/99009
Mute This Topic: https://lists.openembedded.org/mt/93997897/4455120
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [openembedded-devel@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic