mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/2] u-boot: Allow generation of boot script
Date: Fri, 12 Apr 2019 16:09:56 +0200	[thread overview]
Message-ID: <20190412140956.z3hbjx77h2pzifqy@pengutronix.de> (raw)
In-Reply-To: <1694558.9jMor3uHq6@ada>

On Fri, Apr 12, 2019 at 03:17:33PM +0200, Alexander Dahl wrote:
> Am Freitag, 12. April 2019, 09:49:18 CEST schrieb Michael Olbrich:
> > On Thu, Apr 11, 2019 at 01:09:37PM +0200, Alexander Dahl wrote:
> > >  #
> > >  ------------------------------------------------------------------------
> > >  ----> 
> > > +# Compile
> > > +#
> > > -------------------------------------------------------------------------
> > > --- +
> > > +$(STATEDIR)/u-boot.compile:
> > > +	@$(call targetinfo)
> > > +	@$(call world/compile, U_BOOT)
> > > +ifdef PTXCONF_U_BOOT_BOOT_SCRIPT
> > > +	@$(U_BOOT_DIR)/tools/mkimage -T script -C none \
> > > +		-d $(U_BOOT_BOOT_SCRIPT_TXT) \
> > > +		$(U_BOOT_DIR)/uboot.scr
> > 
> > I don't mind the name, but you could use
> > '$(notdir $(U_BOOT_BOOT_SCRIPT_TXT))' here and below.
> 
> Not sure what you mean here. 'mkimage' expects the [image data file] after 
> option '-d', which is the input file not just a name. And what is 'below' 
> supposed to mean here?

Sorry, I mixed up the variable names. I meant:

	@$(U_BOOT_DIR)/tools/mkimage -T script -C none \
		-d $(U_BOOT_BOOT_SCRIPT_TXT) \
		$(U_BOOT_DIR)/$(notdir $(U_BOOT_BOOT_SCRIPT_BIN))

As a way to handle Denis' complaint about the same suffix for both files.
I don't really care either way. I don't know what the naming conventions
are for this.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2019-04-12 14:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-11 11:09 [ptxdist] [PATCH 0/2] u-boot: boot script and series option Alexander Dahl
2019-04-11 11:09 ` [ptxdist] [PATCH 1/2] Revert "readd _SERIES option for u-boot and add it for at91bootstrap (partially reverts dac31c4)" Alexander Dahl
2019-04-11 11:09 ` [ptxdist] [PATCH 2/2] u-boot: Allow generation of boot script Alexander Dahl
2019-04-11 13:05   ` Denis OSTERLAND
2019-04-12  7:49   ` Michael Olbrich
2019-04-12 13:17     ` Alexander Dahl
2019-04-12 14:09       ` Michael Olbrich [this message]
2019-04-12 14:17         ` Alexander Dahl

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=20190412140956.z3hbjx77h2pzifqy@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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