From: Chris Larson Date: Wed, 17 Sep 2003 19:33:13 +0000 (+0000) Subject: cross-gcc-3.3.1.oe: X-Git-Tag: Release-2010-05/1~20828 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21766231679b5bee56de5f1ece8674c30f023899;p=openembedded.git cross-gcc-3.3.1.oe: Add bits to undo any changes to tmake_file that initial pass may have done. ncurses-5.3.oe: Include the 'ncurses.h' symlink in staging. BKrev: 3f68b6f9Go-MNE7VutG6tk6TibJCFg --- diff --git a/content/cross-gcc-3.3.1.oe b/content/cross-gcc-3.3.1.oe index e69de29bb2..a2022ee26b 100644 --- a/content/cross-gcc-3.3.1.oe +++ b/content/cross-gcc-3.3.1.oe @@ -0,0 +1,29 @@ +PROVIDES="virtual/${OLDARCH}-${OLDOS}-gcc" + +SRC_URI = ${GNU_MIRROR}/gcc/gcc-${PV}.tar.gz +S = ${WORKDIR}/gcc-${PV} + +OLDOS := ${OS} +OLDARCH := ${ARCH} +CROSS_DIR := ${CROSS_DIR} +inherit noncross autotools + +EXTRA_OECONF = --with-gxx-include-dir=${CROSS_DIR}/include/c++ \ + --enable-shared \ + --enable-threads +tmake_file = gcc/config/${OLDARCH}/t-linux + +do_configure() { + ./configure --target=${OLDARCH}-${OLDOS} --prefix=${CROSS_DIR} \ + --with-gnu-ld --oldincludedir=${CROSS_DIR}/include \ + --enable-shared ${EXTRA_OECONF} + touch ${tmake_file} + mv ${tmake_file} > ${tmake_file}.tmp + cat ${tmake_file}.tmp | sed -e's/-Dinhibit_libc -D__gthr_posix_h//g' > ${tmake_file} + rm -f ${tmake_file}.tmp +} + +EXTRA_OEMAKE = +do_compile() { + oe_runmake +} diff --git a/content/ncurses-5.3.oe b/content/ncurses-5.3.oe index 1057a25706..ce4315f37b 100644 --- a/content/ncurses-5.3.oe +++ b/content/ncurses-5.3.oe @@ -33,6 +33,7 @@ do_compile () { do_stage () { install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/ cp -R include/* ${STAGING_DIR}/target/include/ + ln -sf curses.h ${STAGING_DIR}/target/include/ncurses.h ln -sf libpanel.so.5.3 ${STAGING_LIBDIR}/libpanel.so ln -sf libform.so.5.3 ${STAGING_LIBDIR}/libform.so ln -sf libmenu.so.5.3 ${STAGING_LIBDIR}/libmenu.so