summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-17 10:26:33 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-17 10:26:33 +0000
commitd560f9fa61247e396900450831168a930c0cd2b0 (patch)
tree37d00dab684147b69131c52102598e8b6ddf9501 /meta/packages
parent5b8b6c6bc71f39fc481e7a275570b615f27127ea (diff)
downloadopenembedded-core-d560f9fa61247e396900450831168a930c0cd2b0.tar.gz
openembedded-core-d560f9fa61247e396900450831168a930c0cd2b0.tar.bz2
openembedded-core-d560f9fa61247e396900450831168a930c0cd2b0.tar.xz
openembedded-core-d560f9fa61247e396900450831168a930c0cd2b0.zip
gdb: Clean up do_install and convert to use install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/gdb/gdb-cross-canadian_6.8.bb8
-rw-r--r--meta/packages/gdb/gdb-cross.inc8
-rw-r--r--meta/packages/gdb/gdb-cross_6.8.bb12
-rw-r--r--meta/packages/gdb/gdb.inc8
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 bf5afab62..d20c64ca2 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"
inherit cross-canadian
-do_stage() {
- :
+do_install () {
+ autotools_do_install
+}
+
+do_stage () {
+ autotools_stage_all
}
diff --git a/meta/packages/gdb/gdb-cross.inc b/meta/packages/gdb/gdb-cross.inc
index 480cce493..b8bcfd608 100644
--- a/meta/packages/gdb/gdb-cross.inc
+++ b/meta/packages/gdb/gdb-cross.inc
@@ -13,6 +13,12 @@ do_configure () {
oe_runconf
}
+inherit cross
+
+do_install () {
+ autotools_do_install
+}
+
do_stage () {
- oe_runmake install
+ autotools_stage_all
}
diff --git a/meta/packages/gdb/gdb-cross_6.8.bb b/meta/packages/gdb/gdb-cross_6.8.bb
index 9a769c0a7..00e9c2f6c 100644
--- a/meta/packages/gdb/gdb-cross_6.8.bb
+++ b/meta/packages/gdb/gdb-cross_6.8.bb
@@ -1,7 +1,15 @@
require gdb-cross.inc
-SRC_URI += "file://sim-install-6.6.patch;patch=1"
-
inherit cross
+do_install () {
+ autotools_do_install
+}
+
+do_stage () {
+ autotools_stage_all
+}
+
+SRC_URI += "file://sim-install-6.6.patch;patch=1"
+
PR = "r2"
diff --git a/meta/packages/gdb/gdb.inc b/meta/packages/gdb/gdb.inc
index c32c6cf14..8c9bfa726 100644
--- a/meta/packages/gdb/gdb.inc
+++ b/meta/packages/gdb/gdb.inc
@@ -31,11 +31,3 @@ do_configure () {
CPPFLAGS="" oe_runconf
}
-do_install () {
- make -C bfd/doc chew LDFLAGS= CFLAGS=-O2
- oe_runmake DESTDIR='${D}' install
- install -d ${D}${bindir}
- install -m 0755 gdb/gdbserver/gdbserver ${D}${bindir}
-}
-
-