tcmode-default: Define one gdb version
PATCH v3 1/2 tcmode-default: Define one gdb version
Sometimes we need to override the gdb from third party tool SDKs, this helps out, moreover it also makes it consistent with in OE-Core too to have multiple versions of gdb if we ever needed to
Change-Id Ibe1ae59175984bbc661c243764c81cd99fef54d1
Signed-off-by Khem Raj <[email protected]>
--- meta/conf/distro/include/tcmode-default.inc | 5 +++++ 1 file changed, 5 insertions(+)
meta/conf/distro/include/tcmode-default.inc +5 -0
@@ -25,6 +25,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "4.9%" SDKGCCVERSION ?= "${GCCVERSION}" BINUVERSION ?= "2.25" +GDBVERSION ?= "7.8%" GLIBCVERSION ?= "2.21" UCLIBCVERSION ?= "0.9.33+git%" LINUXLIBCVERSION ?= "3.19"
@@ -49,6 +50,10 @@ PREFERRED_VERSION_binutils-native ?= "${BINUVERSION}" PREFERRED_VERSION_binutils-cross-${TARGET_ARCH} ?= "${BINUVERSION}" PREFERRED_VERSION_binutils-crosssdk-${SDK_ARCH} ?= "${BINUVERSION}" PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${BINUVERSION}" +PREFERRED_VERSION_gdb ?= "${GDBVERSION}" +PREFERRED_VERSION_gdb-cross-${TARGET_ARCH} ?= "${GDBVERSION}" +PREFERRED_VERSION_gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GDBVERSION}" + PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}" PREFERRED_VERSION_nativesdk-linux-libc-headers ?= "${LINUXLIBCVERSION}" PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
Signature · 1 line
2.1.4
Quoted 2 lines · Khem Raj
+GDBVERSION ?= "7.8%"
What's the rationale behind wildcarding this instead of using the version of gdb in oe-core (7.8.1)?
Ross
Quoted 10 lines · Ross
Quoted 2 lines · On 5 March 2015 at 20:10, Khem Raj <[email protected]…
+GDBVERSION ?= "7.8%"
What's the rationale behind wildcarding this instead of using the version of gdb in oe-core (7.8.1)?
It could be 7.8.1, rationale is if you update recipe to next minor version then you don't have to change it.
Quoted 3 lines
Ross