mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] stm32flash: New package
Date: Sat, 6 Oct 2018 19:05:51 +0200	[thread overview]
Message-ID: <CABDcavaN-S=ie8Sm8m-HK2sHnBNEOmRp_uACpmU6vQmz7HBLFQ@mail.gmail.com> (raw)
In-Reply-To: <20181005140448.itepaln5vkhu3gdk@pengutronix.de>

El vie., 5 oct. 2018 a las 16:04, Michael Olbrich
(<m.olbrich@pengutronix.de>) escribió:
>
> On Fri, Oct 05, 2018 at 12:43:01PM +0200, Guillermo Rodriguez Garcia wrote:
> > > > +# ----------------------------------------------------------------------------
> > > > +# Prepare
> > > > +# ----------------------------------------------------------------------------
> > > > +
> > > > +STM32FLASH_CONF_TOOL := NO
> > > > +STM32FLASH_MAKE_ENV  := $(CROSS_ENV)
> > > > +STM32FLASH_INSTALL_OPT       := PREFIX=/usr install
> > >
> > > For readability, keep these options on a single line each:
> > >
> > > STM32FLASH_INSTALL_OPT       := \
> > >         PREFIX=/usr \
> > >         install
> > >
> > > Also most packages keep *_INSTALL_* variables under the Install section
> > > header, and *_MAKE_* variables under the "Compile" section header. I
> > > would suggest to do it here too to get a unified look over package
> > > rules.
> >
> > Uhm, most of the existing packages I have checked define MAKE_ and
> > INSTALL_ vars in the prepare stage. See for example bzip2 (this is the
> > one I used as a reference), busybox, i2c-tools, openssl, zip ...
>
> I'd put it all in the prepare section if _only_ these variables are
> defined and the other sections are skipped entirely. If the actual compile
> / install target is defined as well, then the variable should be in the
> corresponding section.

Allright. That's exactly the case here, only these variables are defined
and there is nothing else in the compile / install sections. I'll send v2 of
the patch then.

BR,

Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-10-06 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05  9:25 Guillermo Rodriguez
2018-10-05 10:30 ` Roland Hieber
2018-10-05 10:43   ` Guillermo Rodriguez Garcia
2018-10-05 12:07     ` Roland Hieber
2018-10-05 14:04     ` Michael Olbrich
2018-10-06 17:05       ` Guillermo Rodriguez Garcia [this message]
2018-10-06 17:14 ` [ptxdist] [PATCH v2] " Guillermo Rodriguez

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='CABDcavaN-S=ie8Sm8m-HK2sHnBNEOmRp_uACpmU6vQmz7HBLFQ@mail.gmail.com' \
    --to=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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