Skip to contentSkip to conversation

finding package dependencies

Buildroot Will Wagner 3 participants 3 messages May 5, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

Is there some way of finding out a packages dependencies by running a make target? Would like to know what a packages dependencies were without having to just try building it.

Thanks
Will

#1 lore raw
Quoted 5 lines · Will Wagner

Hello,

Is there some way of finding out a packages dependencies by running a make target? Would like to know what a packages dependencies were without having to just try building it.

One way I think is to grep make output for -l GCC flag...

#2 lore raw
In reply to Will Wagner
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Will" == Will Wagner <[email protected]> writes:

Will> Hello,
Will> Is there some way of finding out a packages dependencies by running a Will> make target? Would like to know what a packages dependencies were Will> without having to just try building it.

Not a make target, but something like:

awk '/select|depends on/ { print $NF } package/<PACKAGE>/Config.in

gives you a pretty good approximation of it.

Signature · 1 line
Bye, Peter Korsgaard