Several Makefile.in files have code like this

ifsel(CONFIG_ISDN_PPP)
  select(CONFIG_ISDN slhc.o)
endif

The select() defines how the object is compiled, the ifsel is a boolean
that decides if the object is built at all.  I am thinking about adding
a new construct:

select_cond(CONFIG_ISDN CONFIG_ISDN_PPP slhc.o)

Both configs must be selected, either as 'y' or 'm'.  The first config
defined how the object is compiled.  I am worried that this might be
confusing, some users are bound to get the config options in the wrong
order.  Any ideas for a less ambiguous construct?


_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to