[Buildroot] Synchronisation of dependencies between Config.in and .mk files ?

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 27 16:56:45 UTC 2008


Hi,

Currently, there are two complementary ways of expressing dependencies
between packages:

 * Through the select BR2_FOOBAR statements in the Config.in files ;

 * Through the FOOBAR_DEPS variable in the package makefiles.

The second one is absolutely necessary, as it makes sure that packages
are built in the proper order. The first one allows packages Makefiles
to adapt their configuration depending on the existing dependencies
(i.e if tslib is available, then enable support for touchscreens, etc.).

However, there are great chances for these two lists of dependencies
for each package to become unsynchronized.

What's the policy about this ? What are the current techniques to keep
them synchronized ?

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list