From 7c74a89a97979be510d33ba27c8842646ebbf499 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Wed, 26 Aug 2015 16:12:57 -0400 Subject: [PATCH] rust.inc: remove fixme regarding -runtime and commented hack for cross providing native --- recipes/rust/rust.inc | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index a117928..aad93a1 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -405,21 +405,3 @@ do_install_class-cross () { ## }}} BBCLASSEXTEND = "cross native" - -# FIXME: use FILES to create a -runtime (not -native) package -# $PREFIX/lib/rustlib/`rust_triple`/lib/* contains the runtime libraries (and rlibs) -# Need to copy the *.so files to the appropriate target path -# cp $prefix/lib/rustlib/`rust_triple "${TARGET_ARCH}" "${TARGET_VENDOR}" "${TARGET_OS}"`/lib/*.so ${target_libdir}/ - -## This is a hack to have -cross provide -native, which doesn't quite work -#python cross_virtclass_provides_native_handler () { -# classextend = e.data.getVar('BBCLASSEXTEND', True) or "" -# if "cross" not in classextend: -# return -# pn = e.data.getVar("PN", True) -# if not pn.endswith("-cross"): -# return -# e.data.prependVar("PROVIDES", "rust-native ") -#} -#addhandler cross_virtclass_provides_native_handler -#cross_virtclass_provides_native_handler[eventmask] = "bb.event.RecipePreFinalise"