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 <nat...@nathanrossi.com>
---
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(-)

diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb 
b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
index 98c5995a5f..4fc6eb0907 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.4.bb
@@ -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"
-- 
2.18.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to