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