All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe MacDonald <joe@deserted.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking] [PATCH] traceroute: filter-out patches dir
Date: Thu, 27 Mar 2014 16:28:22 -0400	[thread overview]
Message-ID: <20140327202820.GD15666@deserted.net> (raw)
In-Reply-To: <1390222355-9757-1-git-send-email-liezhi.yang@windriver.com>

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

Merged, thanks.
-J.

[[oe] [meta-networking] [PATCH] traceroute: filter-out patches dir] On 14.01.20 (Mon 20:52) Robert Yang wrote:

> The $(subdirs) contains all the dirs under the ${B}, and this one:
> 
> do_unpack[cleandirs] = "${S}/patches"
> 
> will create a "patches" dir, then there will be compile errors, filter
> out the patches will fix the problem.
> 
> Note: poky doesn't have this problem since it separates the ${S} and
> ${B}
> 
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  .../filter-out-the-patches-from-subdirs.patch      | 47 ++++++++++++++++++++++
>  .../traceroute/traceroute_2.0.18.bb                |  1 +
>  2 files changed, 48 insertions(+)
>  create mode 100644 meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
> 
> diff --git a/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch b/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
> new file mode 100644
> index 0000000..2c030b5
> --- /dev/null
> +++ b/meta-networking/recipes-support/traceroute/traceroute/filter-out-the-patches-from-subdirs.patch
> @@ -0,0 +1,47 @@
> +From e273e0ebc753645555909bcc4874c72458b17891 Mon Sep 17 00:00:00 2001
> +From: Robert Yang <liezhi.yang@windriver.com>
> +Date: Fri, 17 Jan 2014 03:17:44 -0500
> +Subject: [PATCH] Make.rules: filter-out the patches from subdirs
> +
> +The $(subdirs) contains all the dirs under the ${B}, and this one:
> +
> +do_unpack[cleandirs] = "${S}/patches"
> +
> +will create a "patches" dir, then there will be compile errors, filter
> +out the patches will fix the problem.
> +
> +Note: poky doesn't have this problem since it separates the ${S} and
> +${B}
> +
> +Upstream-Status: Inappropriate [OE specific]
> +
> +Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> +---
> + Make.rules |    4 ++--
> + 1 file changed, 2 insertions(+), 2 deletions(-)
> +
> +diff --git a/Make.rules b/Make.rules
> +index b077cd5..0bfce2d 100644
> +--- a/Make.rules
> ++++ b/Make.rules
> +@@ -97,7 +97,7 @@ endif
> + subdirs := $(filter-out $(SKIPDIRS), $(subdirs))
> + endif
> + 
> +-install install-%: subdirs := $(filter-out $(SKIPINSTALL), $(subdirs))
> ++install install-%: subdirs := $(filter-out $(SKIPINSTALL) patches, $(subdirs))
> + 
> + 
> + override MAKE += srcdir=$(srcdir) subdirs="$(subdirs)" shared=$(shared)
> +@@ -106,7 +106,7 @@ override MAKE += srcdir=$(srcdir) subdirs="$(subdirs)" shared=$(shared)
> + INCLUDEDIRS := $(filter $(INCLUDEDIRS), $(subdirs))
> + LIBDIRS := $(filter $(LIBDIRS), $(subdirs))
> + MODDIRS := $(filter $(MODDIRS), $(subdirs))
> +-EXEDIRS := $(filter-out $(INCLUDEDIRS) $(LIBDIRS) $(MODDIRS), $(subdirs))
> ++EXEDIRS := $(filter-out $(INCLUDEDIRS) $(LIBDIRS) $(MODDIRS) patches, $(subdirs))
> + MODUSERS := $(filter $(MODUSERS), $(subdirs))
> + SBINUSERS := $(filter $(SBINUSERS), $(subdirs))
> + 
> +-- 
> +1.7.10.4
> +
> diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> index e6718db..31c16aa 100644
> --- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> +++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> @@ -16,6 +16,7 @@ PR = "r1"
>  inherit update-alternatives
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
> +           file://filter-out-the-patches-from-subdirs.patch \
>  "
>  
>  SRC_URI[md5sum] = "b7254149b7f081cce07f4b9e065ba5ef"
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      parent reply	other threads:[~2014-03-27 20:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 12:52 [meta-networking] [PATCH] traceroute: filter-out patches dir Robert Yang
2014-01-22 14:21 ` Otavio Salvador
2014-02-13  0:59   ` Joe MacDonald
2014-02-13  3:03   ` Robert Yang
2014-02-13 10:40     ` Otavio Salvador
2014-02-14  3:29       ` Joe MacDonald
2014-02-14  6:32         ` Robert Yang
2014-03-18  9:24           ` Robert Yang
2014-03-27 20:28 ` 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=20140327202820.GD15666@deserted.net \
    --to=joe@deserted.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 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.