From 7a0093309804b76b3949d77812740bc12a9aba65 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 15 Mar 2008 17:49:14 +0000 Subject: gcc-4.2.2: Move gcc only SRC_URI append from .inc to .bb --- packages/gcc/gcc-4.2.2.inc | 7 ------- packages/gcc/gcc-cross_3.3.3.bb | 1 - packages/gcc/gcc_4.2.2.bb | 3 +++ 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'packages/gcc') 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" + -- cgit v1.2.3