On Tue, Apr 24, 2007 at 04:15:54PM +1000, John Williams wrote:
> Hello,
> 
> Is there a sensible way of forcing a .c file to be explicitly dependent 
> on autoconf.h, thus bypassing the CONFIG_ dependency intelligence built 
> into fixdep?

The easy trick is to add an explicit dependency on .config like this:

$(obj)/foobar.o: .config

We use a similar way of doing things in kernel/Makefile whre we parse up
the content of the .config file.

That said I would question your use of CONFIG variables but without
knowing the actual context it is hard to see why such obsfucating is needed.

        Sam

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to