diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-18 10:44:24 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-18 10:44:24 +0000 |
commit | b905e04eae5e557199c689ac63f56f996c3da27c (patch) | |
tree | ef97752c045f13620a707aba284d263e94268f1b /meta/packages/gcc | |
parent | 1255ee64ee58fb5f0acd0bdbf4f0a54afd5ceeaf (diff) | |
download | poky-b905e04eae5e557199c689ac63f56f996c3da27c.tar.gz |
gcc: Add missing files + changes from the last commit
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4039 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r-- | meta/packages/gcc/gcc-cross-sdk.inc | 4 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross.inc | 12 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross4.inc | 3 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross_3.4.4.bb | 18 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross_4.0.2.bb | 18 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross_4.1.2.bb | 24 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross_4.2.2.bb | 19 |
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 @@ | |||
1 | inherit sdk | ||
2 | |||
3 | DEPENDS = "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. | ||
5 | target_libdir := "${libdir}" | ||
6 | target_includedir := "${includedir}" | ||
7 | target_base_libdir := "${base_libdir}" | ||
8 | |||
9 | inherit cross | ||
10 | |||
11 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" | ||
12 | PROVIDES = "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 @@ | |||
1 | require gcc-cross.inc | ||
2 | |||
3 | DEPENDS += "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 @@ | |||
1 | require gcc_${PV}.bb | 1 | PR = "r8" |
2 | # path mangling, needed by the cross packaging | ||
3 | require gcc-paths-cross.inc | ||
4 | inherit cross | ||
5 | FILESDIR = "${@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. | ||
8 | PR = "r3" | ||
9 | 2 | ||
10 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" | 3 | require gcc-${PV}.inc |
11 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | require gcc-cross.inc |
12 | 5 | require gcc-configure-cross.inc | |
13 | # cross build | ||
14 | require gcc3-build-cross.inc | ||
15 | # cross packaging | ||
16 | require gcc-package-cross.inc | 6 | require 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 @@ | |||
1 | require gcc_${PV}.bb | 1 | PR = "r10" |
2 | # path mangling, needed by the cross packaging | ||
3 | require gcc-paths-cross.inc | ||
4 | inherit cross | ||
5 | FILESDIR = "${@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. | ||
8 | PR = "r1" | ||
9 | 2 | ||
10 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" | 3 | require gcc-${PV}.inc |
11 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | require gcc-cross4.inc |
12 | 5 | require gcc-configure-cross.inc | |
13 | # cross build | ||
14 | require gcc3-build-cross.inc | ||
15 | # cross packaging | ||
16 | require gcc-package-cross.inc | 6 | require 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 @@ | |||
1 | require gcc_${PV}.bb | 1 | PR = "r14" |
2 | # path mangling, needed by the cross packaging | ||
3 | require gcc-paths-cross.inc | ||
4 | inherit cross | ||
5 | FILESDIR = "${@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. | ||
8 | PR = "r5" | ||
9 | 2 | ||
10 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" | 3 | require gcc-${PV}.inc |
11 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | require gcc-cross4.inc |
12 | 5 | require gcc-configure-cross.inc | |
13 | # cross build | ||
14 | require gcc3-build-cross.inc | ||
15 | # cross packaging | ||
16 | require gcc-package-cross.inc | 6 | require gcc-package-cross.inc |
17 | 7 | ||
8 | SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " | ||
9 | |||
10 | EXTRA_OECONF_append_avr32= " --disable-libmudflap " | ||
11 | |||
18 | EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" | 12 | EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}" |
13 | |||
14 | ARCH_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 @@ | |||
1 | require gcc_${PV}.bb | ||
2 | # path mangling, needed by the cross packaging | ||
3 | require gcc-paths-cross.inc | ||
4 | inherit cross | ||
5 | FILESDIR = "${@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. | ||
8 | PR = "r6" | 1 | PR = "r6" |
9 | 2 | ||
10 | DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc gmp-native mpfr-native" | 3 | require gcc-${PV}.inc |
11 | PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" | 4 | require gcc-cross4.inc |
12 | 5 | require gcc-configure-cross.inc | |
13 | # cross build | ||
14 | require gcc3-build-cross.inc | ||
15 | # cross packaging | ||
16 | require gcc-package-cross.inc | 6 | require gcc-package-cross.inc |
7 | |||
17 | SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " | 8 | SRC_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 |
20 | EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \ | 11 | EXTRA_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 | |||
15 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}" | ||