diff options
Diffstat (limited to 'meta/packages/gdb/gdb-cross_6.3.bb')
| -rw-r--r-- | meta/packages/gdb/gdb-cross_6.3.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/packages/gdb/gdb-cross_6.3.bb b/meta/packages/gdb/gdb-cross_6.3.bb new file mode 100644 index 0000000000..a6823b6373 --- /dev/null +++ b/meta/packages/gdb/gdb-cross_6.3.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | LICENSE = "GPL" | ||
| 2 | DESCRIPTION = "gdb - GNU debugger" | ||
| 3 | SECTION = "base" | ||
| 4 | PRIORITY = "optional" | ||
| 5 | MAINTAINER = "Phil Blundell <pb@nexus.co.uk>" | ||
| 6 | DEPENDS = "ncurses-native" | ||
| 7 | |||
| 8 | inherit autotools sdk | ||
| 9 | |||
| 10 | S = "${WORKDIR}/gdb-${PV}" | ||
| 11 | SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ | ||
| 12 | file://sim-install.patch;patch=1" | ||
| 13 | |||
| 14 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gdb-${PV}" | ||
| 15 | |||
| 16 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 17 | export CXX_FOR_BUILD = "${BUILD_CXX}" | ||
| 18 | export CPP_FOR_BUILD = "${BUILD_CPP}" | ||
| 19 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | ||
| 20 | export CXXFLAGS_FOR_BUILD = "${BUILD_CXXFLAGS}" | ||
| 21 | export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" | ||
| 22 | |||
| 23 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'" | ||
| 24 | |||
| 25 | EXTRA_OECONF = "--with-curses --with-readline" | ||
| 26 | |||
| 27 | do_configure () { | ||
| 28 | # override this function to avoid the autoconf/automake/aclocal/autoheader | ||
| 29 | # calls for now | ||
| 30 | gnu-configize | ||
| 31 | oe_runconf | ||
| 32 | } | ||
| 33 | |||
| 34 | do_stage() { | ||
| 35 | : | ||
| 36 | } | ||
