Date: Thu, 27 Jul 2000 07:50:22 -0700 (PDT)
From: Linus Torvalds <torvalds@transmeta.com>
(c) do a simple "generation" script. This is what I'd do in the case of
O_NOFOLLOW. In your makefile, just have
nofollow.h:
grep define.*O_NOFOLLOW $(KERNELDIR)/include/asm-$(ARCH)/fcntl.h > nofollow.h
The only problem with this sort of thing is that you need to somehow
find KERNELDIR. Some kind of convention to make it easy to set
KERNELDIR, even if it isn't /usr/src/linux because you don't like the
history and because stuff you don't like is depending on /usr/src/linux,
would be really useful. Say, for example, /boot/kernel-headers being a
symlink to the kernel headers corresponding to the default kernel to be
booted?
- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:23 EST