summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/crosssdk.bbclass15
-rw-r--r--meta/packages/binutils/binutils-crosssdk_2.19.bb12
-rw-r--r--meta/packages/gcc/gcc-crosssdk-initial_4.3.3.bb8
-rw-r--r--meta/packages/gcc/gcc-crosssdk-intermediate_4.3.3.bb11
-rw-r--r--meta/packages/gcc/gcc-crosssdk_4.3.3.bb10
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 @@
1inherit cross
2
3PACKAGES = ""
4
5BASE_PACKAGE_ARCH = "${SDK_ARCH}"
6PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
7STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${TARGET_ARCH}-nativesdk${TARGET_VENDOR}-${TARGET_OS}"
8
9TARGET_ARCH = "${SDK_ARCH}"
10TARGET_VENDOR = "${SDK_VENDOR}"
11TARGET_OS = "${SDK_OS}"
12TARGET_PREFIX = "${SDK_PREFIX}"
13TARGET_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 @@
1require binutils-cross_${PV}.bb
2
3inherit crosssdk
4
5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
6
7PR = "r1"
8
9do_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 @@
1require gcc-cross-initial_${PV}.bb
2inherit crosssdk
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-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 @@
1require gcc-cross-intermediate_${PV}.bb
2inherit crosssdk
3
4SYSTEMHEADERS = "${SDKPATH}/include"
5SYSTEMLIBS1 = "${SDKPATH}/lib/"
6
7PR = "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_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 @@
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"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"