Hi,

On Thu, Jan 30, 2014 at 02:58:11PM +0100, Bernhard Bender wrote:
> Von: Juergen Beisert [mailto:j...@pengutronix.de]
> Gesendet: Donnerstag, 30. Januar 2014 12:41
> 
> > $ ptxdist print PACKAGES-y
> > For the corresponding URL I think you will need a script which queries each 
> > package's URL one by one.
> 
> That’s fine, thank you.

Actually, correct is:
$ ptxdist print PACKAGES

There are also HOST_PACKAGES, CROSS_PACKAGES and LAZY_PACKAGES

> Is it possible to run a script with all the make variable visible in the
> environment? Running ptxdist print again for each var ist extremely slow..

If its just a few, then you can print them all at once:

$ ptxdist print-PACKAGES print-HOST_PACKAGES print-CROSS_PACKAGES 
print-LAZY_PACKAGES

It's not nice, because you need to count the lines.

If you're working in a specific BSP, you can also define a custom make
target in BSP/rules/post/<something>.make, do your stuff there and call it
with "ptxdist make <whatever>"

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 via email to