1 |
Dale wrote: |
2 |
> Daniel Pielmeier wrote: |
3 |
>> 2008/8/4, James <wireless@×××××××××××.com>: |
4 |
>> |
5 |
>>> Hello, |
6 |
>>> |
7 |
>>> It seems like I remember that 'make oldconfig' is not |
8 |
>>> needed any more, to pass the current (booted) kernel |
9 |
>>> option to the .config for building a new kernel. |
10 |
>>> |
11 |
>>> Of is 'make oldconfig' still a good idea? |
12 |
>>> |
13 |
>>> |
14 |
>>> James |
15 |
>>> |
16 |
>> |
17 |
>> At least in the kernel Makefile there is no hint about /proc/config.gz |
18 |
>> which contains the running kernel configuration, so I think make |
19 |
>> oldconfig or your favourite kernel configuration tool is still needed. |
20 |
>> If there is no .config or .config.old it will load a default |
21 |
>> configuration which is probably not what you want. |
22 |
>> |
23 |
>> |
24 |
>> |
25 |
> Having a config in /proc is a option in the kernel. You just have to |
26 |
> turn it on. It is under the General setup as "Enable access to .config |
27 |
> through /proc/config.gz". I have mine here: |
28 |
> |
29 |
> root@smoker / # ls -al /proc/config* |
30 |
> -r--r--r-- 1 root root 10060 2008-08-05 14:19 /proc/config.gz |
31 |
> root@smoker / # |
32 |
> |
33 |
> |
34 |
> It can prove helpful at times. |
35 |
> |
36 |
> Dale |
37 |
> |
38 |
> :-) :-) |
39 |
yeah, but it doesn't change that you still have to run make oldconfig. |
40 |
I love /proc/config.gz, especially because of zless and zgrep |
41 |
|
42 |
-- |
43 |
Eric Martin |
44 |
Key fingerprint = D1C4 086E DBB5 C18E 6FDA B215 6A25 7174 A941 3B9F |