diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 17:49:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 17:49:14 +0000 |
commit | 7a0093309804b76b3949d77812740bc12a9aba65 (patch) | |
tree | ec25d3c46a817cb5eb019c2c4b8a1bc4734af085 /packages | |
parent | e8013864109af80715161cdb771c7a7974af5311 (diff) |
gcc-4.2.2: Move gcc only SRC_URI append from .inc to .bb
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gcc/gcc-4.2.2.inc | 7 | ||||
-rw-r--r-- | packages/gcc/gcc-cross_3.3.3.bb | 1 | ||||
-rw-r--r-- | packages/gcc/gcc_4.2.2.bb | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/packages/gcc/gcc-4.2.2.inc b/packages/gcc/gcc-4.2.2.inc index 79277d3a06..4959cc711f 100644 --- a/packages/gcc/gcc-4.2.2.inc +++ b/packages/gcc/gcc-4.2.2.inc @@ -77,12 +77,5 @@ LANGUAGES = "c,c++${FORTRAN}${JAVA}" require gcc3-build.inc ARCH_FLAGS_FOR_TARGET=-isystem${STAGING_INCDIR} - EXTRA_OECONF += " --disable-libssp --disable-bootstrap " -# We know some one is including us, but we only want to apply this fortran hack for the real gcc -python __anonymous () { - import bb - if bb.data.getVar('PN', d, True) == "gcc": - bb.data.setVar('SRC_URI_append', ' file://fortran-cross-compile-hack.patch;patch=1', d) -} diff --git a/packages/gcc/gcc-cross_3.3.3.bb b/packages/gcc/gcc-cross_3.3.3.bb index b59b9afd4d..b64756246c 100644 --- a/packages/gcc/gcc-cross_3.3.3.bb +++ b/packages/gcc/gcc-cross_3.3.3.bb @@ -1,7 +1,6 @@ PR = "r3" require gcc-${PV}.inc -require gcc-package-target.inc require gcc-cross.inc require gcc-package-cross.inc diff --git a/packages/gcc/gcc_4.2.2.bb b/packages/gcc/gcc_4.2.2.bb index b553b20f72..a32b55f91f 100644 --- a/packages/gcc/gcc_4.2.2.bb +++ b/packages/gcc/gcc_4.2.2.bb @@ -2,3 +2,6 @@ PR = "r6" require gcc-${PV}.inc require gcc-package-target.inc + +SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1" + |