diff options
| author | Daniel Gomez <daniel@qtec.com> | 2022-09-29 18:14:34 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-29 13:32:16 -0700 |
| commit | 39c40a361a60bcf9d985a886fd946ffe6e0eae5b (patch) | |
| tree | 276c912ea513f62417afec4c976ef52a2cb21bbe | |
| parent | 26ad773c4c74c1c6b132acc89ca14ee03dfcc01d (diff) | |
| download | meta-openembedded-39c40a361a60bcf9d985a886fd946ffe6e0eae5b.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/libftdi/libftdi_1.5.bb | 6 |
1 files 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 b03a0c7f4a..bc5897413f 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 | |||
| 20 | 20 | ||
| 21 | PACKAGECONFIG ??= "" | 21 | PACKAGECONFIG ??= "" |
| 22 | PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost" | 22 | PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=off -DFTDIPP=off,boost" |
| 23 | PACKAGECONFIG[ftdi-eeprom] = "-DFTDI_EEPROM=on,-DFTDI_EEPROM=off,libconfuse" | ||
| 23 | 24 | ||
| 24 | EXTRA_OECMAKE = "-DSTATICLIBS=off -DEXAMPLES=off -DFTDI_EEPROM=off \ | 25 | EXTRA_OECMAKE = "-DSTATICLIBS=off -DEXAMPLES=off \ |
| 25 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ | 26 | -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ |
| 26 | -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \ | 27 | -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \ |
| 27 | -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" | 28 | -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" |
| 28 | 29 | ||
| 29 | BBCLASSEXTEND = "native nativesdk" | 30 | BBCLASSEXTEND = "native nativesdk" |
| 30 | 31 | ||
| 31 | PACKAGES += "${PN}-python" | 32 | PACKAGES =+ "${PN}-python ftdi-eeprom" |
| 32 | 33 | ||
| 34 | FILES:ftdi-eeprom = "${bindir}/ftdi_eeprom" | ||
| 33 | FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" | 35 | FILES:${PN}-python = "${libdir}/${PYTHON_DIR}/site-packages/" |
