mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 15:32:13 +02:00
gdb: Clean up do_install and convert to use install for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -4,6 +4,10 @@ DEPENDS = "ncurses-nativesdk expat-nativesdk"
|
||||
|
||||
inherit cross-canadian
|
||||
|
||||
do_stage() {
|
||||
:
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
@@ -13,6 +13,12 @@ do_configure () {
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
oe_runmake install
|
||||
inherit cross
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user