summaryrefslogtreecommitdiff
path: root/packages/libidl
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
commit9bd213b23e9095cc0aa94952cc345a110a5cdc40 (patch)
tree4f862fbb29bc438fe7f45f679934a4ec0b91a436 /packages/libidl
parentbbd81bb3d973f809636c55c56bdc5b6ec863bfa0 (diff)
Split STAGING_BINDIR into CROSS and NATIVE versions. This means there is no need to rename -config scripts and multimachine won't break with binconfig.bbclass. ***NOTE: This change will require staging to be rebuilt***
Diffstat (limited to 'packages/libidl')
-rw-r--r--packages/libidl/libidl_0.8.3.bb4
-rw-r--r--packages/libidl/libidl_0.8.6.bb5
2 files changed, 9 insertions, 0 deletions
diff --git a/packages/libidl/libidl_0.8.3.bb b/packages/libidl/libidl_0.8.3.bb
index a40597718d..2ca114be2c 100644
--- a/packages/libidl/libidl_0.8.3.bb
+++ b/packages/libidl/libidl_0.8.3.bb
@@ -23,6 +23,10 @@ do_stage() {
cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig
cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR}/libIDL-config-2
+
+ if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
+ mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
+ fi
}
FILES_${PN} = "${libdir}/*.so.*"
diff --git a/packages/libidl/libidl_0.8.6.bb b/packages/libidl/libidl_0.8.6.bb
index 048a5fb1f8..916bfb6e5f 100644
--- a/packages/libidl/libidl_0.8.6.bb
+++ b/packages/libidl/libidl_0.8.6.bb
@@ -16,6 +16,11 @@ do_stage() {
autotools_stage_all
cat ${S}/libIDL-config-2 | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR}/libIDL-config-2
+
+ if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then
+ mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2
+ fi
+
}
FILES_${PN} = "${libdir}/*.so.*"