From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Ua5du-0000VD-Fb for openembedded-core@lists.openembedded.org; Wed, 08 May 2013 16:46:56 +0200 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 08 May 2013 07:28:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,635,1363158000"; d="scan'208";a="310171894" Received: from unknown (HELO [10.255.13.9]) ([10.255.13.9]) by orsmga001.jf.intel.com with ESMTP; 08 May 2013 07:28:50 -0700 Message-ID: <518A6122.5060309@linux.intel.com> Date: Wed, 08 May 2013 07:28:50 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Marcin Juszkiewicz , Bogdan Marinescu References: <1368013438-15107-1-git-send-email-marcin.juszkiewicz@linaro.org> <1368013438-15107-2-git-send-email-marcin.juszkiewicz@linaro.org> In-Reply-To: <1368013438-15107-2-git-send-email-marcin.juszkiewicz@linaro.org> Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 2/4] gdb: add 7.6 version X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 14:46:57 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/08/2013 04:43 AM, Marcin Juszkiewicz wrote: > Signed-off-by: Marcin Juszkiewicz > --- > meta/recipes-devtools/gdb/gdb-7.6.inc | 11 ++++++++++ > .../gdb/gdb-7.6/gdbserver-cflags-last.diff | 25 ++++++++++++++++++++++ > .../recipes-devtools/gdb/gdb-cross-canadian_7.6.bb | 5 +++++ > meta/recipes-devtools/gdb/gdb-cross_7.6.bb | 4 ++++ > meta/recipes-devtools/gdb/gdb_7.6.bb | 3 +++ > 5 files changed, 48 insertions(+) > create mode 100644 meta/recipes-devtools/gdb/gdb-7.6.inc > create mode 100644 meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff > create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb > create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.6.bb > create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb > Why are you keeping the previous version, OE-Core mostly takes Updates to recipes unless there is strong reason to keep the old version around. I also note that Bogdan provided such an update, but might have other issues Sau! > diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc > new file mode 100644 > index 0000000..20c4ea1 > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb-7.6.inc > @@ -0,0 +1,11 @@ > +LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3" > +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ > + file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ > + file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ > + file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" > + > +PR = "${INC_PR}.0" > +S = "${WORKDIR}/${BPN}-${PV}" > + > +SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470" > +SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36" > diff --git a/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff > new file mode 100644 > index 0000000..4dfc419 > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff > @@ -0,0 +1,25 @@ > +Upstream-Status: Pending > + > +--- > + gdb/gdbserver/Makefile.in | 4 ++-- > + 1 file changed, 2 insertions(+), 2 deletions(-) > + > +--- gdb/gdbserver/Makefile.in.orig > ++++ gdb/gdbserver/Makefile.in > +@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C > + # CFLAGS is specifically reserved for setting from the command line > + # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". > + CFLAGS = @CFLAGS@ > + > + # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. > +-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ > ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ > + ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} > + INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) > +-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER > ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER > + > + # LDFLAGS is specifically reserved for setting from the command line > + # when running make. > + LDFLAGS = @LDFLAGS@ > + INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ > diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb > new file mode 100644 > index 0000000..a2194a1 > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb > @@ -0,0 +1,5 @@ > +require gdb-common.inc > +require gdb-cross-canadian.inc > +require gdb-7.6.inc > + > +GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" > diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb > new file mode 100644 > index 0000000..62f6937 > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb > @@ -0,0 +1,4 @@ > +require gdb-cross.inc > +require gdb-7.6.inc > + > +SRC_URI += "file://sim-install-6.6.patch" > diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb > new file mode 100644 > index 0000000..0c9818d > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb_7.6.bb > @@ -0,0 +1,3 @@ > +require gdb.inc > +require gdb-7.6.inc > + >