summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-03-18 10:44:24 +0000
committerRichard Purdie <richard@openedhand.com>2008-03-18 10:44:24 +0000
commitb905e04eae5e557199c689ac63f56f996c3da27c (patch)
treeef97752c045f13620a707aba284d263e94268f1b /meta/packages/gcc/gcc-cross.inc
parent1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf (diff)
downloadopenembedded-core-b905e04eae5e557199c689ac63f56f996c3da27c.tar.gz
openembedded-core-b905e04eae5e557199c689ac63f56f996c3da27c.tar.bz2
openembedded-core-b905e04eae5e557199c689ac63f56f996c3da27c.tar.xz
openembedded-core-b905e04eae5e557199c689ac63f56f996c3da27c.zip
gcc: Add missing files + changes from the last commit
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4039 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-cross.inc')
-rw-r--r--meta/packages/gcc/gcc-cross.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross.inc b/meta/packages/gcc/gcc-cross.inc
new file mode 100644
index 000000000..3fa6f61f0
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross.inc
@@ -0,0 +1,12 @@
+# Path mangling needed by the cross packaging
+# Note that we use := here, and require that this is included at the correct
+# point (before inheriting cross) to ensure that libdir and includedir are
+# target paths, not CROSS_DIR paths.
+target_libdir := "${libdir}"
+target_includedir := "${includedir}"
+target_base_libdir := "${base_libdir}"
+
+inherit cross
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
+PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"