All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package: remove the trailing slash sign from $(PKG)_SITE variable
Date: Mon, 21 Jul 2014 23:08:41 +0200	[thread overview]
Message-ID: <20140721210841.GF3874@free.fr> (raw)
In-Reply-To: <20140721225822.34be99b8@free-electrons.com>

Thomas, All,

On 2014-07-21 22:58 +0200, Thomas Petazzoni spake thusly:
> On Fri, 20 Sep 2013 08:27:34 +0200, Jerzy Grzegorek wrote:
> > Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
> > 
> > Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk:
> > 
> > $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))
> > 
> > so it is redundant.
> > This patch removes it from $(PKG)_SITE variable for BR consistency.
> 
> Since this patch has been around for quite some time now, it no longer
> applies properly, so I've marked it as "Changes Requested" in our patch
> tracking system.
> 
> I don't know if it's worth respining the patch. What do we want to do
> regarding this? Yann, Arnout, an opinion?

Well, it's easy enough to regenerate:

    find boot/ package/ linux/ -type f -name '*.mk' -exec \
        sed -r -e 's,(^[^[:space:]]+_SITE.*=.*/.*)/$,\1,' {} \;

If you or Jerzy feels like it, go on. Otherwise, the strip in DOWNLOAD
is here especially to account for this trailing '/', so we can keep
them.

We can't get rid of the strip in DOWNLOAD, since packages in
BR2_EXTERNAL may rely on it. So it is not really a problem if we keep
the trailing slashes in in-tree packages.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2014-07-21 21:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-20  6:27 [Buildroot] [PATCH v2 1/1] package: remove the trailing slash sign from $(PKG)_SITE variable Jerzy Grzegorek
2014-07-21 20:58 ` Thomas Petazzoni
2014-07-21 21:08   ` Yann E. MORIN [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=20140721210841.GF3874@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.