7987
![]() |
|
|
|
|
|||||||
| FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
this could be trivial, but I'm trying to understand how the kernel customization works. If I get it right, each option line in the kernel configuration line is translated by the config command into a #define for the preprocessor. Now, I don't get why in the compilation directory there is also a config.c which contains a c-readable clone of the configuration file for the kernel, and at the same time the config command produces a set of opt_xxx.h header files with the pre-processor macros. I'm losing a passage here, what is the purpose of the config.c file? Last edited by DutchDaemon; December 13th, 2011 at 01:36. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] C - include + define - I have a question. | valsorym | Userland Programming & Scripting | 5 | December 7th, 2011 14:40 |
| [Solved] Using "#define" in .Xdefaults? | dzaharee | X.Org | 2 | August 26th, 2011 03:06 |
| Kernel Option | mfarrag | FreeBSD Development | 5 | July 9th, 2011 11:08 |
| Define JID with cat in /etc/rc.conf | minimike | General | 4 | October 6th, 2010 15:25 |
| [Solved] ALTQ define upload and download. | Mr0wyx | Firewalls | 8 | March 18th, 2010 13:30 |