diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 10:26:33 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 10:26:33 +0000 |
commit | d560f9fa61247e396900450831168a930c0cd2b0 (patch) | |
tree | 37d00dab684147b69131c52102598e8b6ddf9501 | |
parent | 5b8b6c6bc71f39fc481e7a275570b615f27127ea (diff) | |
download | poky-d560f9fa61247e396900450831168a930c0cd2b0.tar.gz |
gdb: Clean up do_install and convert to use install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/gdb/gdb-cross-canadian_6.8.bb | 8 | ||||
-rw-r--r-- | meta/packages/gdb/gdb-cross.inc | 8 | ||||
-rw-r--r-- | meta/packages/gdb/gdb-cross_6.8.bb | 12 | ||||
-rw-r--r-- | meta/packages/gdb/gdb.inc | 8 |
4 files changed, 23 insertions, 13 deletions
diff --git a/meta/packages/gdb/gdb-cross-canadian_6.8.bb b/meta/packages/gdb/gdb-cross-canadian_6.8.bb index bf5afab627..d20c64ca27 100644 --- a/meta/packages/gdb/gdb-cross-canadian_6.8.bb +++ b/meta/packages/gdb/gdb-cross-canadian_6.8.bb | |||
@@ -4,6 +4,10 @@ DEPENDS = "ncurses-nativesdk expat-nativesdk" | |||
4 | 4 | ||
5 | inherit cross-canadian | 5 | inherit cross-canadian |
6 | 6 | ||
7 | do_stage() { | 7 | do_install () { |
8 | : | 8 | autotools_do_install |
9 | } | ||
10 | |||
11 | do_stage () { | ||
12 | autotools_stage_all | ||
9 | } | 13 | } |
diff --git a/meta/packages/gdb/gdb-cross.inc b/meta/packages/gdb/gdb-cross.inc index 480cce4931..b8bcfd6080 100644 --- a/meta/packages/gdb/gdb-cross.inc +++ b/meta/packages/gdb/gdb-cross.inc | |||
@@ -13,6 +13,12 @@ do_configure () { | |||
13 | oe_runconf | 13 | oe_runconf |
14 | } | 14 | } |
15 | 15 | ||
16 | inherit cross | ||
17 | |||
18 | do_install () { | ||
19 | autotools_do_install | ||
20 | } | ||
21 | |||
16 | do_stage () { | 22 | do_stage () { |
17 | oe_runmake install | 23 | autotools_stage_all |
18 | } | 24 | } |
diff --git a/meta/packages/gdb/gdb-cross_6.8.bb b/meta/packages/gdb/gdb-cross_6.8.bb index 9a769c0a77..00e9c2f6c6 100644 --- a/meta/packages/gdb/gdb-cross_6.8.bb +++ b/meta/packages/gdb/gdb-cross_6.8.bb | |||
@@ -1,7 +1,15 @@ | |||
1 | require gdb-cross.inc | 1 | require gdb-cross.inc |
2 | 2 | ||
3 | SRC_URI += "file://sim-install-6.6.patch;patch=1" | ||
4 | |||
5 | inherit cross | 3 | inherit cross |
6 | 4 | ||
5 | do_install () { | ||
6 | autotools_do_install | ||
7 | } | ||
8 | |||
9 | do_stage () { | ||
10 | autotools_stage_all | ||
11 | } | ||
12 | |||
13 | SRC_URI += "file://sim-install-6.6.patch;patch=1" | ||
14 | |||
7 | PR = "r2" | 15 | PR = "r2" |
diff --git a/meta/packages/gdb/gdb.inc b/meta/packages/gdb/gdb.inc index c32c6cf143..8c9bfa7267 100644 --- a/meta/packages/gdb/gdb.inc +++ b/meta/packages/gdb/gdb.inc | |||
@@ -31,11 +31,3 @@ do_configure () { | |||
31 | CPPFLAGS="" oe_runconf | 31 | CPPFLAGS="" oe_runconf |
32 | } | 32 | } |
33 | 33 | ||
34 | do_install () { | ||
35 | make -C bfd/doc chew LDFLAGS= CFLAGS=-O2 | ||
36 | oe_runmake DESTDIR='${D}' install | ||
37 | install -d ${D}${bindir} | ||
38 | install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir} | ||
39 | } | ||
40 | |||
41 | |||