Messages in this thread | | | Date | Wed, 28 Apr 2004 01:42:39 +0200 | From | Matthias Andree <> | Subject | Re: [PATCH] incomplete dependencies with BK tree (was: Anyone got aic7xxx working with 2.4.26?) |
| |
On Tue, 27 Apr 2004, Linus Torvalds wrote:
> How about just _always_ including stdarg.h, and doing it by just making > the main Makefile add a "-include <pathname>" to the CFLAGS? We should be > able to generate the stdarg.h pathname pretty easily, with something like > > gcc --print-file-name=include/stdarg.h > > (and that may depend on gcc versions too, of course).
stdarg.h is innocent, it is just one of the few include files valid in the stdinc paths.
How about making sure the dependency information is complete, even when BK has just "bk clean"ed an unedited file in the course of a "bk pull"?
Maybe mkdep or Makefile should just try to check out missing files and mkdep barf if it cannot open a file it was given? It works for .c files, it works for many of the .h files - it lacks for some other .h files and for the Config.in or Kconfig files. That would leave the BK user with just the "bk get" boot-strap at top level.
-- Matthias Andree
Encrypt your mail: my GnuPG key ID is 0x052E7D95 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |