diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-20 14:18:45 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-20 14:18:45 +0100 |
commit | 79a4501a2ead92cb512eef0bd3dfe133d0e5d799 (patch) | |
tree | 5f82f1971c81034799bd5ab330e54b281020fc24 /meta/recipes-tbd/meta/staging-linkage_1.0.bb | |
parent | 03d9669cbcc35a49120b9cc277723bccd93f4cf3 (diff) | |
download | poky-79a4501a2ead92cb512eef0bd3dfe133d0e5d799.tar.gz |
Complete packages -> recipes transition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-tbd/meta/staging-linkage_1.0.bb')
-rw-r--r-- | meta/recipes-tbd/meta/staging-linkage_1.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-tbd/meta/staging-linkage_1.0.bb b/meta/recipes-tbd/meta/staging-linkage_1.0.bb new file mode 100644 index 0000000000..9ecc0d5af1 --- /dev/null +++ b/meta/recipes-tbd/meta/staging-linkage_1.0.bb | |||
@@ -0,0 +1,27 @@ | |||
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 | PSTAGING_DISABLED = "1" | ||
20 | |||
21 | do_install () { | ||
22 | if [ -e ${STAGING_DIR_HOST}${base_libdir} ]; then | ||
23 | cp -pPRr ${STAGING_DIR_HOST}${base_libdir}/* ${STAGING_LIBDIR} | ||
24 | mv ${STAGING_DIR_HOST}${base_libdir}/ ${STAGING_DIR_HOST}${libdir}-oldbackup | ||
25 | fi | ||
26 | ln -s ${STAGING_LIBDIR}/ ${STAGING_DIR_HOST}${base_libdir} | ||
27 | } | ||