2011-10-07 13:19:15 +00:00
|
|
|
DEPENDS = "virtual/${TARGET_PREFIX}binutils ${NATIVEDEPS}"
|
2007-09-18 10:22:25 +00:00
|
|
|
PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
|
|
|
|
PACKAGES = ""
|
|
|
|
|
2011-10-07 13:19:15 +00:00
|
|
|
INHIBIT_AUTOTOOLS_DEPS = "1"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
|
2011-01-18 04:50:39 +00:00
|
|
|
CROSS_TARGET_SYS_DIR_append = ".${PN}"
|
|
|
|
|
2007-09-18 10:22:25 +00:00
|
|
|
# This is intended to be a -very- basic config
|
2008-03-18 10:41:39 +00:00
|
|
|
# sysroot is needed in case we use libc-initial
|
2012-04-10 01:56:59 +00:00
|
|
|
EXTRA_OECONF = "--with-newlib \
|
2008-07-24 20:30:37 +00:00
|
|
|
--without-headers \
|
2007-09-18 10:22:25 +00:00
|
|
|
--disable-shared \
|
|
|
|
--disable-threads \
|
|
|
|
--disable-multilib \
|
|
|
|
--disable-__cxa_atexit \
|
|
|
|
--enable-languages=c \
|
2010-07-30 21:05:16 +00:00
|
|
|
${OPTSPACE} \
|
2007-09-18 10:22:25 +00:00
|
|
|
--program-prefix=${TARGET_PREFIX} \
|
2008-03-18 10:41:39 +00:00
|
|
|
--with-sysroot=${STAGING_DIR_TARGET} \
|
|
|
|
--with-build-sysroot=${STAGING_DIR_TARGET} \
|
2010-03-31 16:28:08 +00:00
|
|
|
${EXTRA_OECONF_INITIAL} \
|
2012-07-12 15:25:47 +00:00
|
|
|
${EXTRA_OECONF_FPU}"
|
2010-03-29 21:27:13 +00:00
|
|
|
|
|
|
|
do_compile () {
|
2012-02-24 03:07:46 +00:00
|
|
|
oe_runmake all-gcc all-target-libgcc
|
2010-03-29 21:27:13 +00:00
|
|
|
}
|