Makefile.lib: Add support for "unless" config-driven rules
commit14ae8ecc01e8d6e83f5d321fe209dac46a646680
authorPetr Baudis <pasky@ucw.cz>
Tue, 28 Aug 2007 20:55:26 +0000 (28 22:55 +0200)
committerPetr Baudis <pasky@machine.or.cz>
Tue, 28 Aug 2007 20:55:26 +0000 (28 22:55 +0200)
tree2a188661213f589c8bfd3aa8b8f5d130fb96444a
parente5539a9937bb439974d6579ecf3e2503cb07f909
Makefile.lib: Add support for "unless" config-driven rules

Normally, you can add some objects or subdirs to the build if some
config variable is set to yes, by doing:

SUBDIRS-$(CONFIG_FOO)

Now you can do it the other way too, including stuff if some
variable is set to no:

SUBDIRS-unless$(CONFIG_FOO)

This will be used for switching between two HTML parser implementations.
Makefile.lib