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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Oct 27 20:11:41 UTC 2008


Le Mon, 27 Oct 2008 19:43:07 +0100,
Peter Korsgaard <jacmet at uclibc.org> a écrit :

> Do you have any ideas about how to solve this in a nicer way?

Not really. Maybe the Config.in read by kconfig could be generated by
the Makefile system. Either completely from the Makefiles, or from
Config.in.tmp files, parsed and modified to contain the dependencies.

However, there are some packages with optional dependencies, like in
matchbox:

ifeq ($(strip $(BR2_PACKAGE_X11R7_LIBXCOMPOSITE)),y)
ifeq ($(strip $(BR2_PACKAGE_X11R7_LIBXPM)),y)
  MATCHBOX_WM_OPTS+=--enable-composite
  MATCHBOX_WM_DEPS+=xlib_libXcomposite
  MATCHBOX_WM_DEPS+=xlib_libXpm
  MATCHBOX_LIB_DEPS+=xlib_libXpm
endif
endif

I'm not sure how to handle that kind of case.

Sincerly,

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