summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-devtools/gcc/gcc-4.5.inc2
-rw-r--r--recipes-devtools/gcc/gcc-common.inc46
-rw-r--r--recipes-devtools/gcc/gcc-configure-common.inc112
-rw-r--r--recipes-devtools/gcc/gcc-configure-cross.inc24
-rw-r--r--recipes-devtools/gcc/gcc-configure-runtime.inc45
-rw-r--r--recipes-devtools/gcc/gcc-configure-sdk.inc48
-rw-r--r--recipes-devtools/gcc/gcc-configure-target.inc5
-rw-r--r--recipes-devtools/gcc/gcc-cross-canadian.inc4
-rw-r--r--recipes-devtools/gcc/gcc-cross-canadian_4.5.bb8
-rw-r--r--recipes-devtools/gcc/gcc-cross-initial.inc24
-rw-r--r--recipes-devtools/gcc/gcc-cross-initial_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-cross-intermediate.inc28
-rw-r--r--recipes-devtools/gcc/gcc-cross-intermediate_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-cross-kernel.inc10
-rw-r--r--recipes-devtools/gcc/gcc-cross.inc12
-rw-r--r--recipes-devtools/gcc/gcc-cross4.inc1
-rw-r--r--recipes-devtools/gcc/gcc-cross_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-initial.inc8
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-initial_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-intermediate.inc9
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk.inc16
-rw-r--r--recipes-devtools/gcc/gcc-crosssdk_4.5.bb4
-rw-r--r--recipes-devtools/gcc/gcc-package-cross.inc47
-rw-r--r--recipes-devtools/gcc/gcc-package-runtime.inc50
-rw-r--r--recipes-devtools/gcc/gcc-package-sdk.inc52
-rw-r--r--recipes-devtools/gcc/gcc-package-target.inc99
-rw-r--r--recipes-devtools/gcc/gcc-runtime_4.5.bb6
-rw-r--r--recipes-devtools/gcc/gcc_4.5.bb6
-rw-r--r--recipes-devtools/gcc/libgcc_4.5.bb2
30 files changed, 24 insertions, 664 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5.inc b/recipes-devtools/gcc/gcc-4.5.inc
index fd36b3937a..f497f2d90c 100644
--- a/recipes-devtools/gcc/gcc-4.5.inc
+++ b/recipes-devtools/gcc/gcc-4.5.inc
@@ -1,4 +1,4 @@
1require gcc-common.inc 1require recipes-devtools/gcc/gcc-common.inc
2 2
3DEPENDS =+ "mpfr gmp libmpc elfutils" 3DEPENDS =+ "mpfr gmp libmpc elfutils"
4NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native" 4NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
diff --git a/recipes-devtools/gcc/gcc-common.inc b/recipes-devtools/gcc/gcc-common.inc
deleted file mode 100644
index 1e9c65e662..0000000000
--- a/recipes-devtools/gcc/gcc-common.inc
+++ /dev/null
@@ -1,46 +0,0 @@
1DESCRIPTION = "The GNU cc and gcc C compilers."
2HOMEPAGE = "http://www.gnu.org/software/gcc/"
3SECTION = "devel"
4LICENSE = "GPL"
5
6NATIVEDEPS = ""
7
8inherit autotools gettext
9
10FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
11
12def get_gcc_fpu_setting(bb, d):
13 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
14 return "--with-float=soft"
15 return ""
16
17def get_gcc_mips_plt_setting(bb, d):
18 if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'mips', 'mipsel' ] and 'mplt' in bb.data.getVar('DISTRO_FEATURES',d,1).split() :
19 return "--with-mips-plt"
20 return ""
21
22# We really need HOST_SYS here for some packages and TARGET_SYS for others.
23# For now, libgcc is most important so we fix for that - RP.
24SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"
25
26DEBIANNAME_libgcc = "libgcc1"
27
28MIRRORS_prepend () {
29${GNU_MIRROR}/gcc/releases/ ftp://gcc.gnu.org/pub/gcc/releases/
30${GNU_MIRROR}/gcc/ http://mirrors.rcn.net/pub/sourceware/gcc/releases/
31${GNU_MIRROR}/gcc/releases/ http://gcc.get-software.com/releases/
32${GNU_MIRROR}/gcc/ http://gcc.get-software.com/releases/
33}
34
35#
36# Set some default values
37#
38gcclibdir = "${libdir}/gcc"
39BINV = "${PV}"
40S = "${WORKDIR}/gcc-${PV}"
41B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
42
43target_includedir ?= "${includedir}"
44target_libdir ?= "${libdir}"
45target_base_libdir ?= "${base_libdir}"
46target_prefix ?= "${prefix}"
diff --git a/recipes-devtools/gcc/gcc-configure-common.inc b/recipes-devtools/gcc/gcc-configure-common.inc
deleted file mode 100644
index 43937778f1..0000000000
--- a/recipes-devtools/gcc/gcc-configure-common.inc
+++ /dev/null
@@ -1,112 +0,0 @@
1#
2# Build the list of lanaguages to build.
3#
4# These can be overridden by the version specific .inc file.
5
6# Java (gcj doesn't work on all architectures)
7JAVA ?= ",java"
8JAVA_arm ?= ""
9JAVA_armeb ?= ""
10JAVA_mipsel ?= ""
11JAVA_sh3 ?= ""
12# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
13FORTRAN ?= ",f77"
14LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
15# disable --enable-target-optspace for powerpc SPE
16# at -Os libgcc.so.1 creates references into
17# hidden symbols in libgcc.a which linker complains
18# when linking shared libraries further in the build like (gnutls)
19
20SPECIAL_ARCH_LIST = "powerpc"
21OPTSPACE = ${@base_contains("SPECIAL_ARCH_LIST", "${TARGET_ARCH}", "", "--enable-target-optspace",d)}
22
23EXTRA_OECONF_BASE ?= ""
24EXTRA_OECONF_PATHS ?= ""
25EXTRA_OECONF_INITIAL ?= ""
26EXTRA_OECONF_INTERMEDIATE ?= ""
27
28GCCMULTILIB = "--disable-multilib"
29
30EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
31 --with-gnu-ld \
32 --enable-shared \
33 --enable-languages=${LANGUAGES} \
34 --enable-threads=posix \
35 ${GCCMULTILIB} \
36 --enable-c99 \
37 --enable-long-long \
38 --enable-symvers=gnu \
39 --enable-libstdcxx-pch \
40 --program-prefix=${TARGET_PREFIX} \
41 ${OPTSPACE} \
42 ${EXTRA_OECONF_BASE} \
43 ${EXTRA_OECONF_FPU} \
44 ${EXTRA_OECONF_PATHS} \
45 ${@get_gcc_mips_plt_setting(bb, d)}"
46
47# Build uclibc compilers without cxa_atexit support
48EXTRA_OECONF_append_linux = " --enable-__cxa_atexit"
49EXTRA_OECONF_append_linux-gnueabi = " --enable-__cxa_atexit"
50EXTRA_OECONF_append_linux-uclibc = " --disable-__cxa_atexit"
51EXTRA_OECONF_append_linux-uclibcgnueabi = " --disable-__cxa_atexit"
52EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
53CPPFLAGS = ""
54
55# Used by configure to define additional values for FLAGS_FOR_TARGET -
56# passed to all the compilers.
57ARCH_FLAGS_FOR_TARGET = "${TARGET_CC_ARCH}"
58EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
59
60SYSTEMHEADERS = "${target_includedir}"
61SYSTEMLIBS = "${target_base_libdir}/"
62SYSTEMLIBS1 = "${target_libdir}/"
63
64do_configure () {
65 # Setup these vars for cross building only
66 # ... because foo_FOR_TARGET apparently gets misinterpreted inside the
67 # gcc build stuff when the build is producing a cross compiler - i.e.
68 # when the 'current' target is the 'host' system, and the host is not
69 # the target (because the build is actually making a cross compiler!)
70 if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
71 export CC_FOR_TARGET="${CC}"
72 export GCC_FOR_TARGET="${CC}"
73 export CXX_FOR_TARGET="${CXX}"
74 export AS_FOR_TARGET="${HOST_PREFIX}as"
75 export LD_FOR_TARGET="${HOST_PREFIX}ld"
76 export NM_FOR_TARGET="${HOST_PREFIX}nm"
77 export AR_FOR_TARGET="${HOST_PREFIX}ar"
78 export GFORTRAN_FOR_TARGET="gfortran"
79 export RANLIB_FOR_TARGET="${HOST_PREFIX}ranlib"
80 fi
81 export CC_FOR_BUILD="${BUILD_CC}"
82 export CXX_FOR_BUILD="${BUILD_CXX}"
83 export CFLAGS_FOR_BUILD="${BUILD_CFLAGS}"
84 export CPPFLAGS_FOR_BUILD="${BUILD_CPPFLAGS}"
85 export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}"
86 export LDFLAGS_FOR_BUILD="${BUILD_LDFLAGS}"
87 export ARCH_FLAGS_FOR_TARGET="${ARCH_FLAGS_FOR_TARGET}"
88 (cd ${S} && gnu-configize) || die "failure running gnu-configize"
89
90 # teach gcc to find correct target includedir when checking libc ssp support
91 sed -i 's:^\([ ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\":\1glibc_header_dir=\"${with_build_sysroot}${SYSTEMHEADERS}\":g' ${S}/gcc/configure.ac
92 sed -i 's:^\([ ]*\)glibc_header_dir=\"${with_build_sysroot}/usr/include\":\1glibc_header_dir=\"${with_build_sysroot}${SYSTEMHEADERS}\":g' ${S}/gcc/configure
93
94 # splice our idea of where the headers live into gcc's world
95 echo "NATIVE_SYSTEM_HEADER_DIR = ${SYSTEMHEADERS}" > ${T}/t-oe
96 sed 's%^tmake_file=.*$%& ${T}/t-oe%' < ${S}/gcc/Makefile.in >${S}/gcc/Makefile.in.new
97 mv ${S}/gcc/Makefile.in.new ${S}/gcc/Makefile.in
98 cat ${S}/gcc/defaults.h | grep -v "\#endif.*GCC_DEFAULTS_H" > ${S}/gcc/defaults.h.new
99 echo "#ifndef STANDARD_INCLUDE_DIR" >> ${S}/gcc/defaults.h.new
100 echo "#define STANDARD_INCLUDE_DIR \"${SYSTEMHEADERS}\"" >> ${S}/gcc/defaults.h.new
101 echo "#endif" >> ${S}/gcc/defaults.h.new
102 echo "#ifndef STANDARD_STARTFILE_PREFIX_1" >> ${S}/gcc/defaults.h.new
103 echo "#define STANDARD_STARTFILE_PREFIX_1 \"${SYSTEMLIBS}\"" >> ${S}/gcc/defaults.h.new
104 echo "#endif" >> ${S}/gcc/defaults.h.new
105 echo "#ifndef STANDARD_STARTFILE_PREFIX_2" >> ${S}/gcc/defaults.h.new
106 echo "#define STANDARD_STARTFILE_PREFIX_2 \"${SYSTEMLIBS1}\"" >> ${S}/gcc/defaults.h.new
107 echo "#endif" >> ${S}/gcc/defaults.h.new
108 echo "#endif /* ! GCC_DEFAULTS_H */" >> ${S}/gcc/defaults.h.new
109 mv ${S}/gcc/defaults.h.new ${S}/gcc/defaults.h
110 oe_runconf
111}
112
diff --git a/recipes-devtools/gcc/gcc-configure-cross.inc b/recipes-devtools/gcc/gcc-configure-cross.inc
deleted file mode 100644
index 04a8685358..0000000000
--- a/recipes-devtools/gcc/gcc-configure-cross.inc
+++ /dev/null
@@ -1,24 +0,0 @@
1require gcc-configure-common.inc
2
3USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
4
5EXTRA_OECONF += " --enable-poison-system-directories "
6
7EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
8 --with-gxx-include-dir=${target_includedir}/c++ \
9 --with-sysroot=${STAGING_DIR_TARGET} \
10 --with-build-sysroot=${STAGING_DIR_TARGET}"
11
12do_compile_prepend () {
13 export CC="${BUILD_CC}"
14 export AR_FOR_TARGET="${TARGET_SYS}-ar"
15 export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib"
16 export LD_FOR_TARGET="${TARGET_SYS}-ld"
17 export NM_FOR_TARGET="${TARGET_SYS}-nm"
18 export CC_FOR_TARGET="${CCACHE} ${TARGET_SYS}-gcc ${TARGET_CC_ARCH}"
19}
20
21LIBGCCS_VAR = "-lgcc_s"
22LIBGCCS_VAR_avr32 = ""
23
24do_package_write_ipk[depends] += "virtual/libc:do_package"
diff --git a/recipes-devtools/gcc/gcc-configure-runtime.inc b/recipes-devtools/gcc/gcc-configure-runtime.inc
deleted file mode 100644
index 6cc11e2ffe..0000000000
--- a/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ /dev/null
@@ -1,45 +0,0 @@
1require gcc-configure-common.inc
2
3EXTRA_OECONF_PATHS = " \
4 --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
5 --with-gxx-include-dir=${includedir}/c++/ \
6 --with-sysroot=${STAGING_DIR_TARGET} \
7 --with-build-sysroot=${STAGING_DIR_TARGET}"
8
9RUNTIMETARGET = "libssp libstdc++-v3"
10# ?
11# libiberty
12# libmudflap
13# libgfortran
14
15do_configure () {
16 export CXX="${CXX} -nostdinc++ -nostdlib++"
17 for d in ${RUNTIMETARGET}; do
18 echo "Configuring $d"
19 mkdir -p ${B}/$d/
20 cd ${B}/$d/
21 chmod a+x ${S}/$d/configure
22 ${S}/$d/configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
23 done
24}
25
26do_compile () {
27 for d in ${RUNTIMETARGET}; do
28 cd ${B}/$d/
29 oe_runmake
30 done
31}
32
33do_install () {
34 for d in ${RUNTIMETARGET}; do
35 cd ${B}/$d/
36 oe_runmake 'DESTDIR=${D}' install
37 done
38}
39
40INHIBIT_DEFAULT_DEPS = "1"
41DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc"
42PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs"
43
44BBCLASSEXTEND = "nativesdk"
45
diff --git a/recipes-devtools/gcc/gcc-configure-sdk.inc b/recipes-devtools/gcc/gcc-configure-sdk.inc
deleted file mode 100644
index 756e74e48d..0000000000
--- a/recipes-devtools/gcc/gcc-configure-sdk.inc
+++ /dev/null
@@ -1,48 +0,0 @@
1require gcc-configure-common.inc
2
3# The two lines below conflict, this needs fixing - RP
4USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
5USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
6
7EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \
8 --with-gxx-include-dir=${target_includedir}/c++ \
9 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
10 --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
11 --with-build-sysroot=${STAGING_DIR_TARGET}"
12
13#
14# gcc-cross looks and finds these in ${exec_prefix} but we're not so lucky
15# for the sdk. Hardcoding the paths ensures the build doesn't go canadian or worse.
16#
17export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
18export AS_FOR_TARGET = "${TARGET_PREFIX}as"
19export DLLTOOL_FOR_TARGET = "${TARGET_PREFIX}dlltool"
20export CC_FOR_TARGET = "${TARGET_PREFIX}gcc"
21export CXX_FOR_TARGET = "${TARGET_PREFIX}g++"
22export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
23export LIPO_FOR_TARGET = "${TARGET_PREFIX}lipo"
24export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
25export OBJDUMP_FOR_TARGET = "${TARGET_PREFIX}objdump"
26export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
27export STRIP_FOR_TARGET = "${TARGET_PREFIX}strip"
28export WINDRES_FOR_TARGET = "${TARGET_PREFIX}windres"
29
30#
31# We need to override this and make sure the compiler can find staging
32#
33export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET}"
34
35do_configure () {
36 export CC_FOR_BUILD="${BUILD_CC}"
37 export CXX_FOR_BUILD="${BUILD_CXX}"
38 export CFLAGS_FOR_BUILD="${BUILD_CFLAGS}"
39 export CPPFLAGS_FOR_BUILD="${BUILD_CPPFLAGS}"
40 export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}"
41 export LDFLAGS_FOR_BUILD="${BUILD_LDFLAGS}"
42 (cd ${S} && gnu-configize) || die "failure running gnu-configize"
43 oe_runconf
44}
45
46do_compile () {
47 oe_runmake all-host all-target-libgcc
48}
diff --git a/recipes-devtools/gcc/gcc-configure-target.inc b/recipes-devtools/gcc/gcc-configure-target.inc
deleted file mode 100644
index 8b169a7c54..0000000000
--- a/recipes-devtools/gcc/gcc-configure-target.inc
+++ /dev/null
@@ -1,5 +0,0 @@
1require gcc-configure-common.inc
2
3EXTRA_OECONF_PATHS = " \
4 --with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
5 --with-gxx-include-dir=${includedir}/c++/"
diff --git a/recipes-devtools/gcc/gcc-cross-canadian.inc b/recipes-devtools/gcc/gcc-cross-canadian.inc
deleted file mode 100644
index a3b15c3dc6..0000000000
--- a/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ /dev/null
@@ -1,4 +0,0 @@
1inherit cross-canadian
2
3DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk"
4
diff --git a/recipes-devtools/gcc/gcc-cross-canadian_4.5.bb b/recipes-devtools/gcc/gcc-cross-canadian_4.5.bb
index 6a4cc5e985..288bd3343f 100644
--- a/recipes-devtools/gcc/gcc-cross-canadian_4.5.bb
+++ b/recipes-devtools/gcc/gcc-cross-canadian_4.5.bb
@@ -1,9 +1,9 @@
1inherit cross-canadian 1inherit cross-canadian
2 2
3require gcc-${PV}.inc 3require recipes-devtools/gcc/gcc-${PV}.inc
4require gcc-cross-canadian.inc 4require recipes-devtools/gcc/gcc-cross-canadian.inc
5require gcc-configure-sdk.inc 5require recipes-devtools/gcc/gcc-configure-sdk.inc
6require gcc-package-sdk.inc 6require recipes-devtools/gcc/gcc-package-sdk.inc
7 7
8PR = "${INC_PR}.0" 8PR = "${INC_PR}.0"
9 9
diff --git a/recipes-devtools/gcc/gcc-cross-initial.inc b/recipes-devtools/gcc/gcc-cross-initial.inc
deleted file mode 100644
index f582de9843..0000000000
--- a/recipes-devtools/gcc/gcc-cross-initial.inc
+++ /dev/null
@@ -1,24 +0,0 @@
1DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}"
2PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
3PACKAGES = ""
4
5# This is intended to be a -very- basic config
6# sysroot is needed in case we use libc-initial
7EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
8 --with-newlib \
9 --without-headers \
10 --disable-shared \
11 --disable-threads \
12 --disable-multilib \
13 --disable-__cxa_atexit \
14 --enable-languages=c \
15 ${OPTSPACE} \
16 --program-prefix=${TARGET_PREFIX} \
17 --with-sysroot=${STAGING_DIR_TARGET} \
18 --with-build-sysroot=${STAGING_DIR_TARGET} \
19 ${EXTRA_OECONF_INITIAL} \
20 ${@get_gcc_fpu_setting(bb, d)}"
21
22do_compile () {
23 oe_runmake
24}
diff --git a/recipes-devtools/gcc/gcc-cross-initial_4.5.bb b/recipes-devtools/gcc/gcc-cross-initial_4.5.bb
index 5ca9cd7a68..3e67036bf6 100644
--- a/recipes-devtools/gcc/gcc-cross-initial_4.5.bb
+++ b/recipes-devtools/gcc/gcc-cross-initial_4.5.bb
@@ -1,5 +1,5 @@
1require gcc-cross_${PV}.bb 1require recipes-devtools/gcc/gcc-cross_${PV}.bb
2require gcc-cross-initial.inc 2require recipes-devtools/gcc/gcc-cross-initial.inc
3 3
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
5 5
diff --git a/recipes-devtools/gcc/gcc-cross-intermediate.inc b/recipes-devtools/gcc/gcc-cross-intermediate.inc
deleted file mode 100644
index 72a42411b1..0000000000
--- a/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ /dev/null
@@ -1,28 +0,0 @@
1DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}"
2DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native"
3PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate"
4PACKAGES = ""
5
6# This is intended to be a -very- basic config
7# sysroot is needed in case we use libc-initial
8EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
9 --enable-shared \
10 --disable-multilib \
11 --disable-threads \
12 --enable-languages=c \
13 ${OPTSPACE} \
14 --program-prefix=${TARGET_PREFIX} \
15 --with-sysroot=${STAGING_DIR_TARGET} \
16 --with-build-sysroot=${STAGING_DIR_TARGET} \
17 ${EXTRA_OECONF_INTERMEDIATE} \
18 ${@get_gcc_fpu_setting(bb, d)}"
19
20do_compile () {
21 oe_runmake
22}
23
24do_install () {
25 oe_runmake 'DESTDIR=${D}' install
26 install -d ${D}${target_base_libdir}/
27 mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/
28}
diff --git a/recipes-devtools/gcc/gcc-cross-intermediate_4.5.bb b/recipes-devtools/gcc/gcc-cross-intermediate_4.5.bb
index aa7d148e8a..8210483e78 100644
--- a/recipes-devtools/gcc/gcc-cross-intermediate_4.5.bb
+++ b/recipes-devtools/gcc/gcc-cross-intermediate_4.5.bb
@@ -1,4 +1,4 @@
1require gcc-cross_${PV}.bb 1require recipes-devtools/gcc/gcc-cross_${PV}.bb
2require gcc-cross-intermediate.inc 2require recipes-devtools/gcc/gcc-cross-intermediate.inc
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.0"
4 4
diff --git a/recipes-devtools/gcc/gcc-cross-kernel.inc b/recipes-devtools/gcc/gcc-cross-kernel.inc
deleted file mode 100644
index 5347762762..0000000000
--- a/recipes-devtools/gcc/gcc-cross-kernel.inc
+++ /dev/null
@@ -1,10 +0,0 @@
1# Cut-down gcc for kernel builds
2# Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
3
4PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
5
6do_install () {
7 cd gcc
8 oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
9 install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
10}
diff --git a/recipes-devtools/gcc/gcc-cross.inc b/recipes-devtools/gcc/gcc-cross.inc
deleted file mode 100644
index 5a796bcde6..0000000000
--- a/recipes-devtools/gcc/gcc-cross.inc
+++ /dev/null
@@ -1,12 +0,0 @@
1inherit cross
2
3DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
4PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
5
6require gcc-configure-cross.inc
7require gcc-package-cross.inc
8
9do_compile () {
10 oe_runmake all-host all-target-libgcc
11}
12
diff --git a/recipes-devtools/gcc/gcc-cross4.inc b/recipes-devtools/gcc/gcc-cross4.inc
deleted file mode 100644
index ea20a24a01..0000000000
--- a/recipes-devtools/gcc/gcc-cross4.inc
+++ /dev/null
@@ -1 +0,0 @@
1require gcc-cross.inc
diff --git a/recipes-devtools/gcc/gcc-cross_4.5.bb b/recipes-devtools/gcc/gcc-cross_4.5.bb
index 2b7e727716..0f810b71ae 100644
--- a/recipes-devtools/gcc/gcc-cross_4.5.bb
+++ b/recipes-devtools/gcc/gcc-cross_4.5.bb
@@ -1,7 +1,7 @@
1PR = "${INC_PR}.2" 1PR = "${INC_PR}.2"
2 2
3require gcc-${PV}.inc 3require recipes-devtools/gcc/gcc-${PV}.inc
4require gcc-cross4.inc 4require recipes-devtools/gcc/gcc-cross4.inc
5 5
6EXTRA_OECONF += "--disable-libunwind-exceptions \ 6EXTRA_OECONF += "--disable-libunwind-exceptions \
7 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \ 7 --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial.inc b/recipes-devtools/gcc/gcc-crosssdk-initial.inc
deleted file mode 100644
index c6f74a6445..0000000000
--- a/recipes-devtools/gcc/gcc-crosssdk-initial.inc
+++ /dev/null
@@ -1,8 +0,0 @@
1inherit crosssdk
2
3SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
4SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
5SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
6
7DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native ${NATIVEDEPS}"
8PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial-crosssdk"
diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.bb b/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.bb
index 8853e48bfb..7ebb27338e 100644
--- a/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.bb
+++ b/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.bb
@@ -1,4 +1,4 @@
1require gcc-cross-initial_${PV}.bb 1require recipes-devtools/gcc/gcc-cross-initial_${PV}.bb
2require gcc-crosssdk-initial.inc 2require recipes-devtools/gcc/gcc-crosssdk-initial.inc
3 3
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
diff --git a/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc b/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
deleted file mode 100644
index ed5d5e838d..0000000000
--- a/recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
+++ /dev/null
@@ -1,9 +0,0 @@
1inherit crosssdk
2
3SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
4SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
5SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
6
7DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk gettext-native"
8DEPENDS += "virtual/${TARGET_PREFIX}libc-initial-nativesdk"
9PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate-crosssdk"
diff --git a/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.bb b/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.bb
index 547c9570f0..aa5b5a8459 100644
--- a/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.bb
+++ b/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.bb
@@ -1,4 +1,4 @@
1require gcc-cross-intermediate_${PV}.bb 1require recipes-devtools/gcc/gcc-cross-intermediate_${PV}.bb
2require gcc-crosssdk-intermediate.inc 2require recipes-devtools/gcc/gcc-crosssdk-intermediate.inc
3 3
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
diff --git a/recipes-devtools/gcc/gcc-crosssdk.inc b/recipes-devtools/gcc/gcc-crosssdk.inc
deleted file mode 100644
index 6e7d5a73f9..0000000000
--- a/recipes-devtools/gcc/gcc-crosssdk.inc
+++ /dev/null
@@ -1,16 +0,0 @@
1inherit crosssdk
2
3SYSTEMHEADERS = "${SDKPATHNATIVE}${prefix_nativesdk}/include"
4SYSTEMLIBS = "${SDKPATHNATIVE}${base_libdir_nativesdk}/"
5SYSTEMLIBS1 = "${SDKPATHNATIVE}${libdir_nativesdk}/"
6
7GCCMULTILIB = "--disable-multilib"
8
9DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc-nativesdk gettext-native"
10PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
11
12do_configure_prepend () {
13 # Change the default dynamic linker path to the one in the SDK
14 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib/#\1${SYSTEMLIBS}#'
15 sed -i ${S}/gcc/config/*/linux*.h -e 's#\(GLIBC_DYNAMIC_LINKER.*\)/lib64/#\1${SYSTEMLIBS}#'
16}
diff --git a/recipes-devtools/gcc/gcc-crosssdk_4.5.bb b/recipes-devtools/gcc/gcc-crosssdk_4.5.bb
index 25c000aa79..b8e3aed665 100644
--- a/recipes-devtools/gcc/gcc-crosssdk_4.5.bb
+++ b/recipes-devtools/gcc/gcc-crosssdk_4.5.bb
@@ -1,4 +1,4 @@
1require gcc-cross_${PV}.bb 1require recipes-devtools/gcc/gcc-cross_${PV}.bb
2require gcc-crosssdk.inc 2require recipes-devtools/gcc/gcc-crosssdk.inc
3 3
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
diff --git a/recipes-devtools/gcc/gcc-package-cross.inc b/recipes-devtools/gcc/gcc-package-cross.inc
deleted file mode 100644
index 4f902fa149..0000000000
--- a/recipes-devtools/gcc/gcc-package-cross.inc
+++ /dev/null
@@ -1,47 +0,0 @@
1INHIBIT_PACKAGE_STRIP = "1"
2
3# Compute how to get from libexecdir to bindir in python (easier than shell)
4BINRELPATH = "${@oe.path.relative(bb.data.expand("${libexecdir}/gcc/${TARGET_SYS}/${BINV}", d), bb.data.expand("${STAGING_DIR_NATIVE}${prefix_native}/bin/${MULTIMACH_TARGET_SYS}", d))}"
5
6do_install () {
7 oe_runmake 'DESTDIR=${D}' install-host
8
9 install -d ${D}${target_base_libdir}
10 install -d ${D}${target_libdir}
11
12 # Link gfortran to g77 to satisfy not-so-smart configure or hard coded g77
13 # gfortran is fully backwards compatible. This is a safe and practical solution.
14 ln -sf ${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gfortran ${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}g77 || true
15
16
17 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
18 # found. These need to be relative paths so they work in different locations.
19 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
20 install -d $dest
21 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
22 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
23 done
24
25 # Remove things we don't need but keep share/java
26 for d in info man share/doc share/locale share/man share/info; do
27 rm -rf ${D}${STAGING_DIR_NATIVE}${prefix_native}/$d
28 done
29
30 # gcc-runtime installs libgcc into a special location in staging since it breaks doing a standalone build
31 if [ "${PN}" == "gcc-cross" -o "${PN}" == "gcc-crosssdk" ]; then
32 dest=${D}/${includedir}/gcc-build-internal-${MULTIMACH_TARGET_SYS}
33 oe_runmake "DESTDIR=$dest" libdir=${target_libdir} base_libdir=${target_base_libdir} prefix=${target_prefix} exec_prefix=${target_exec_prefix} install-target-libgcc
34
35 # Ideally here we'd override the libgcc Makefile's idea of slibdir but
36 # for now, we just move the files to the correct location
37
38 install -d $dest${target_base_libdir}
39 mv $dest${target_exec_prefix}/${TARGET_SYS}/lib*/* $dest${target_base_libdir}
40 rm -rf $dest${target_exec_prefix}/${TARGET_SYS}
41
42 # Also need to move gcc from /usr/lib/gcc/* to /usr/lib/ else the search paths won't find the crt*.o files
43
44 mv $dest${target_libdir}/gcc/* $dest${target_libdir}/
45 rmdir $dest${target_libdir}/gcc
46 fi
47}
diff --git a/recipes-devtools/gcc/gcc-package-runtime.inc b/recipes-devtools/gcc/gcc-package-runtime.inc
deleted file mode 100644
index e8c901131e..0000000000
--- a/recipes-devtools/gcc/gcc-package-runtime.inc
+++ /dev/null
@@ -1,50 +0,0 @@
1PACKAGES = "\
2 libstdc++ \
3 libstdc++-precompile-dev \
4 libstdc++-dev \
5 libg2c \
6 libg2c-dev \
7 libssp \
8 libssp-dev \
9 libgfortran \
10 libgfortran-dev \
11 libmudflap \
12 libmudflap-dev \
13"
14
15FILES_libg2c = "${target_libdir}/libg2c.so.*"
16FILES_libg2c-dev = "\
17 ${libdir}/libg2c.so \
18 ${libdir}/libg2c.a \
19 ${libdir}/libfrtbegin.a"
20
21FILES_libstdc++ = "${libdir}/libstdc++.so.*"
22FILES_libstdc++-dev = "\
23 ${includedir}/c++/ \
24 ${libdir}/libstdc++.so \
25 ${libdir}/libstdc++.la \
26 ${libdir}/libstdc++.a \
27 ${libdir}/libsupc++.la \
28 ${libdir}/libsupc++.a"
29
30FILES_libstdc++-precompile-dev = "${includedir}/c++/${TARGET_SYS}/bits/*.gch"
31
32FILES_libssp = "${libdir}/libssp.so.*"
33FILES_libssp-dev = " \
34 ${libdir}/libssp*.so \
35 ${libdir}/libssp*.a \
36 ${libdir}/libssp*.la \
37 ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/ssp"
38
39FILES_libgfortran = "${libdir}/libgfortran.so.*"
40FILES_libgfortran-dev = " \
41 ${libdir}/libgfortran.a \
42 ${libdir}/libgfortran.so \
43 ${libdir}/libgfortranbegin.a"
44
45FILES_libmudflap = "${libdir}/libmudflap*.so.*"
46FILES_libmudflap-dev = "\
47 ${libdir}/libmudflap*.so \
48 ${libdir}/libmudflap*.a \
49 ${libdir}/libmudflap*.la"
50
diff --git a/recipes-devtools/gcc/gcc-package-sdk.inc b/recipes-devtools/gcc/gcc-package-sdk.inc
deleted file mode 100644
index 23b9a48eb3..0000000000
--- a/recipes-devtools/gcc/gcc-package-sdk.inc
+++ /dev/null
@@ -1,52 +0,0 @@
1INHIBIT_PACKAGE_STRIP = "1"
2
3# Having anything auto depending on gcc-cross-sdk is a really bad idea...
4EXCLUDE_FROM_SHLIBS = "1"
5
6PACKAGES = "${PN} ${PN}-doc"
7
8FILES_${PN} = "\
9 ${bindir}/* \
10 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/* \
11 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
12 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
13 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \
14 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \
15 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
16 ${includedir}/c++/${BINV} \
17 ${prefix}/${TARGET_SYS}/bin/* \
18 ${prefix}/${TARGET_SYS}/lib/* \
19 ${prefix}/${TARGET_SYS}/usr/include/* \
20 "
21FILES_${PN}-doc = "\
22 ${infodir} \
23 ${mandir} \
24 ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
25 "
26
27do_install () {
28 oe_runmake 'DESTDIR=${D}' install-host
29
30 # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
31 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
32 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
33
34 # We care about g++ not c++
35 rm -f ${D}${bindir}/*c++
36
37 # We don't care about the gcc-<version> copies
38 rm -f ${D}${bindir}/*gcc-?.?*
39
40 # We use libiberty from binutils
41 rm -f ${D}${prefix}/${TARGET_SYS}/lib/libiberty.a
42 rm -f ${D}${libdir}/libiberty.a
43
44 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
45 # found.
46 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
47 install -d $dest
48 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
49 ln -sf ${bindir}/${TARGET_PREFIX}$t $dest$t
50 done
51}
52
diff --git a/recipes-devtools/gcc/gcc-package-target.inc b/recipes-devtools/gcc/gcc-package-target.inc
deleted file mode 100644
index 3286da6a95..0000000000
--- a/recipes-devtools/gcc/gcc-package-target.inc
+++ /dev/null
@@ -1,99 +0,0 @@
1PACKAGES = "\
2 ${PN} ${PN}-symlinks \
3 g++ g++-symlinks \
4 cpp cpp-symlinks \
5 g77 g77-symlinks \
6 gfortran gfortran-symlinks \
7 gcov gcov-symlinks \
8 ${PN}-doc \
9"
10
11FILES_${PN} = "\
12 ${bindir}/${TARGET_PREFIX}gcc \
13 ${bindir}/${TARGET_PREFIX}gccbug \
14 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/collect2 \
15 ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
16 ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
17 ${gcclibdir}/${TARGET_SYS}/${BINV}/lib* \
18 ${gcclibdir}/${TARGET_SYS}/${BINV}/include \
19 ${gcclibdir}/${TARGET_SYS}/${BINV}/include-fixed \
20"
21FILES_${PN}-symlinks = "\
22 ${bindir}/cc \
23 ${bindir}/gcc \
24 ${bindir}/gccbug \
25"
26
27FILES_g77 = "\
28 ${bindir}/${TARGET_PREFIX}g77 \
29 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f771 \
30"
31FILES_g77-symlinks = "\
32 ${bindir}/g77 \
33 ${bindir}/f77 \
34"
35FILES_gfortran = "\
36 ${bindir}/${TARGET_PREFIX}gfortran \
37 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/f951 \
38"
39FILES_gfortran-symlinks = "\
40 ${bindir}/gfortran \
41 ${bindir}/f95"
42
43FILES_cpp = "\
44 ${bindir}/${TARGET_PREFIX}cpp \
45 ${base_libdir}/cpp \
46 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1"
47FILES_cpp-symlinks = "${bindir}/cpp"
48
49FILES_gcov = "${bindir}/${TARGET_PREFIX}gcov"
50FILES_gcov-symlinks = "${bindir}/gcov"
51
52FILES_g++ = "\
53 ${bindir}/${TARGET_PREFIX}g++ \
54 ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1plus \
55"
56FILES_g++-symlinks = "\
57 ${bindir}/c++ \
58 ${bindir}/g++ \
59"
60
61
62FILES_${PN}-doc = "\
63 ${infodir} \
64 ${mandir} \
65 ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
66"
67
68do_install () {
69 oe_runmake 'DESTDIR=${D}' install-host
70
71 # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
72 rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
73 rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
74
75 # Hack around specs file assumptions
76 test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs
77
78 # Cleanup manpages..
79 rm -rf ${D}${mandir}/man7
80
81 cd ${D}${bindir}
82
83 # We care about g++ not c++
84 rm -f *c++
85
86 # We don't care about the gcc-<version> ones for this
87 rm -f *gcc-?.?*
88
89 # Symlinks so we can use these trivially on the target
90 ln -sf ${TARGET_SYS}-g77 g77 || true
91 ln -sf ${TARGET_SYS}-gfortran gfortran || true
92 ln -sf ${TARGET_SYS}-g++ g++
93 ln -sf ${TARGET_SYS}-gcc gcc
94 ln -sf g77 f77 || true
95 ln -sf gfortran f95 || true
96 ln -sf g++ c++
97 ln -sf gcc cc
98 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp
99}
diff --git a/recipes-devtools/gcc/gcc-runtime_4.5.bb b/recipes-devtools/gcc/gcc-runtime_4.5.bb
index 36df1d002e..bfc5ce564d 100644
--- a/recipes-devtools/gcc/gcc-runtime_4.5.bb
+++ b/recipes-devtools/gcc/gcc-runtime_4.5.bb
@@ -1,8 +1,8 @@
1PR = "${INC_PR}.0" 1PR = "${INC_PR}.0"
2 2
3require gcc-${PV}.inc 3require recipes-devtools/gcc/gcc-${PV}.inc
4require gcc-configure-runtime.inc 4require recipes-devtools/gcc/gcc-configure-runtime.inc
5require gcc-package-runtime.inc 5require recipes-devtools/gcc/gcc-package-runtime.inc
6 6
7SRC_URI_append = "file://fortran-cross-compile-hack.patch" 7SRC_URI_append = "file://fortran-cross-compile-hack.patch"
8 8
diff --git a/recipes-devtools/gcc/gcc_4.5.bb b/recipes-devtools/gcc/gcc_4.5.bb
index 442c273ffc..31fcac0a70 100644
--- a/recipes-devtools/gcc/gcc_4.5.bb
+++ b/recipes-devtools/gcc/gcc_4.5.bb
@@ -1,8 +1,8 @@
1PR = "${INC_PR}.1" 1PR = "${INC_PR}.1"
2 2
3require gcc-${PV}.inc 3require recipes-devtools/gcc/gcc-${PV}.inc
4require gcc-configure-target.inc 4require recipes-devtools/gcc/gcc-configure-target.inc
5require gcc-package-target.inc 5require recipes-devtools/gcc/gcc-package-target.inc
6 6
7SRC_URI_append = "file://fortran-cross-compile-hack.patch" 7SRC_URI_append = "file://fortran-cross-compile-hack.patch"
8 8
diff --git a/recipes-devtools/gcc/libgcc_4.5.bb b/recipes-devtools/gcc/libgcc_4.5.bb
index a99fdeffd4..309dcb12c7 100644
--- a/recipes-devtools/gcc/libgcc_4.5.bb
+++ b/recipes-devtools/gcc/libgcc_4.5.bb
@@ -1,4 +1,4 @@
1require gcc-${PV}.inc 1require recipes-devtools/gcc/gcc-${PV}.inc
2 2
3PR = "r0" 3PR = "r0"
4 4