From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Mircea Ciocan <m.ciocan@ppc-ag.de>
Cc: ptxdist <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] What can be actually set in a collection
Date: Tue, 26 Mar 2024 07:59:00 +0100 [thread overview]
Message-ID: <ZgJyNJ8aMAyZGNy_@pengutronix.de> (raw)
In-Reply-To: <1989187181.547813.1710251224129.JavaMail.zimbra@ppc-ag.de>
Hi,
On Tue, Mar 12, 2024 at 02:47:04PM +0100, Mircea Ciocan wrote:
> in an attempt to consolidate multiple similar platforms under one
> ptxconfig + individual collection configs we are not sure if in the
> collection only individual software packages can be set that have been
> already marked with <m> in the root ptxconfig, or other things, like
> variables containing a string or different build options for a specific
> package can be put in a collection.
Collections only work to get a subset of packages. They cannot be used for
other options.
> If these things can't be stored in a collection, can be stored somewhere
> else so they can be merged with the global ptxdist when a specific
> configuration is selected ?
If you need more than what collections allow, then I suggest you use
layers. A layer allows you to store what is basically a diff for the base
ptxconfig. You can do the same thing for other configs, such as the
platformconfig or a kernelconfig. It can have a separate projectroot/ to
overwrite things from the base BSP. You can customize just about everything
in the BSP but still keep the common parts in one place.
> Can/will the already define variable be overridden ? Is there any related documentation ?
Collections are not really documented. They are rarely used because of the
limitations you noticed. Layers are documented[1], but I'm use that could
be better :-). Feel free to ask questions here if anything is unclear.
Michael
[1] https://www.ptxdist.org/doc/dev_layers_in_ptxdist.html
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2024-03-26 6:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 13:47 Mircea Ciocan
2024-03-26 6:59 ` Michael Olbrich [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=ZgJyNJ8aMAyZGNy_@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=m.ciocan@ppc-ag.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