summaryrefslogtreecommitdiff
path: root/gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-17 00:16:46 +0000
committerChris Larson <clarson@kergoth.com>2004-05-17 00:16:46 +0000
commit4b67ec30a64cae02ad1bdde0e948851cf29cd2d3 (patch)
tree5e74ff5555e0c198e9e1f957413ccf5bff464cf9 /gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe
parentea2e4765d6104437194cfde01350c44fe84a8b2d (diff)
Merge openembedded@openembedded.bkbits.net:packages
into hyperion.(none):/home/kergoth/code/projects/packages 2004/05/16 18:37:05-05:00 (none)!kergoth Correct pv in gcc-snapshot 2004/05/15 13:14:32-05:00 (none)!kergoth Set package version to CVSDATE in gcc-snapshot .oes BKrev: 40a8046e8hAEDP_WsNgtx59OFuy3IA
Diffstat (limited to 'gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe')
-rw-r--r--gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe b/gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe
index e69de29bb2..311f2bc7aa 100644
--- a/gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe
+++ b/gcc-snapshot/gcc-snapshot-cross-initial_cvs.oe
@@ -0,0 +1,29 @@
+include gcc-snapshot-cross_cvs.oe
+
+DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-initial"
+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}"
+
+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
+}
+