diff options
author | Richard Purdie <richard@openedhand.com> | 2007-07-22 18:04:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-07-22 18:04:10 +0000 |
commit | 27137aac6f9854462602f0c8a4afe385fe5eb93c (patch) | |
tree | a8bb6ea3c023f55a8d538eaf5be3c55c62824351 /meta/packages/gdb/gdb-cross.inc | |
parent | 59092344b9c7f8fa86facdb1c3672c0a3b50f487 (diff) | |
download | poky-27137aac6f9854462602f0c8a4afe385fe5eb93c.tar.gz |
gdb: Add gdb-cross-sdk, factor out code into .inc files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2202 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | } | ||