Just to clarify more, if I put my code in something like:<div>#ifdef CONFIG_FOOBAR</div><div>my code</div><div>#endif</div><div><br></div><div>Then my module's Makefile should check if this parameter is defined in the ".config" file. How should I modify my Makefile to do that?<br>
<br><div class="gmail_quote">On Sun, Dec 11, 2011 at 10:44 PM, contemplating zombie <span dir="ltr"><<a href="mailto:contemplatingzombie@gmail.com">contemplatingzombie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>I want to conditionally compile some code in module if CONFIG_FOOBAR is defined.</div><div>How can I add this check to my module's makefile?</div><div><br></div><div>-Thanks.</div>
</blockquote></div><br></div>