summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:24:33 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-15 17:24:33 +0000
commitec203b8c8b063bf6f052aa160ab3ef668d54ff0a (patch)
tree65be5903caaaebf9ec45e2f50459ead7e6339074 /packages/gcc/gcc-common.inc
parentad322d87c9859e07f1e90699ca5bc87ff9e75f6a (diff)
gcc: Move more common variables to gcc-common.inc (BINV, gcclibdir, use DEBIANNAME instead of a python function, SHLIBSDIR override)
Diffstat (limited to 'packages/gcc/gcc-common.inc')
-rw-r--r--packages/gcc/gcc-common.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
index 36a491af72..5bb46e1f9b 100644
--- a/packages/gcc/gcc-common.inc
+++ b/packages/gcc/gcc-common.inc
@@ -12,3 +12,12 @@ def get_gcc_fpu_setting(bb, d):
return "--with-float=soft"
return ""
+# We really need HOST_SYS here for some packages and TARGET_SYS for others.
+# For now, libgcc is most important so we fix for that - RP.
+SHLIBSDIR = "${STAGING_DIR}/${TARGET_SYS}/shlibs"
+
+DEBIANNAME_libgcc = "libgcc1"
+
+# Some default values
+gcclibdir = "${libdir}/gcc"
+BINV = "${PV}"