diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-11 00:08:58 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-11 00:08:58 +0000 |
commit | 95d8d6b2609ae4a1985e6781a06768ebdb3361b3 (patch) | |
tree | b585ed12ebf128bfc1db9a9f33f67ac25e52c4a1 /meta/packages | |
parent | beeeb785a7f160ecdca158433a115e9918854858 (diff) | |
download | poky-95d8d6b2609ae4a1985e6781a06768ebdb3361b3.tar.gz |
staging-linkage: Add from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3987 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/meta/staging-linkage_1.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/meta/staging-linkage_1.0.bb b/meta/packages/meta/staging-linkage_1.0.bb new file mode 100644 index 0000000000..95d82d3273 --- /dev/null +++ b/meta/packages/meta/staging-linkage_1.0.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "staging-linkage sets up symlinks in staging so old compilers continue to work with the sysroot staging layout changes" | ||
2 | SECTION = "devel" | ||
3 | PACKAGES = "" | ||
4 | |||
5 | INHIBIT_DEFAULT_DEPS = "1" | ||
6 | EXCLUDE_FROM_WORLD = "1" | ||
7 | PR = "r0" | ||
8 | |||
9 | SRC_URI = "" | ||
10 | |||
11 | do_configure() { | ||
12 | : | ||
13 | } | ||
14 | |||
15 | do_compile () { | ||
16 | : | ||
17 | } | ||
18 | |||
19 | do_install() { | ||
20 | : | ||
21 | } | ||
22 | |||
23 | do_stage () { | ||
24 | if [ -e ${STAGING_DIR_HOST}${layout_base_libdir} ]; then | ||
25 | cp -pPRr ${STAGING_DIR_HOST}${layout_base_libdir}/* ${STAGING_LIBDIR} | ||
26 | mv ${STAGING_DIR_HOST}${layout_base_libdir}/ ${STAGING_DIR_HOST}${layout_libdir}-oldbackup | ||
27 | fi | ||
28 | ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${layout_base_libdir} | ||
29 | } | ||