summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-12-20 23:16:08 +1000
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-21 14:42:37 -0800
commit3a141f7cce7994fafc1143937d034497c515a05b (patch)
tree8b0d79ea4b75ee1e0047dc7c9041de6fa40f8a3f
parent77c25ef5b91223eeae1a83f5ae89eed49d3c0304 (diff)
downloadmeta-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.inc4
-rw-r--r--meta-xilinx-bsp/conf/machine/include/tune-microblaze.inc5
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
37XSERVER_EXT ?= "" 37XSERVER_EXT ?= ""
38XSERVER_EXT_zynqmp ?= "xf86-video-armsoc" 38XSERVER_EXT_zynqmp ?= "xf86-video-armsoc"
39
40# For MicroBlaze default all microblaze machines to use GDB 7.7.1 (for gdbserver/gdb)
41PREFERRED_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
10UBOOT_MACHINE ?= "microblaze-generic_config" 10UBOOT_MACHINE ?= "microblaze-generic_config"
11 11
12# default to use the gdb 7.7.1
13PREFERRED_VERSION_gdb ?= "7.7.1"
14PREFERRED_VERSION_gdb-cross ?= "7.7.1"
15PREFERRED_VERSION_gdb-cross-canadian ?= "7.7.1"
16