mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
gdb: Clean up recipe and don't inherit cross for cross-canadian
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -3,6 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gdb/"
|
|||||||
LICENSE="GPLv3+"
|
LICENSE="GPLv3+"
|
||||||
SECTION = "devel"
|
SECTION = "devel"
|
||||||
PRIORITY = "optional"
|
PRIORITY = "optional"
|
||||||
|
DEPENDS = "ncurses readline"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
@@ -18,3 +19,23 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
|
|||||||
|
|
||||||
B = "${WORKDIR}/build-${TARGET_SYS}"
|
B = "${WORKDIR}/build-${TARGET_SYS}"
|
||||||
|
|
||||||
|
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
|
||||||
|
|
||||||
|
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
|
||||||
|
--with-curses --disable-multilib --with-readline --disable-sim \
|
||||||
|
${GDBPROPREFIX}"
|
||||||
|
GDBPROPREFIX = "--program-prefix=''"
|
||||||
|
|
||||||
|
do_configure () {
|
||||||
|
# override this function to avoid the autoconf/automake/aclocal/autoheader
|
||||||
|
# calls for now
|
||||||
|
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
|
||||||
|
oe_runconf
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES =+ "gdbserver"
|
||||||
|
FILES_gdbserver = "${bindir}/gdbserver"
|
||||||
|
|
||||||
|
RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
|
||||||
|
RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
require gdb-cross.inc
|
require gdb-common.inc
|
||||||
|
|
||||||
DEPENDS = "ncurses-nativesdk expat-nativesdk"
|
DEPENDS = "ncurses-nativesdk expat-nativesdk"
|
||||||
|
|
||||||
inherit cross-canadian
|
inherit cross-canadian
|
||||||
|
|
||||||
|
PR = "r8"
|
||||||
|
|||||||
@@ -2,15 +2,8 @@ require gdb-common.inc
|
|||||||
|
|
||||||
DEPENDS = "ncurses-native"
|
DEPENDS = "ncurses-native"
|
||||||
|
|
||||||
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' LDFLAGS='${BUILD_LDFLAGS}'"
|
#EXTRA_OEMAKE += "LDFLAGS='${BUILD_LDFLAGS}'"
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-curses --with-readline"
|
GDBPROPREFIX = ""
|
||||||
|
|
||||||
do_configure () {
|
|
||||||
# override this function to avoid the autoconf/automake/aclocal/autoheader
|
|
||||||
# calls for now
|
|
||||||
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
|
|
||||||
oe_runconf
|
|
||||||
}
|
|
||||||
|
|
||||||
inherit cross
|
inherit cross
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
require gdb-cross.inc
|
require gdb-cross.inc
|
||||||
|
|
||||||
inherit cross
|
|
||||||
|
|
||||||
SRC_URI += "file://sim-install-6.6.patch;patch=1"
|
SRC_URI += "file://sim-install-6.6.patch;patch=1"
|
||||||
|
|
||||||
PR = "r2"
|
PR = "r3"
|
||||||
|
|||||||
@@ -1,33 +1,11 @@
|
|||||||
require gdb-common.inc
|
require gdb-common.inc
|
||||||
|
|
||||||
DEPENDS = "ncurses readline"
|
|
||||||
|
|
||||||
PACKAGES =+ "gdbserver"
|
|
||||||
FILES_gdbserver = "${bindir}/gdbserver"
|
|
||||||
|
|
||||||
RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
|
|
||||||
RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
|
|
||||||
|
|
||||||
inherit gettext
|
inherit gettext
|
||||||
|
|
||||||
SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \
|
SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \
|
||||||
file://gdbserver-cflags-last.diff;patch=1;pnum=0 \
|
file://gdbserver-cflags-last.diff;patch=1;pnum=0 \
|
||||||
file://ignore_whitespace_changes.patch;patch=1 "
|
file://ignore_whitespace_changes.patch;patch=1 "
|
||||||
#FIXME file://uclibc.patch;patch=1 \
|
|
||||||
|
|
||||||
EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
|
#LDFLAGS_append = " -s"
|
||||||
|
#export CFLAGS_append=" -L${STAGING_LIBDIR}"
|
||||||
EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
|
|
||||||
--with-curses --disable-multilib --with-readline --disable-sim \
|
|
||||||
--program-prefix=''"
|
|
||||||
|
|
||||||
LDFLAGS_append = " -s"
|
|
||||||
export CFLAGS_append=" -L${STAGING_LIBDIR}"
|
|
||||||
|
|
||||||
do_configure () {
|
|
||||||
# override this function to avoid the autoconf/automake/aclocal/autoheader
|
|
||||||
# calls for now
|
|
||||||
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
|
|
||||||
CPPFLAGS="" oe_runconf
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
require gdb.inc
|
require gdb.inc
|
||||||
|
|
||||||
PR = "r5"
|
PR = "r7"
|
||||||
|
|||||||
Reference in New Issue
Block a user