diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-09-29 10:50:23 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-09-29 10:50:23 +0000 |
commit | 90446f41cd84821873a471f8cd44e82a16f571bf (patch) | |
tree | 1e097861e9ad09bc0ec20ea4a5fb8fb05211152e /packages | |
parent | 34b62784e42e1e2c6e1c74cc23bc68cbf63c5c39 (diff) |
Add cross-linkage from poky
Diffstat (limited to 'packages')
-rw-r--r-- | packages/meta/cross-linkage_1.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/meta/cross-linkage_1.0.bb b/packages/meta/cross-linkage_1.0.bb new file mode 100644 index 0000000000..2a9caca5da --- /dev/null +++ b/packages/meta/cross-linkage_1.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" +SECTION = "devel" +PACKAGES = "" + +INHIBIT_DEFAULT_DEPS = "1" +PR = "r0" + +SRC_URI = "" + +do_configure() { + : +} + +do_compile () { + : +} + +do_install() { + : +} + +do_stage () { + install -d ${CROSS_DIR}/${TARGET_SYS}/ + rm -rf ${CROSS_DIR}/${TARGET_SYS}/include + ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include + rm -rf ${CROSS_DIR}/${TARGET_SYS}/lib + ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib +} |