From: "Benoît BURNICHON" <Benoit.BURNICHON@airtag.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Runtime dependencies generation
Date: Thu, 17 Nov 2011 10:34:59 +0000 [thread overview]
Message-ID: <3944866A166FC34A948C72DD5EDDCA2A1DAE6C77@HQ0SBS01.airtag.local> (raw)
In-Reply-To: <20111117050740.GA12224@pengutronix.de>
Thanks a lot, it was exactly what I needed to know.
Btw, a very small hack to have barebox-XXX.ipk package selected (which in my case contains bareboxenv utility for target)
In menu, although barebox bootloader is selected, it is not seen by the Kconfig:
/home/bburnichon/workspace/ptxdist-2011.01.0/rules/mypackage.in:5:warning: 'select' used by config symbol 'MYPACKAGE' refers to undefined symbol 'BAREBOX'
Rules/barebox.in:
------8<---------8<---------8<---------8<---------8<---------8<---------8<---------8<---------
## SECTION=shell_and_console
+config BAREBOX
+ tristate
+
config BAREBOX_TARGET_BAREBOXENV
prompt "Install target bareboxenv"
+ select BAREBOX
tristate
help
To be able to modify barebox's settings at Linux's runtime enable
this item. It will install the 'bareboxenv' tool to /sbin
------8<---------8<---------8<---------8<---------8<---------8<---------8<---------8<---------
Ben
> -----Original Message-----
> From: ptxdist-bounces@pengutronix.de [mailto:ptxdist-
> bounces@pengutronix.de] On Behalf Of Robert Schwebel
> Sent: Thursday, November 17, 2011 6:08 AM
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Runtime dependencies generation
>
> On Wed, Nov 16, 2011 at 08:20:12PM +0000, Benoît BURNICHON wrote:
> > This package is not compiled and just need to be installed (it
> > contains only scripts) In the KConfig file, I set up lines like:
> >
> > depends on BUSYBOX
> > depends on COREUTILS_OD || BUSYBOX_HEXDUMP
> > depends on COREUTILS_READLINK || BUSYBOX_READLINK
> > depends on COREUTILS_SORT || BUSYBOX_SORT
> > depends on COREUTILS_STAT || (BUSYBOX_STAT &&
> BUSYBOX_FEATURE_STAT_FORMAT)
> > depends on DIFFUTILS_DIFF || BUSYBOX_DIFF
>
> Please specify the dependencies with "select" from the "label" of the
> dependend packet. Example:
>
> config YOURPACKAGE
>
> select BUSYBOX
> select COREUTILS
> select DIFFUTILS
>
> The other dependencies can still be "depends". PTXdist generates the
> dependencies from the select statements that correspond to the labels.
>
> However, note that ptxdist only knows about "dependencies", not about
> runtime vs. compile time dependencies. But for your case it shouldn't be a
> problem. What does currently not work is to specify a compile time
> dependency (i.e. to a library that consists only of a static lib or a
> C++ header file) but no related runtime dependency. You can still have
> an empty packet for the static lib, but it can't be avoided.
>
> rsc
> --
> 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
________________________________
Ce courriel et toutes les pièces jointes sont confidentiels et peuvent être couverts par un privilège ou une protection légale. Il est établi à l’attention exclusive de ses destinataires. Toute utilisation de ce courriel non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse préalable.
This email and any attachment are confidential and may be legally privileged or otherwise protected from disclosure. It is intended only for the stated addressee(s) and access to it by any other person(s) is unauthorized. Any use, dissemination or disclosure not in accordance with its purpose, either in whole or in part, is prohibited without our prior formal approval.
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2011-11-17 10:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 20:20 Benoît BURNICHON
2011-11-17 5:07 ` Robert Schwebel
2011-11-17 10:34 ` Benoît BURNICHON [this message]
2011-11-20 12:49 ` Michael Olbrich
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=3944866A166FC34A948C72DD5EDDCA2A1DAE6C77@HQ0SBS01.airtag.local \
--to=benoit.burnichon@airtag.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