It *is* possible to use define_tristate here if the CONFIG_X25/CONFIG_LAPB
appear earlier in the configuration (ie. "define_tristate" for CONFIG_X25
can't precede "tristate" for CONFIG_X25). Simple VAR=value does NOT work.
However, it is not recomended as there is a trap here: you may have an
option that needs CONFIG_X25=m and another one that needs CONFIG_X25=n.
How do you control this when CONFIG_X25=y was set previously or you have
modules disabled ?
It makes config scripts very complicated and difficult to maintain.
Probably you should look at CML2 development page:
http://www.tuxedo.org/~esr/kbuild
I think, CML2 has already included the feature you need, but it is a project
for 2.5+ ...
> Even if that's possible, I don't like this approach (I'd rather just
> mention it in the help). Nevertheless, I'd like to know whether it's
> possible or not.
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/