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] PTXCONF_BAREBOX_EXTRA_ENV Question
Date: Wed, 23 May 2012 18:54:34 +0200	[thread overview]
Message-ID: <20120523165434.GC26040@pengutronix.de> (raw)
In-Reply-To: <loom.20120521T200556-882@post.gmane.org>

On Mon, May 21, 2012 at 06:29:03PM +0000, Jerry Kirk wrote:
> The "PTXCONF_BAREBOX_EXTRA_ENV" option is almost working for me, everything is
> working except the network parameters (like PTXCONF_BOARDSETUP_TARGETIP) that
> are defined in my boardsetup file aren't being substituted.  Variables in my 
> platformconfig file ARE being substituted correctly so I am pretty sure I have
> the config.in file in the right place and the rules file is trying to do the 
> substitution. Any ideas? I'm using PTXDist version 2012.02.0. The substitution 
> worked in u-boot-v2. I did create a new platform so I suspect that is part of
> the problem, but I have a ~/.ptxdist/boardsetup.X.Y file.
> 
> I think this line from rules/barebox.make
> 	ptxd_source_kconfig "${PTXDIST_PLATFORMCONFIG}" && 
> 	ptxd_filter_dir "$(PTXCONF_BAREBOX_EXTRA_ENV_PATH)"
> 		$(BAREBOX_DIR)/.ptxdist-defaultenv
> 
> Is doing the work and I don't see a reference to the boardsetup file, but I'm
> lost at this point.

It works like this on purpose. BAREBOX_EXTRA_ENV is built into the barebox
binary. The settings in boardsetup are specific to the local user. They
should never change the result of the final images.

What you want is ptxdist test make_barebox_env, I think. It will use
barebox-env/ in your platform and substitute variables from boardsetup.
However this command has not been updated in a long time, and e.g. cannot
merge multiple paths.

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:[~2012-05-23 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21 18:29 Jerry Kirk
2012-05-23 16:54 ` Michael Olbrich [this message]
2012-05-23 19:23   ` Jerry Kirk

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=20120523165434.GC26040@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