diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-12-20 23:16:08 +1000 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-21 14:42:37 -0800 |
commit | 3a141f7cce7994fafc1143937d034497c515a05b (patch) | |
tree | 8b0d79ea4b75ee1e0047dc7c9041de6fa40f8a3f | |
parent | 77c25ef5b91223eeae1a83f5ae89eed49d3c0304 (diff) | |
download | meta-xilinx-3a141f7cce7994fafc1143937d034497c515a05b.tar.gz |
machine-xilinx-default.inc: Setup MicroBlaze preferred GDB
With the perspective removal of tune-microblaze.inc, the following
preferred GDB version configuration for MicroBlaze needs to be
relocated.
This change also drops the setting of gdb-cross* targets as they were
not setup properly since "gdb-cross-${TARGET_ARCH}" was not specified
correctly. This is also preferred as newer GDB (e.g. 8.0) does support
gdb-cross for debugging (just not gdbserver/gdb).
Ideally the MicroBlaze GDB patches should be updated to support the
newest GDB and or upstreamed. However this setup continues to be
available until that occurs.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc | 4 | ||||
-rw-r--r-- | meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc index b8f6dd3b..77fbec88 100644 --- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc +++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc | |||
@@ -36,3 +36,7 @@ XSERVER ?= " \ | |||
36 | 36 | ||
37 | XSERVER_EXT ?= "" | 37 | XSERVER_EXT ?= "" |
38 | XSERVER_EXT_zynqmp ?= "xf86-video-armsoc" | 38 | XSERVER_EXT_zynqmp ?= "xf86-video-armsoc" |
39 | |||
40 | # For MicroBlaze default all microblaze machines to use GDB 7.7.1 (for gdbserver/gdb) | ||
41 | PREFERRED_VERSION_gdb_microblaze = "7.7.1" | ||
42 | |||
diff --git a/meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc b/meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc index 84b38325..73512fc6 100644 --- a/meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc +++ b/meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc | |||
@@ -9,8 +9,3 @@ PACKAGE_EXTRA_ARCHS_tune-microblaze = "${TUNE_PKGARCH}" | |||
9 | # U-Boot Configuration | 9 | # U-Boot Configuration |
10 | UBOOT_MACHINE ?= "microblaze-generic_config" | 10 | UBOOT_MACHINE ?= "microblaze-generic_config" |
11 | 11 | ||
12 | # default to use the gdb 7.7.1 | ||
13 | PREFERRED_VERSION_gdb ?= "7.7.1" | ||
14 | PREFERRED_VERSION_gdb-cross ?= "7.7.1" | ||
15 | PREFERRED_VERSION_gdb-cross-canadian ?= "7.7.1" | ||
16 | |||