summaryrefslogtreecommitdiff
path: root/gdb/gdb-cross_6.1.oe
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-22 12:11:59 +0000
committerPhil Blundell <philb@gnu.org>2004-08-22 12:11:59 +0000
commit9462a3a8561067ffcb63f08664dfdef7538cd19a (patch)
treeb58a434bf3701bba94309d8d58589de8c4612611 /gdb/gdb-cross_6.1.oe
parentcd1744c291bffc0846d2e111256e2738d87e939c (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into workhouse.nexus.co.uk:/home/pb/oe/oe-packages 2004/08/22 13:11:34+01:00 nexus.co.uk!pb gdb updates 2004/08/22 12:33:38+01:00 nexus.co.uk!pb add sdk build of gcc-3.3.4 BKrev: 41288d8ft3dIpQfOINbi6UKk4sZECg
Diffstat (limited to 'gdb/gdb-cross_6.1.oe')
-rw-r--r--gdb/gdb-cross_6.1.oe35
1 files changed, 35 insertions, 0 deletions
diff --git a/gdb/gdb-cross_6.1.oe b/gdb/gdb-cross_6.1.oe
index e69de29bb2..526f095279 100644
--- a/gdb/gdb-cross_6.1.oe
+++ b/gdb/gdb-cross_6.1.oe
@@ -0,0 +1,35 @@
+DESCRIPTION = "gdb - GNU debugger"
+SECTION = "base"
+PRIORITY = "optional"
+MAINTAINER = "Phil Blundell <pb@nexus.co.uk>"
+DEPENDS = "ncurses-native"
+
+inherit autotools sdk
+
+S = "${WORKDIR}/gdb-${PV}"
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
+ file://sim-install.patch;patch=1"
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/gdb-${PV}"
+
+export CC_FOR_BUILD = "${BUILD_CC}"
+export CXX_FOR_BUILD = "${BUILD_CXX}"
+export CPP_FOR_BUILD = "${BUILD_CPP}"
+export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
+export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}"
+export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
+
+EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
+
+EXTRA_OECONF = "--with-curses --with-readline"
+
+do_configure () {
+# override this function to avoid the autoconf/automake/aclocal/autoheader
+# calls for now
+ gnu-configize
+ oe_runconf
+}
+
+do_stage() {
+ :
+}