Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC PATCH] Add OpenTyrian package (SDL game)
Date: Thu, 6 Feb 2014 10:08:19 +0100	[thread overview]
Message-ID: <20140206100819.11d566f5@skate> (raw)
In-Reply-To: <52F2BE4F.3080600@mind.be>

Dear Arnout Vandecappelle,

On Wed, 05 Feb 2014 23:42:23 +0100, Arnout Vandecappelle wrote:

> > +OPENTYRIAN_DATA = tyrian21.zip
> > +OPENTYRIAN_DATA_SITE = http://sites.google.com/a/camanis.net/opentyrian/tyrian/
> 
>  Why not simply http://www.camanis.net/opentyrian/tyrian21.zip ?
> 
> > +
> > +define OPENTYRIAN_DOWNLOAD_DATA
> > +	@$(call MESSAGE,Downloading data)
> > +#	@$(call DOWNLOAD,$(OPENTYRIAN_DATA_SITE),$(OPENTYRIAN_DATA)) << doesn't work !!
> 
>  DOWNLOAD expects the full URL as the first argument. The optional second
> argument exists for cases where the local file should be different than
> the base of the URL (e.g. if it contains question marks or other madness).

As I've replied separately, packages should not directly use the
DOWNLOAD macro, I believe.

> > +define OPENTYRIAN_BUILD_CMDS
> > +        $(MAKE) PLATFORM=UNIX \
> > +		CC="$(TARGET_CC)" \
> > +		STRIP="$(STRIPCMD) $(STRIP_STRIP_UNNEEDED)" \
> 
>  Everything in target is already stripped automatically at the end, so
> it's usually not needed to pass this.

Except if the package does its own stripping, and defaults to the host
strip to do this. In this case, we can either pass STRIP=/bin/true, or
pass the real STRIP value.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-02-06  9:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 18:17 [Buildroot] [RFC PATCH] Add OpenTyrian package (SDL game) julien.boibessot at free.fr
2014-02-05 20:41 ` Thomas Petazzoni
2014-02-05 22:42 ` Arnout Vandecappelle
2014-02-06  9:08   ` Thomas Petazzoni [this message]
2014-02-07 17:17   ` Julien Boibessot
2014-02-07 18:09     ` Yann E. MORIN

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=20140206100819.11d566f5@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox