diff options
| -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/" |
