[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [PATCH] asm*/resource.h fix for glibc
From: Jamie Lokier <lkd () tantalophile ! demon ! co ! uk>
Date: 1999-12-17 14:35:52
[Download RAW message or body]
Richard Guenther wrote:
> IF you do user-mode programs which need access to linux-specific header
> files you should use configure to test, whether the needed feature is in
> the glibc linux/* headers, and if not you should use a version distributed
> by _your_ software-package! I.e. you do the cp on your self, sort of a
> linux_feature_cdrom_dosomeneatstuff_ioctl.h in your source-package.
I like that solution. It's not small, but it works always.
> With compiling kernel modules distributed seperately, one should go the
> way MEC suggested some weeks ago (a directory in the kernel source,
> where you can drop in the module source and use standard make configure &&
> make modules).
That only works if you can find the right kernel source directory!
Today I was inspired by a new part of Red Hat's boot process. It makes
a file in /boot containing some kernel parameters.
Which leads to an obvious thought. How about a Makefile fragment in
/boot/config.mk that sets the appropriate CFLAGS, CPPFLAGS etc? It's in
/boot because it reflects the kernel you're booting...
-- Jamie
-
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic