[oe-commits] org.oe.dev scratcbox-compat.bbclass: New bbclass.

thebohemian commit oe at amethyst.openembedded.net
Mon Sep 1 18:29:14 UTC 2008


scratcbox-compat.bbclass: New bbclass.

Author: thebohemian at openembedded.org
Branch: org.openembedded.dev
Revision: 4dc83fb2fe7f6a2d1912363f0f5d575ef277a6b7
ViewMTN: http://monotone.openembedded.org/revision/info/4dc83fb2fe7f6a2d1912363f0f5d575ef277a6b7
Files:
1
classes/scratchbox-compat.bbclass
Diffs:

#
# mt diff -rb384c5e2d3593861ccd01660d94e43bb59e544f5 -r4dc83fb2fe7f6a2d1912363f0f5d575ef277a6b7
#
#
#
# add_file "classes/scratchbox-compat.bbclass"
#  content [c92b81da78b27c09e13f34a3ce3f5fdfe8507d1c]
#
============================================================
--- classes/scratchbox-compat.bbclass	c92b81da78b27c09e13f34a3ce3f5fdfe8507d1c
+++ classes/scratchbox-compat.bbclass	c92b81da78b27c09e13f34a3ce3f5fdfe8507d1c
@@ -0,0 +1,13 @@
+# By adding this class to your build all binaries get the special rpath
+# "/scratchbox/host_shared/lib/:/scratchbox/tools/lib/"
+# Doing so makes libraries and programs runnable inside the Scratchbox
+# environment as native binaries (not for the CPU that Scratchbox is
+# emulating).
+
+do_configure_prepend () {
+  export LD_RUN_PATH="/scratchbox/host_shared/lib:/scratchbox/tools/lib"
+}
+
+do_compile_prepend () {
+  export LD_RUN_PATH="/scratchbox/host_shared/lib:/scratchbox/tools/lib"
+}






More information about the Openembedded-commits mailing list