summaryrefslogtreecommitdiff
path: root/meta/packages
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
parentc155b71ba4c5b94d2f1d5df3798514fffde74f3c (diff)
downloadopenembedded-core-eca7e8c9bf0c71f24ef89457a55017a012463a6a.tar.gz
openembedded-core-eca7e8c9bf0c71f24ef89457a55017a012463a6a.tar.bz2
openembedded-core-eca7e8c9bf0c71f24ef89457a55017a012463a6a.zip
gcc-crosssdk: Create common include files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-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 @@
+inherit crosssdk
+
+SYSTEMHEADERS = "${SDKPATH}/include"
+SYSTEMLIBS1 = "${SDKPATH}/lib/"
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
+PROVIDES = "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 @@
require gcc-cross-initial_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
+require gcc-crosssdk-initial.inc
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 @@
require gcc-cross-initial_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
+require gcc-crosssdk-initial.inc
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 @@
+inherit crosssdk
+
+SYSTEMHEADERS = "${SDKPATH}/include"
+SYSTEMLIBS1 = "${SDKPATH}/lib/"
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
+DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
+PROVIDES = "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 @@
require gcc-cross-intermediate_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
+require gcc-crosssdk-intermediate.inc
PR = "r1"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk"
-DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
-PROVIDES = "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 @@
require gcc-cross-intermediate_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
+require gcc-crosssdk-intermediate.inc
PR = "r1"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
-DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
-PROVIDES = "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 @@
+require gcc-cross_${PV}.bb
+inherit crosssdk
+
+SYSTEMHEADERS = "${SDKPATH}/include"
+SYSTEMLIBS1 = "${SDKPATH}/lib/"
+
+GCCMULTILIB = "--disable-multilib"
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
+
+do_configure_prepend () {
+ # Change the default dynamic linker path to the one in the SDK
+ sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
+ sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
+}
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 @@
require gcc-cross_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
-GCCMULTILIB = "--disable-multilib"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk"
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
-
-do_configure_prepend () {
- # Change the default dynamic linker path to the one in the SDK
- sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
- sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
-}
+require gcc-crosssdk.inc
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 @@
require gcc-cross_${PV}.bb
-inherit crosssdk
-
-SYSTEMHEADERS = "${SDKPATH}/include"
-SYSTEMLIBS1 = "${SDKPATH}/lib/"
-
-GCCMULTILIB = "--disable-multilib"
-
-DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
-PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
-
-do_configure_prepend () {
- # Change the default dynamic linker path to the one in the SDK
- sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS1}#'
- sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS1}#'
-}
+require gcc-crosssdk.inc