diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/crosssdk.bbclass | 15 | ||||
-rw-r--r-- | meta/packages/binutils/binutils-crosssdk_2.19.bb | 12 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb | 8 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb | 11 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-crosssdk_4.3.3.bb | 10 |
5 files changed, 56 insertions, 0 deletions
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass new file mode 100644 index 0000000000..66be3ee216 --- /dev/null +++ b/meta/classes/crosssdk.bbclass | |||
@@ -0,0 +1,15 @@ | |||
1 | inherit cross | ||
2 | |||
3 | PACKAGES = "" | ||
4 | |||
5 | BASE_PACKAGE_ARCH = "${SDK_ARCH}" | ||
6 | PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" | ||
7 | STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${TARGET_ARCH}-nativesdk${TARGET_VENDOR}-${TARGET_OS}" | ||
8 | |||
9 | TARGET_ARCH = "${SDK_ARCH}" | ||
10 | TARGET_VENDOR = "${SDK_VENDOR}" | ||
11 | TARGET_OS = "${SDK_OS}" | ||
12 | TARGET_PREFIX = "${SDK_PREFIX}" | ||
13 | TARGET_CC_ARCH = "${SDK_CC_ARCH}" | ||
14 | |||
15 | |||
diff --git a/meta/packages/binutils/binutils-crosssdk_2.19.bb b/meta/packages/binutils/binutils-crosssdk_2.19.bb new file mode 100644 index 0000000000..8a9275003f --- /dev/null +++ b/meta/packages/binutils/binutils-crosssdk_2.19.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require binutils-cross_${PV}.bb | ||
2 | |||
3 | inherit crosssdk | ||
4 | |||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" | ||
6 | |||
7 | PR = "r1" | ||
8 | |||
9 | do_configure_prepend () { | ||
10 | sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATH}/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt | ||
11 | } | ||
12 | |||
diff --git a/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb new file mode 100644 index 0000000000..fdfaa2e254 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require gcc-cross-initial_${PV}.bb | ||
2 | inherit crosssdk | ||
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-intermediate_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb new file mode 100644 index 0000000000..339ee63416 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | require gcc-cross-intermediate_${PV}.bb | ||
2 | inherit crosssdk | ||
3 | |||
4 | SYSTEMHEADERS = "${SDKPATH}/include" | ||
5 | SYSTEMLIBS1 = "${SDKPATH}/lib/" | ||
6 | |||
7 | 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_4.3.3.bb b/meta/packages/gcc/gcc-crosssdk_4.3.3.bb new file mode 100644 index 0000000000..f5967ba682 --- /dev/null +++ b/meta/packages/gcc/gcc-crosssdk_4.3.3.bb | |||
@@ -0,0 +1,10 @@ | |||
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" | ||
10 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk" | ||