|
@@ -18,23 +18,14 @@ GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+
|
|
|
GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
|
|
|
GDB_CPE_ID_VENDOR = gnu
|
|
|
|
|
|
-# On gdb < 10, if you want to build only gdbserver, you need to
|
|
|
-# configure only gdb/gdbserver.
|
|
|
-ifeq ($(BR2_PACKAGE_GDB_DEBUGGER)$(BR2_PACKAGE_GDB_TOPLEVEL),)
|
|
|
-GDB_SUBDIR = gdb/gdbserver
|
|
|
-
|
|
|
-# When we want to build the full gdb, or for very recent versions of
|
|
|
-# gdb with gdbserver at the top-level, out of tree build is mandatory,
|
|
|
-# so we create a 'build' subdirectory in the gdb sources, and build
|
|
|
-# from there.
|
|
|
-else
|
|
|
+# Out of tree build is mandatory, so we create a 'build' subdirectory
|
|
|
+# in the gdb sources, and build from there.
|
|
|
GDB_SUBDIR = build
|
|
|
define GDB_CONFIGURE_SYMLINK
|
|
|
mkdir -p $(@D)/$(GDB_SUBDIR)
|
|
|
ln -sf ../configure $(@D)/$(GDB_SUBDIR)/configure
|
|
|
endef
|
|
|
GDB_PRE_CONFIGURE_HOOKS += GDB_CONFIGURE_SYMLINK
|
|
|
-endif
|
|
|
|
|
|
# For the host variant, we really want to build with XML support,
|
|
|
# which is needed to read XML descriptions of target architectures. We
|