Messages in this thread | | | Date | Thu, 16 Jan 2003 22:24:04 -0600 (CST) | From | Kai Germaschewski <> | Subject | Re: Linux 2.5.59 |
| |
On Fri, 17 Jan 2003, Anders Gustafsson wrote:
> On Thu, Jan 16, 2003 at 10:12:23PM -0600, Kai Germaschewski wrote: > > > ./scripts/kconfig/mconf arch/i386/Kconfig > > > arch/i386/Kconfig:1185: can't open file "drivers/eisa/Kconfig" > > > make: *** [menuconfig] Error 1 > > > > bk -r get -q > > > > or just > > > > bk get drivers/eisa > > > > in this case. I guess this is becoming a FAQ. > > It would be cool if the the Makefile let make knew about these dependencies > so they would be checked out automagically.
Unfortunately, the Makefile doesn't really know about the Kconfig files, the "source drivers/whatever/Kconfig" commands are in Kconfig, and duplicating them into the Makefile would be rather error-prone.
Even if that was done, the Makefiles also cannot know about e.g. headers included into C files, so it'd die at that point. At some point I hacked a LD_PRELOAD library which would try to exec a "get" when open(2) fails, which fixes gcc, kconfig and whatnotsoever. I suppose a better solution is "checkout: get", though.
--Kai
- 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/
| |