Messages in this thread |  | | From | Shinanyaku <> | Subject | [C] /proc/summary | Date | Fri, 14 Jun 1996 15:38:34 -0400 (EDT) |
| |
Folks -
I've been hacking away at a /proc/summary entry for quick reference when commenting on your kernel. I thought that it would be a one-stop-shop for certain major configuration information.
One thing that I wanted to place in there was the GCC CFLAGS that were used to compile the kernel.
My question is, are these stored anyplace in the kernel ? If not, I was thinking the easiest solution would be to do something like the following in a Makefile someplace
gcc (... normal stuff ...) -DKFLAGS="${CFLAGS}"
That way my routine in proc/array.c could output it.
Does this seem like a clean way of doing it? Or perhaps something is already in place?
Comments? And please, no flames, I'm just a simpleton trying to learn more ....
Shin! __________________________________________________________________________ Another Mailing List personality of Nicholas J. Leon shin@binary9.net
Linux Kernel Database [http://www.binary9.net/nicholas/kerneldb/]
"It is by caffeine alone I set my mind in motion, it is by the beans of Java that thoughts acquire speed, the hands acquire shaking, the shaking becomes a warning, it is by caffeine alone I set my mind in motion."
|  |