1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

Add gcc-native

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3487 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-01-15 09:52:24 +00:00
parent 90d3853872
commit 875c178675
2 changed files with 30 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
DEPENDS = ""
PACKAGES = ""
PROVIDES = "gcc-native-${PV}"
inherit native
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
# This is intended to be a -very- basic config
EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${layout_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}
}
+2
View File
@@ -0,0 +1,2 @@
require gcc_${PV}.bb
require gcc-native.inc