summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:36:09 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:36:09 +0000
commit654d26c38d871fdb91f7d79d7da1f1f8c1067e01 (patch)
tree5c3f1830b1aef6035b9be7a97c73aa4aee47df3f /packages/gcc/gcc-cross.inc
parentfab7419cc6a2e53d1cc122abb6d8a3ce0e46fd07 (diff)
gcc-cross.inc: Merge in gcc-paths-cross.inc
Diffstat (limited to 'packages/gcc/gcc-cross.inc')
-rw-r--r--packages/gcc/gcc-cross.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/gcc/gcc-cross.inc b/packages/gcc/gcc-cross.inc
index 566422769d..3fa6f61f0d 100644
--- a/packages/gcc/gcc-cross.inc
+++ b/packages/gcc/gcc-cross.inc
@@ -1,5 +1,11 @@
-# path mangling, needed by the cross packaging
-require gcc-paths-cross.inc
+# 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"