[openib-general] [PATCH] gen2: Only include CM and DM client in kernel build when needed

Roland Dreier roland at topspin.com
Sat Aug 7 16:06:24 PDT 2004


    Hal> I'm interested in working this out now because having
    Hal> everything in one tree will make it easier right ? I'd like
    Hal> to avoid having 2 mthcas and have things build smoothly. Is
    Hal> there a better way to do this ?

OK (although my impression was that it was important to emphasize that
my tree was not the official gen2 tree and that there should be
multiple trees for now)

In any case, if we want to do this now then I think all of my previous
comments should be addressed: make all the CONFIG_XXX options just
choose which modules to build via obj-$(CONFIG_XXX) (it should be
possible to make this work with no ifdefs in Makefiles), and get rid
of the redundant "default y" stuff in Kconfig (I think "select" should
be enough).

Also I'd like to get opinions on whether this level of configurability
should always be exposed or if it should be hidden unless the user
selects CONFIG_EMBEDDED.

 - R.



More information about the general mailing list