All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 1/2] tcmode-default: Define one gdb version
@ 2015-03-05 18:10 Khem Raj
  2015-03-17  8:01 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-03-05 18:10 UTC (permalink / raw)
  To: openembedded-core

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 <raj.khem@gmail.com>
---
 meta/conf/distro/include/tcmode-default.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index c17e0eb..f69fe9a 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -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}"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH V3 1/2] tcmode-default: Define one gdb version
  2015-03-05 18:10 [PATCH V3 1/2] tcmode-default: Define one gdb version Khem Raj
@ 2015-03-17  8:01 ` Burton, Ross
  2015-03-17 14:15   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2015-03-17  8:01 UTC (permalink / raw)
  To: Khem Raj; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

On 5 March 2015 at 20:10, Khem Raj <raj.khem@gmail.com> wrote:

> +GDBVERSION ?= "7.8%"
>

What's the rationale behind wildcarding this instead of using the version
of gdb in oe-core (7.8.1)?

Ross

[-- Attachment #2: Type: text/html, Size: 609 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH V3 1/2] tcmode-default: Define one gdb version
  2015-03-17  8:01 ` Burton, Ross
@ 2015-03-17 14:15   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2015-03-17 14:15 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

On Tuesday, March 17, 2015, Burton, Ross <ross.burton@intel.com> wrote:

>
> On 5 March 2015 at 20:10, Khem Raj <raj.khem@gmail.com
> <javascript:_e(%7B%7D,'cvml','raj.khem@gmail.com');>> wrote:
>
>> +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.

>
> Ross
>

[-- Attachment #2: Type: text/html, Size: 1217 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-17 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-05 18:10 [PATCH V3 1/2] tcmode-default: Define one gdb version Khem Raj
2015-03-17  8:01 ` Burton, Ross
2015-03-17 14:15   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.