summaryrefslogtreecommitdiffstats
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:42:20 +0100
commit093ed41b0f0d89cb6344acdf6bb62cb9ca597f2f (patch)
tree56d957638ae1769a111c9bb178cada565d8c9740 /meta/classes/pythonnative.bbclass
parent5bdd9988d9e64814191fb7480d6a4c1355b019cc (diff)
downloadpoky-093ed41b0f0d89cb6344acdf6bb62cb9ca597f2f.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. (From OE-Core rev: a2e554f731437545e9483a7a73e6847c03f6f48a) 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 @@
1PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
2PATH_prepend = "${STAGING_BINDIR_NATIVE}/python-native:"
3DEPENDS += " python-native "