diff options
Diffstat (limited to 'meta/packages/gdb/gdb-cross.inc')
-rw-r--r-- | meta/packages/gdb/gdb-cross.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/packages/gdb/gdb-cross.inc b/meta/packages/gdb/gdb-cross.inc new file mode 100644 index 0000000000..3996bc6fd5 --- /dev/null +++ b/meta/packages/gdb/gdb-cross.inc | |||
@@ -0,0 +1,20 @@ | |||
1 | require gdb.inc | ||
2 | |||
3 | DEPENDS = "ncurses-native" | ||
4 | |||
5 | SRC_URI += "file://sim-install-6.6.patch;patch=1" | ||
6 | |||
7 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'" | ||
8 | |||
9 | EXTRA_OECONF = "--with-curses --with-readline" | ||
10 | |||
11 | do_configure () { | ||
12 | # override this function to avoid the autoconf/automake/aclocal/autoheader | ||
13 | # calls for now | ||
14 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" | ||
15 | oe_runconf | ||
16 | } | ||
17 | |||
18 | do_stage() { | ||
19 | oe_runmake install | ||
20 | } | ||