diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-31 12:09:14 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-31 12:09:14 +0100 |
commit | fb5b56283760444cfa3ca495f0831652446327ba (patch) | |
tree | 4be4c91142bb0b3872aa98f964f68a495de273c6 /meta/packages/gcc | |
parent | 5b5a069e16bc64e4add040d191066ff551d396e9 (diff) | |
download | poky-fb5b56283760444cfa3ca495f0831652446327ba.tar.gz |
gcc: Move -native dependencies into the base gcc version configuration file and create and use EXTRA_OECONF_INITIAL and EXTRA_OECONF_INTERMEDIATE variables
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r-- | meta/packages/gcc/gcc-4.2.3.inc | 3 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-4.3.3.inc | 4 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-common.inc | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial.inc | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial_4.2.3.bb | 3 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial_4.3.3.bb | 7 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-intermediate.inc | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-intermediate_4.2.3.bb | 3 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-intermediate_4.3.3.bb | 5 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb | 2 | ||||
-rw-r--r-- | meta/packages/gcc/gcc-csl-arm-2008q1.inc | 3 |
12 files changed, 13 insertions, 25 deletions
diff --git a/meta/packages/gcc/gcc-4.2.3.inc b/meta/packages/gcc/gcc-4.2.3.inc index d4d339b052..f8da4efeda 100644 --- a/meta/packages/gcc/gcc-4.2.3.inc +++ b/meta/packages/gcc/gcc-4.2.3.inc | |||
@@ -1,6 +1,7 @@ | |||
1 | require gcc-common.inc | 1 | require gcc-common.inc |
2 | 2 | ||
3 | DEPENDS =+ "mpfr gmp" | 3 | DEPENDS =+ "mpfr gmp" |
4 | NATIVEDEPS = "mpfr-native gmp-native" | ||
4 | 5 | ||
5 | SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | 6 | SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ |
6 | file://100-uclibc-conf.patch;patch=1 \ | 7 | file://100-uclibc-conf.patch;patch=1 \ |
@@ -68,5 +69,7 @@ FORTRAN_linux-gnueabi = ",fortran" | |||
68 | JAVA = "" | 69 | JAVA = "" |
69 | 70 | ||
70 | EXTRA_OECONF_BASE += " --disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" | 71 | EXTRA_OECONF_BASE += " --disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" |
72 | EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp" | ||
73 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp" | ||
71 | 74 | ||
72 | ARM_INSTRUCTION_SET = "arm" | 75 | ARM_INSTRUCTION_SET = "arm" |
diff --git a/meta/packages/gcc/gcc-4.3.3.inc b/meta/packages/gcc/gcc-4.3.3.inc index 06f26274d0..0f7aa880d3 100644 --- a/meta/packages/gcc/gcc-4.3.3.inc +++ b/meta/packages/gcc/gcc-4.3.3.inc | |||
@@ -2,6 +2,7 @@ require gcc-common.inc | |||
2 | LICENSE = "GPLv3" | 2 | LICENSE = "GPLv3" |
3 | 3 | ||
4 | DEPENDS =+ "mpfr gmp" | 4 | DEPENDS =+ "mpfr gmp" |
5 | NATIVEDEPS = "mpfr-native gmp-native" | ||
5 | 6 | ||
6 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | 7 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ |
7 | file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \ | 8 | file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \ |
@@ -61,4 +62,5 @@ FORTRAN = "" | |||
61 | JAVA = "" | 62 | JAVA = "" |
62 | 63 | ||
63 | EXTRA_OECONF_BASE = " --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" | 64 | EXTRA_OECONF_BASE = " --enable-cheaders=c_std --enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" |
64 | 65 | EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --enable-decimal-float=no" | |
66 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp" | ||
diff --git a/meta/packages/gcc/gcc-common.inc b/meta/packages/gcc/gcc-common.inc index c482826aa0..ea0a48ea0c 100644 --- a/meta/packages/gcc/gcc-common.inc +++ b/meta/packages/gcc/gcc-common.inc | |||
@@ -3,6 +3,8 @@ HOMEPAGE = "http://www.gnu.org/software/gcc/" | |||
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | 5 | ||
6 | NATIVEDEPS = "" | ||
7 | |||
6 | inherit autotools gettext | 8 | inherit autotools gettext |
7 | 9 | ||
8 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" | 10 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" |
diff --git a/meta/packages/gcc/gcc-cross-initial.inc b/meta/packages/gcc/gcc-cross-initial.inc index a3545417ce..124b323810 100644 --- a/meta/packages/gcc/gcc-cross-initial.inc +++ b/meta/packages/gcc/gcc-cross-initial.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}" |
2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" |
3 | PACKAGES = "" | 3 | PACKAGES = "" |
4 | 4 | ||
diff --git a/meta/packages/gcc/gcc-cross-initial_4.2.3.bb b/meta/packages/gcc/gcc-cross-initial_4.2.3.bb index fe326d304b..1639511362 100644 --- a/meta/packages/gcc/gcc-cross-initial_4.2.3.bb +++ b/meta/packages/gcc/gcc-cross-initial_4.2.3.bb | |||
@@ -1,5 +1,2 @@ | |||
1 | require gcc-cross_${PV}.bb | 1 | require gcc-cross_${PV}.bb |
2 | require gcc-cross-initial.inc | 2 | require gcc-cross-initial.inc |
3 | |||
4 | EXTRA_OECONF += "--disable-libmudflap --disable-libgomp \ | ||
5 | --disable-libssp" | ||
diff --git a/meta/packages/gcc/gcc-cross-initial_4.3.3.bb b/meta/packages/gcc/gcc-cross-initial_4.3.3.bb index a06398389e..8a429d54fe 100644 --- a/meta/packages/gcc/gcc-cross-initial_4.3.3.bb +++ b/meta/packages/gcc/gcc-cross-initial_4.3.3.bb | |||
@@ -3,13 +3,6 @@ require gcc-cross-initial.inc | |||
3 | 3 | ||
4 | PR = "r1" | 4 | PR = "r1" |
5 | 5 | ||
6 | DEPENDS += "gmp-native mpfr-native" | ||
7 | |||
8 | EXTRA_OECONF += " --disable-libmudflap \ | ||
9 | --disable-decimal-float \ | ||
10 | --disable-libgomp \ | ||
11 | --disable-libssp" | ||
12 | |||
13 | # Hack till we fix *libc properly | 6 | # Hack till we fix *libc properly |
14 | do_install_append() { | 7 | do_install_append() { |
15 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ | 8 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ |
diff --git a/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb b/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb index 1a921d2d9c..a3664710f1 100644 --- a/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb +++ b/meta/packages/gcc/gcc-cross-initial_csl-arm-2008q1.bb | |||
@@ -3,8 +3,6 @@ require gcc-cross-initial.inc | |||
3 | 3 | ||
4 | S = "${WORKDIR}/gcc-4.2" | 4 | S = "${WORKDIR}/gcc-4.2" |
5 | 5 | ||
6 | EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap " | ||
7 | |||
8 | # Hack till we fix *libc properly | 6 | # Hack till we fix *libc properly |
9 | do_install_append() { | 7 | do_install_append() { |
10 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ | 8 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ |
diff --git a/meta/packages/gcc/gcc-cross-intermediate.inc b/meta/packages/gcc/gcc-cross-intermediate.inc index 169419f247..749bd36df4 100644 --- a/meta/packages/gcc/gcc-cross-intermediate.inc +++ b/meta/packages/gcc/gcc-cross-intermediate.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils" | 1 | DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}" |
2 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native" | 2 | DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native" |
3 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" | 3 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" |
4 | PACKAGES = "" | 4 | PACKAGES = "" |
diff --git a/meta/packages/gcc/gcc-cross-intermediate_4.2.3.bb b/meta/packages/gcc/gcc-cross-intermediate_4.2.3.bb index 7acca81c3b..eb59de9461 100644 --- a/meta/packages/gcc/gcc-cross-intermediate_4.2.3.bb +++ b/meta/packages/gcc/gcc-cross-intermediate_4.2.3.bb | |||
@@ -1,5 +1,2 @@ | |||
1 | require gcc-cross_${PV}.bb | 1 | require gcc-cross_${PV}.bb |
2 | require gcc-cross-intermediate.inc | 2 | require gcc-cross-intermediate.inc |
3 | |||
4 | EXTRA_OECONF += "--disable-libmudflap --disable-libgomp \ | ||
5 | --disable-libssp" | ||
diff --git a/meta/packages/gcc/gcc-cross-intermediate_4.3.3.bb b/meta/packages/gcc/gcc-cross-intermediate_4.3.3.bb index 3969dba32d..6de46f7e27 100644 --- a/meta/packages/gcc/gcc-cross-intermediate_4.3.3.bb +++ b/meta/packages/gcc/gcc-cross-intermediate_4.3.3.bb | |||
@@ -1,11 +1,6 @@ | |||
1 | require gcc-cross_${PV}.bb | 1 | require gcc-cross_${PV}.bb |
2 | require gcc-cross-intermediate.inc | 2 | require gcc-cross-intermediate.inc |
3 | PR = "r1" | 3 | PR = "r1" |
4 | DEPENDS += "gmp-native mpfr-native" | ||
5 | |||
6 | EXTRA_OECONF += " --disable-libmudflap \ | ||
7 | --disable-libgomp \ | ||
8 | --disable-libssp" | ||
9 | 4 | ||
10 | # Hack till we fix *libc properly | 5 | # Hack till we fix *libc properly |
11 | do_install_append() { | 6 | do_install_append() { |
diff --git a/meta/packages/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb b/meta/packages/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb index 0dabd0b8db..b6d3a3a642 100644 --- a/meta/packages/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb +++ b/meta/packages/gcc/gcc-cross-intermediate_csl-arm-2008q1.bb | |||
@@ -3,8 +3,6 @@ require gcc-cross-intermediate.inc | |||
3 | 3 | ||
4 | S = "${WORKDIR}/gcc-4.2" | 4 | S = "${WORKDIR}/gcc-4.2" |
5 | 5 | ||
6 | EXTRA_OECONF += "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap " | ||
7 | |||
8 | # Hack till we fix *libc properly | 6 | # Hack till we fix *libc properly |
9 | do_install_append() { | 7 | do_install_append() { |
10 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ | 8 | ln -sf ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include-fixed/* ${D}${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${BINV}/include/ |
diff --git a/meta/packages/gcc/gcc-csl-arm-2008q1.inc b/meta/packages/gcc/gcc-csl-arm-2008q1.inc index d4f6ef1e37..e84bd835d2 100644 --- a/meta/packages/gcc/gcc-csl-arm-2008q1.inc +++ b/meta/packages/gcc/gcc-csl-arm-2008q1.inc | |||
@@ -45,6 +45,9 @@ FORTRAN = "" | |||
45 | #JAVA = ",java" | 45 | #JAVA = ",java" |
46 | 46 | ||
47 | EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" | 47 | EXTRA_OECONF_BASE = "--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" |
48 | EXTRA_OECONF_INITIAL = "--disable-libmudflap --disable-libgomp --disable-libssp --disable-bootstrap" | ||
49 | EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap --disable-libgomp --disable-libssp --disable-bootstrap" | ||
50 | |||
48 | ARM_INSTRUCTION_SET = "arm" | 51 | ARM_INSTRUCTION_SET = "arm" |
49 | 52 | ||
50 | addtask unpack2 after do_unpack before do_patch | 53 | addtask unpack2 after do_unpack before do_patch |