Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-networking][PATCH] bridge-utils: modify the AR to cross toolchain
Date: Fri, 20 Oct 2017 08:25:49 -0400	[thread overview]
Message-ID: <20171020122549.fs4jigrrbfx3ukwr@mentor.com> (raw)
In-Reply-To: <CAMKF1sqT6EK4f1vzUDZfi8mXfc+6_Uror0UtbfALPgQ2kDNatw@mail.gmail.com>

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

[Re: [oe] [meta-networking][PATCH] bridge-utils: modify the AR to cross toolchain] On 17.10.19 (Thu 09:06) Khem Raj wrote:

> On Thu, Oct 19, 2017 at 12:12 AM, Li Zhou <li.zhou@windriver.com> wrote:
> > The Makefile uses the host “ar” tool when it should be using the
> > ar from the target toolchain.
> >
> > Signed-off-by: Jiwei Sun <jiwei.sun@windriver.com>
> > Signed-off-by: Li Zhou <li.zhou@windriver.com>
> > ---
> >  ...ridge-Modifying-the-AR-to-cross-toolchain.patch | 34 ++++++++++++++++++++++
> >  .../bridge-utils/bridge-utils_1.5.bb               |  1 +
> >  2 files changed, 35 insertions(+)
> >  create mode 100644 meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
> >
> > diff --git a/meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch b/meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
> > new file mode 100644
> > index 0000000..e477f41
> > --- /dev/null
> > +++ b/meta-networking/recipes-support/bridge-utils/bridge-utils/0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch
> > @@ -0,0 +1,34 @@
> > +From 689e24ef05bd1772b2149e4eb48b058ca8361cf4 Mon Sep 17 00:00:00 2001
> > +From: Li Zhou <li.zhou@windriver.com>
> > +Date: Thu, 19 Oct 2017 11:34:18 +0800
> > +Subject: [PATCH 2/2] libbridge: Modifying the AR to cross toolchain
> > +MIME-Version: 1.0
> > +Content-Type: text/plain; charset=UTF-8
> > +Content-Transfer-Encoding: 8bit
> > +
> > +The Makefile uses the host “ar” tool when it should be using the
> > +ar from the target toolchain.
> > +
> > +Upstream-Status: Pending
> > +
> > +Signed-off-by: Li Zhou <li.zhou@windriver.com>
> > +---
> > + libbridge/Makefile.in | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in
> > +index 11c0829..59d7355 100644
> > +--- a/libbridge/Makefile.in
> > ++++ b/libbridge/Makefile.in
> > +@@ -1,7 +1,7 @@
> > +
> > + KERNEL_HEADERS=-I@KERNEL_HEADERS@
> > +
> > +-AR=ar
> > ++AR?=ar
> 
> perhaps AR=@AR@ would be better

Yeah, I  agree.

-J.

> 
> > + RANLIB=@RANLIB@
> > +
> > + CC=@CC@
> > +--
> > +1.9.1
> > +
> > diff --git a/meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb b/meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb
> > index 6032ab0..723ae5f 100644
> > --- a/meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb
> > +++ b/meta-networking/recipes-support/bridge-utils/bridge-utils_1.5.bb
> > @@ -7,6 +7,7 @@ SRC_URI += "\
> >      file://0003-bridge-fix-some-build-time-warnings-errno.h.patch \
> >      file://0004-libbridge-add-missing-include-s-fix-build-against-mu.patch \
> >      file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
> > +    file://0001-libbridge-Modifying-the-AR-to-cross-toolchain.patch \
> >  "
> >
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 499 bytes --]

      reply	other threads:[~2017-10-20 12:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-19  7:12 [meta-networking][PATCH] bridge-utils: modify the AR to cross toolchain Li Zhou
2017-10-19 16:06 ` Khem Raj
2017-10-20 12:25   ` Joe MacDonald [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171020122549.fs4jigrrbfx3ukwr@mentor.com \
    --to=joe_macdonald@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox