diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-31 13:53:07 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-31 13:53:07 +0100 |
commit | eca7e8c9bf0c71f24ef89457a55017a012463a6a (patch) | |
tree | 2a649a7b4bd3e55ef94ef1beb9a939c3a1553cf5 | |
parent | c155b71ba4c5b94d2f1d5df3798514fffde74f3c (diff) | |
download | poky-eca7e8c9bf0c71f24ef89457a55017a012463a6a.tar.gz |
gcc-crosssdk: Create common include files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-initial.inc | 7 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-initial_4.2.3.bb | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-intermediate.inc | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-intermediate_4.2.3.bb | 10 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb | 10 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk.inc | 16 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk_4.2.3.bb | 16 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk_4.3.3.bb | 16 |
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 @@ | |||
1 | inherit crosssdk | ||
2 | |||
3 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
4 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
5 | |||
6 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native" | ||
7 | 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 @@ | |||
1 | require gcc-cross-initial_${PV}.bb | 1 | require gcc-cross-initial_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk-initial.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk" | ||
8 | PROVIDES = "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 @@ | |||
1 | require gcc-cross-initial_${PV}.bb | 1 | require gcc-cross-initial_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk-initial.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native" | ||
8 | PROVIDES = "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 @@ | |||
1 | inherit crosssdk | ||
2 | |||
3 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
4 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
5 | |||
6 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native" | ||
7 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk" | ||
8 | 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 @@ | |||
1 | require gcc-cross-intermediate_${PV}.bb | 1 | require gcc-cross-intermediate_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk-intermediate.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | PR = "r1" | 3 | PR = "r1" |
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk" | ||
10 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk" | ||
11 | 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 @@ | |||
1 | require gcc-cross-intermediate_${PV}.bb | 1 | require gcc-cross-intermediate_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk-intermediate.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | PR = "r1" | 3 | PR = "r1" |
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native" | ||
10 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk" | ||
11 | 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 @@ | |||
1 | require gcc-cross_${PV}.bb | ||
2 | inherit crosssdk | ||
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | GCCMULTILIB = "--disable-multilib" | ||
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native" | ||
10 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | ||
11 | |||
12 | do_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 @@ | |||
1 | require gcc-cross_${PV}.bb | 1 | require gcc-cross_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | GCCMULTILIB = "--disable-multilib" | ||
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk" | ||
10 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | ||
11 | |||
12 | do_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 @@ | |||
1 | require gcc-cross_${PV}.bb | 1 | require gcc-cross_${PV}.bb |
2 | inherit crosssdk | 2 | require gcc-crosssdk.inc |
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | GCCMULTILIB = "--disable-multilib" | ||
8 | |||
9 | DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native" | ||
10 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | ||
11 | |||
12 | do_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 | } | ||