diff options
author | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:51:11 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-09-16 02:51:11 +0000 |
commit | 67225038e62549bda2dc965a820c67ed6aab9a9f (patch) | |
tree | de4cbaea14e15735adedf1e3e03afb9a90c89776 /gcc/gcc-cross-initial_3.4.2.oe | |
parent | 3d4a5446d84d420b5f95f10fd29b6fa68eb63e0d (diff) |
Add armeb to the list of architectures that dont need an initial pass C library.
BKrev: 4148ff9f-Dz8DDiyoZzYqg2IL5rg5g
Diffstat (limited to 'gcc/gcc-cross-initial_3.4.2.oe')
-rw-r--r-- | gcc/gcc-cross-initial_3.4.2.oe | 31 |
1 files changed, 31 insertions, 0 deletions
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 +} + |