summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdb/gdb-cross.inc
blob: c2f30da793e86f932524204fe39abcd27f104e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require gdb-common.inc

DEPENDS = "ncurses-native"

EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"

EXTRA_OECONF = "--with-curses --with-readline --disable-werror"

do_configure () {
# override this function to avoid the autoconf/automake/aclocal/autoheader
# calls for now
	(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
	oe_runconf
}

do_stage () {
	oe_runmake install
}