summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-19 00:26:06 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-19 00:26:06 +0000
commit0309edc8d99226edf7f3c29b9534a58e00cd5e1d (patch)
treea40666dbeed6dbbb383331347f7e3c48a4ddd822 /meta/packages
parent5b44fa1f2929b850cd9b36df6db10a14d2b99a39 (diff)
downloadopenembedded-core-0309edc8d99226edf7f3c29b9534a58e00cd5e1d.tar.gz
openembedded-core-0309edc8d99226edf7f3c29b9534a58e00cd5e1d.tar.bz2
openembedded-core-0309edc8d99226edf7f3c29b9534a58e00cd5e1d.tar.xz
openembedded-core-0309edc8d99226edf7f3c29b9534a58e00cd5e1d.zip
python-native: Convert to use do_install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/python/python-native_2.5.1.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/packages/python/python-native_2.5.1.bb b/meta/packages/python/python-native_2.5.1.bb
index df3d3c899..421bcaf1b 100644
--- a/meta/packages/python/python-native_2.5.1.bb
+++ b/meta/packages/python/python-native_2.5.1.bb
@@ -27,6 +27,8 @@ EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \
EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS="" STAGING_LIBDIR=${STAGING_LIBDIR} \
STAGING_INCDIR=${STAGING_INCDIR}'
-do_stage_append() {
- install -m 0755 Parser/pgen ${STAGING_BINDIR_NATIVE}/
+do_install() {
+ oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${bindir}/
+ install -m 0755 Parser/pgen ${D}${bindir}/
}