summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-31 13:53:07 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-31 13:53:07 +0100
commiteca7e8c9bf0c71f24ef89457a55017a012463a6a (patch)
tree2a649a7b4bd3e55ef94ef1beb9a939c3a1553cf5 /meta/packages/gcc
parentc155b71ba4c5b94d2f1d5df3798514fffde74f3c (diff)
downloadpoky-eca7e8c9bf0c71f24ef89457a55017a012463a6a.tar.gz
gcc-crosssdk: Create common include files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc-crosssdk-initial.inc7
-rw-r--r--meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb8
-rw-r--r--meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb8
-rw-r--r--meta/packages/gcc/gcc-crosssdk-intermediate.inc8
-rw-r--r--meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb10
-rw-r--r--meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb10
-rw-r--r--meta/packages/gcc/gcc-crosssdk.inc16
-rw-r--r--meta/packages/gcc/gcc-crosssdk_4.2.3.bb16
-rw-r--r--meta/packages/gcc/gcc-crosssdk_4.3.3.bb16
9 files changed, 37 insertions, 62 deletions
diff --git a/meta/packages/gcc/gcc-crosssdk-initial.inc b/meta/packages/gcc/gcc-crosssdk-initial.inc
new file mode 100644
index 0000000000..4b8346b004
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk-initial.inc
@@ -0,0 +1,7 @@
1inherit crosssdk
2
3SYSTEMHEADERS = "${SDKPATH}/include"
4SYSTEMLIBS1 = "${SDKPATH}/lib/"
5
6DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
7PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb
index fdfaa2e254..0c9fdd3449 100644
--- a/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb
@@ -1,8 +1,2 @@
1require gcc-cross-initial_${PV}.bb 1require gcc-cross-initial_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk-initial.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
8PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb
index 4da46bcad5..0c9fdd3449 100644
--- a/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb
@@ -1,8 +1,2 @@
1require gcc-cross-initial_${PV}.bb 1require gcc-cross-initial_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk-initial.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
8PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk-intermediate.inc b/meta/packages/gcc/gcc-crosssdk-intermediate.inc
new file mode 100644
index 0000000000..6034360050
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk-intermediate.inc
@@ -0,0 +1,8 @@
1inherit crosssdk
2
3SYSTEMHEADERS = "${SDKPATH}/include"
4SYSTEMLIBS1 = "${SDKPATH}/lib/"
5
6DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
7DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
8PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb
index 339ee63416..c0f5d5cb16 100644
--- a/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb
@@ -1,11 +1,3 @@
1require gcc-cross-intermediate_${PV}.bb 1require gcc-cross-intermediate_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk-intermediate.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7PR = "r1" 3PR = "r1"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
10DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
11PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb
index b2d7583a72..c0f5d5cb16 100644
--- a/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb
@@ -1,11 +1,3 @@
1require gcc-cross-intermediate_${PV}.bb 1require gcc-cross-intermediate_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk-intermediate.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7PR = "r1" 3PR = "r1"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
10DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
11PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
diff --git a/meta/packages/gcc/gcc-crosssdk.inc b/meta/packages/gcc/gcc-crosssdk.inc
new file mode 100644
index 0000000000..df3ff96075
--- /dev/null
+++ b/meta/packages/gcc/gcc-crosssdk.inc
@@ -0,0 +1,16 @@
1require gcc-cross_${PV}.bb
2inherit crosssdk
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7GCCMULTILIB = "--disable-multilib"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
11
12do_configure_prepend () {
13 # Change the default dynamic linker path to the one in the SDK
14 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
15 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
16}
diff --git a/meta/packages/gcc/gcc-crosssdk_4.2.3.bb b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb
index 3a3d443413..7430888ed7 100644
--- a/meta/packages/gcc/gcc-crosssdk_4.2.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk_4.2.3.bb
@@ -1,16 +1,2 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7GCCMULTILIB = "--disable-multilib"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
11
12do_configure_prepend () {
13 # Change the default dynamic linker path to the one in the SDK
14 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
15 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
16}
diff --git a/meta/packages/gcc/gcc-crosssdk_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk_4.3.3.bb
index df3ff96075..7430888ed7 100644
--- a/meta/packages/gcc/gcc-crosssdk_4.3.3.bb
+++ b/meta/packages/gcc/gcc-crosssdk_4.3.3.bb
@@ -1,16 +1,2 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2inherit crosssdk 2require gcc-crosssdk.inc
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7GCCMULTILIB = "--disable-multilib"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
11
12do_configure_prepend () {
13 # Change the default dynamic linker path to the one in the SDK
14 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
15 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
16}