summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gcc/gcc-cross-sdk.inc4
-rw-r--r--meta/packages/gcc/gcc-cross.inc12
-rw-r--r--meta/packages/gcc/gcc-cross4.inc3
-rw-r--r--meta/packages/gcc/gcc-cross_3.4.4.bb18
-rw-r--r--meta/packages/gcc/gcc-cross_4.0.2.bb18
-rw-r--r--meta/packages/gcc/gcc-cross_4.1.2.bb24
-rw-r--r--meta/packages/gcc/gcc-cross_4.2.2.bb19
7 files changed, 43 insertions, 55 deletions
diff --git a/meta/packages/gcc/gcc-cross-sdk.inc b/meta/packages/gcc/gcc-cross-sdk.inc
new file mode 100644
index 0000000000..fb24342939
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross-sdk.inc
@@ -0,0 +1,4 @@
1inherit sdk
2
3DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
4
diff --git a/meta/packages/gcc/gcc-cross.inc b/meta/packages/gcc/gcc-cross.inc
new file mode 100644
index 0000000000..3fa6f61f0d
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross.inc
@@ -0,0 +1,12 @@
1# Path mangling needed by the cross packaging
2# Note that we use := here, and require that this is included at the correct
3# point (before inheriting cross) to ensure that libdir and includedir are
4# target paths, not CROSS_DIR paths.
5target_libdir := "${libdir}"
6target_includedir := "${includedir}"
7target_base_libdir := "${base_libdir}"
8
9inherit cross
10
11DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
12PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
diff --git a/meta/packages/gcc/gcc-cross4.inc b/meta/packages/gcc/gcc-cross4.inc
new file mode 100644
index 0000000000..3d3403737a
--- /dev/null
+++ b/meta/packages/gcc/gcc-cross4.inc
@@ -0,0 +1,3 @@
1require gcc-cross.inc
2
3DEPENDS += "gmp-native mpfr-native"
diff --git a/meta/packages/gcc/gcc-cross_3.4.4.bb b/meta/packages/gcc/gcc-cross_3.4.4.bb
index ef679365e1..4d93346d8d 100644
--- a/meta/packages/gcc/gcc-cross_3.4.4.bb
+++ b/meta/packages/gcc/gcc-cross_3.4.4.bb
@@ -1,16 +1,6 @@
1require gcc_${PV}.bb 1PR = "r8"
2# path mangling, needed by the cross packaging
3require gcc-paths-cross.inc
4inherit cross
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
6# NOTE: split PR. If the main .oe changes something that affects its *build*
7# remember to increment this one too.
8PR = "r3"
9 2
10DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" 3require gcc-${PV}.inc
11PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4require gcc-cross.inc
12 5require gcc-configure-cross.inc
13# cross build
14require gcc3-build-cross.inc
15# cross packaging
16require gcc-package-cross.inc 6require gcc-package-cross.inc
diff --git a/meta/packages/gcc/gcc-cross_4.0.2.bb b/meta/packages/gcc/gcc-cross_4.0.2.bb
index d2dc240126..c296a03237 100644
--- a/meta/packages/gcc/gcc-cross_4.0.2.bb
+++ b/meta/packages/gcc/gcc-cross_4.0.2.bb
@@ -1,16 +1,6 @@
1require gcc_${PV}.bb 1PR = "r10"
2# path mangling, needed by the cross packaging
3require gcc-paths-cross.inc
4inherit cross
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
6# NOTE: split PR. If the main .oe changes something that affects its *build*
7# remember to increment this one too.
8PR = "r1"
9 2
10DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" 3require gcc-${PV}.inc
11PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4require gcc-cross4.inc
12 5require gcc-configure-cross.inc
13# cross build
14require gcc3-build-cross.inc
15# cross packaging
16require gcc-package-cross.inc 6require gcc-package-cross.inc
diff --git a/meta/packages/gcc/gcc-cross_4.1.2.bb b/meta/packages/gcc/gcc-cross_4.1.2.bb
index 20b7016b9d..a344bfcba8 100644
--- a/meta/packages/gcc/gcc-cross_4.1.2.bb
+++ b/meta/packages/gcc/gcc-cross_4.1.2.bb
@@ -1,18 +1,14 @@
1require gcc_${PV}.bb 1PR = "r14"
2# path mangling, needed by the cross packaging
3require gcc-paths-cross.inc
4inherit cross
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
6# NOTE: split PR. If the main .oe changes something that affects its *build*
7# remember to increment this one too.
8PR = "r5"
9 2
10DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" 3require gcc-${PV}.inc
11PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4require gcc-cross4.inc
12 5require gcc-configure-cross.inc
13# cross build
14require gcc3-build-cross.inc
15# cross packaging
16require gcc-package-cross.inc 6require gcc-package-cross.inc
17 7
8SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
9
10EXTRA_OECONF_append_avr32= " --disable-libmudflap "
11
18EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" 12EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
13
14ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
diff --git a/meta/packages/gcc/gcc-cross_4.2.2.bb b/meta/packages/gcc/gcc-cross_4.2.2.bb
index def16597e0..8a7a21f188 100644
--- a/meta/packages/gcc/gcc-cross_4.2.2.bb
+++ b/meta/packages/gcc/gcc-cross_4.2.2.bb
@@ -1,22 +1,15 @@
1require gcc_${PV}.bb
2# path mangling, needed by the cross packaging
3require gcc-paths-cross.inc
4inherit cross
5FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
6# NOTE: split PR. If the main .oe changes something that affects its *build*
7# remember to increment this one too.
8PR = "r6" 1PR = "r6"
9 2
10DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" 3require gcc-${PV}.inc
11PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 4require gcc-cross4.inc
12 5require gcc-configure-cross.inc
13# cross build
14require gcc3-build-cross.inc
15# cross packaging
16require gcc-package-cross.inc 6require gcc-package-cross.inc
7
17SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " 8SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
18# Do not build libssp libmudflap and libgomp 9# Do not build libssp libmudflap and libgomp
19# We might need them for some beefy targets 10# We might need them for some beefy targets
20EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ 11EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
21 --disable-libgomp --disable-libmudflap \ 12 --disable-libgomp --disable-libmudflap \
22 --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" 13 --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
14
15ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"