Skip to contentSkip to conversation

libftdi: Extend for nativesdk

PATCH New Nathan Rossi 1 participant 1 message Jul 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
Tested the resulting libftdi on an x86-64 host with a buildtools-tarball containing the icestorm iceprog tool.

For icestorm/iceprog recipe:
https://github.com/nathanrossi/meta-hdl/blob/master/icestorm/icestorm_git.bb

---
 meta-oe/recipes-support/libftdi/libftdi_1.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libftdi/libftdi_1.4.bb +1 -1
index 98c5995a5f..4fc6eb0907 100644
@@ -24,4 +24,4 @@ PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on -DFTDIPP=on,-DFTDI_BUILD_CPP=o
 
 EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.18.0