mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Runtime dependencies generation
Date: Thu, 17 Nov 2011 06:07:40 +0100	[thread overview]
Message-ID: <20111117050740.GA12224@pengutronix.de> (raw)
In-Reply-To: <3944866A166FC34A948C72DD5EDDCA2A1DAE6C12@HQ0SBS01.airtag.local>

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

  reply	other threads:[~2011-11-17  5:07 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 [this message]
2011-11-17 10:34   ` Benoît BURNICHON
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=20111117050740.GA12224@pengutronix.de \
    --to=r.schwebel@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