aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/pythonnative.bbclass
diff options
context:
space:
mode:
authorMorgan Little <morgan.little@windriver.com>2012-07-19 13:46:06 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-22 11:40:07 +0100
commita2e554f731437545e9483a7a73e6847c03f6f48a (patch)
tree16a72d2bee1d5eabfec52a4c606e4f18f295e20f /meta/classes/pythonnative.bbclass
parentf8a87fd585fc199a7c7cff81d11fdc35b16cf3d2 (diff)
downloadopenembedded-core-contrib-a2e554f731437545e9483a7a73e6847c03f6f48a.tar.gz
python-native: Put binaries in seperate directory
Update python-native to install the binaries in the python-native directory, add pythonnative.bbclass to let recipes that need python-native use the binaries and update disutils access the new binaries. Update distutils-base to inherit pythonnative. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r--meta/classes/pythonnative.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
new file mode 100644
index 0000000000..bc346da58d
--- /dev/null
+++ b/meta/classes/pythonnative.bbclass
@@ -0,0 +1,3 @@
+PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
+PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:"
+DEPENDS += " python-native "