diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-19 12:59:01 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-19 12:59:01 +0000 |
commit | 93c82d7f921b3b2e83a453a85c8f280ceeaa6c9d (patch) | |
tree | 1a2ba55a61231f099a8688cf96a8be39af96afef | |
parent | c7c2baa7f1170b4921bbf7c2bb8c5e5264c1e5c8 (diff) | |
download | openembedded-core-93c82d7f921b3b2e83a453a85c8f280ceeaa6c9d.tar.gz openembedded-core-93c82d7f921b3b2e83a453a85c8f280ceeaa6c9d.tar.bz2 openembedded-core-93c82d7f921b3b2e83a453a85c8f280ceeaa6c9d.zip |
cross-linkage: Add dummy package to handle linking cross to staging
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2761 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/meta/cross-linkage_1.0.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/meta/cross-linkage_1.0.bb b/meta/packages/meta/cross-linkage_1.0.bb new file mode 100644 index 0000000000..2a9caca5da --- /dev/null +++ b/meta/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 +} |