Files
poky/meta/packages/gcc/gcc-native.inc
Richard Purdie af85ce4b4e Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.

This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-09-17 22:24:36 +01:00

27 lines
547 B
PHP

DEPENDS = ""
PACKAGES = ""
PROVIDES = "gcc-native-${PV}"
inherit native
# This is intended to be a -very- basic config
EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${prefix} \
--with-newlib \
--disable-shared \
--disable-threads \
--disable-multilib \
--disable-__cxa_atexit \
--enable-languages=c \
--enable-target-optspace \
--program-prefix=${TARGET_PREFIX}"
do_install () {
:
}
do_stage () {
cd gcc
oe_runmake install-common install-headers install-libgcc
install -m 0755 xgcc ${STAGING_BINDIR}/gcc-${PV}
}