From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from octopus.hi.pengutronix.de ([2001:6f8:1178:2:215:17ff:fe12:23b0]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RQuCK-00060A-TN for ptxdist@pengutronix.de; Thu, 17 Nov 2011 06:07:40 +0100 Received: from rsc by octopus.hi.pengutronix.de with local (Exim 4.77) (envelope-from ) id 1RQuCK-0003kZ-SI for ptxdist@pengutronix.de; Thu, 17 Nov 2011 06:07:40 +0100 Date: Thu, 17 Nov 2011 06:07:40 +0100 From: Robert Schwebel Message-ID: <20111117050740.GA12224@pengutronix.de> References: <3944866A166FC34A948C72DD5EDDCA2A1DAE6C12@HQ0SBS01.airtag.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3944866A166FC34A948C72DD5EDDCA2A1DAE6C12@HQ0SBS01.airtag.local> Subject: Re: [ptxdist] Runtime dependencies generation Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Nov 16, 2011 at 08:20:12PM +0000, Beno=EEt BURNICHON wrote: > This package is not compiled and just need to be installed (it contains o= nly 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