summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-04 11:57:52 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-04 11:57:52 +0000
commit39ade776625e7fdd746d91fa8497d16646b77362 (patch)
tree511830407664dc70c16ce7b208a188cae3a028eb
parent320e2ef308a414d42c18aa339ddccd1f238b4b0b (diff)
Add staging-linking - glue to allow old toolchains to work after OE staging changes
-rw-r--r--packages/meta/staging-linkage_1.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/meta/staging-linkage_1.0.bb b/packages/meta/staging-linkage_1.0.bb
new file mode 100644
index 0000000000..b718868138
--- /dev/null
+++ b/packages/meta/staging-linkage_1.0.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "staging-linkage sets up symlinks in staging so old compilers continue to work with the sysroot staging layout changes"
+SECTION = "devel"
+PACKAGES = ""
+
+INHIBIT_DEFAULT_DEPS = "1"
+PR = "r0"
+
+SRC_URI = ""
+
+do_configure() {
+ :
+}
+
+do_compile () {
+ :
+}
+
+do_install() {
+ :
+}
+
+do_stage () {
+ if [ -e ${STAGING_DIR_HOST}${layout_base_libdir} ]; then
+ cp -pPRr ${STAGING_DIR_HOST}${layout_base_libdir}/* ${STAGING_LIBDIR}
+ mv ${STAGING_DIR_HOST}${layout_base_libdir}/ ${STAGING_DIR_HOST}${layout_libdir}-oldbackup/
+ fi
+ ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${layout_base_libdir}
+}