diff options
-rw-r--r-- | gcc/gcc-cross-initial_3.3.3.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-cross-initial_3.3.4.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-cross-initial_3.4.1.oe | 2 | ||||
-rw-r--r-- | gcc/gcc-cross-initial_3.4.2.oe | 31 |
4 files changed, 34 insertions, 3 deletions
diff --git a/gcc/gcc-cross-initial_3.3.3.oe b/gcc/gcc-cross-initial_3.3.3.oe index ae53897594..015de3a368 100644 --- a/gcc/gcc-cross-initial_3.3.3.oe +++ b/gcc/gcc-cross-initial_3.3.3.oe @@ -1,7 +1,7 @@ include gcc-cross_${PV}.oe DEPENDS = "virtual/${TARGET_PREFIX}binutils" -DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}" +DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" # This is intended to be a -very- basic config diff --git a/gcc/gcc-cross-initial_3.3.4.oe b/gcc/gcc-cross-initial_3.3.4.oe index ae53897594..015de3a368 100644 --- a/gcc/gcc-cross-initial_3.3.4.oe +++ b/gcc/gcc-cross-initial_3.3.4.oe @@ -1,7 +1,7 @@ include gcc-cross_${PV}.oe DEPENDS = "virtual/${TARGET_PREFIX}binutils" -DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}" +DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" # This is intended to be a -very- basic config diff --git a/gcc/gcc-cross-initial_3.4.1.oe b/gcc/gcc-cross-initial_3.4.1.oe index 933de58b7e..f1c7569421 100644 --- a/gcc/gcc-cross-initial_3.4.1.oe +++ b/gcc/gcc-cross-initial_3.4.1.oe @@ -1,7 +1,7 @@ include gcc-cross_${PV}.oe DEPENDS = "virtual/${TARGET_PREFIX}binutils" -DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'mips', 'mipsel']]}" +DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" PACKAGES = "" diff --git a/gcc/gcc-cross-initial_3.4.2.oe b/gcc/gcc-cross-initial_3.4.2.oe index e69de29bb2..f1c7569421 100644 --- a/gcc/gcc-cross-initial_3.4.2.oe +++ b/gcc/gcc-cross-initial_3.4.2.oe @@ -0,0 +1,31 @@ +include gcc-cross_${PV}.oe + +DEPENDS = "virtual/${TARGET_PREFIX}binutils" +DEPENDS += "${@['virtual/${TARGET_PREFIX}libc-initial',''][oe.data.getVar('TARGET_ARCH', d, 1) in ['arm', 'armeb', 'mips', 'mipsel']]}" +PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" + +PACKAGES = "" + +# This is intended to be a -very- basic config +EXTRA_OECONF = "--with-local-prefix=${CROSS_DIR}/${TARGET_SYS} \ + --with-newlib \ + --disable-nls \ + --disable-shared \ + --disable-threads \ + --disable-multilib \ + --disable-__cxa_atexit \ + --enable-languages=c \ + --enable-target-optspace \ + --program-prefix=${TARGET_PREFIX} \ + ${@get_gcc_fpu_setting(oe, d)}" + +do_stage_prepend () { + mkdir -p ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${PV} + ln -sf libgcc.a ${CROSS_DIR}/lib/gcc/${TARGET_SYS}/${PV}/libgcc_eh.a +} + +# Override the method from gcc-cross so we don't try to install libgcc +do_install () { + oe_runmake 'DESTDIR=${D}' install +} + |