[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636029: The method, described in Documentation/kbuild/kconfig.txt, no longer works.



Package: linux-source
Version: 3.0.0+39
Severity: normal

  For the last few versions, the following no longer works.
There is a problem with some of the lines.  It looks like some
of them are not ended by '\n'.

$ grep -B10 -A12 '""' Documentation/kbuild/kconfig.txt
New kernel releases often introduce new config symbols.  Often more
important, new kernel releases may rename config symbols.  When
this happens, using a previously working .config file and running
"make oldconfig" won't necessarily produce a working new kernel
for you, so you may find that you need to see what NEW kernel
symbols have been introduced.

To see a list of new config symbols when using "make oldconfig", use

        cp user/some/old.config .config
        yes "" | make oldconfig >conf.new

and the config program will list as (NEW) any new symbols that have
unknown values.  Of course, the .config file is also updated with
new (default) values, so you can use:

        grep "(NEW)" conf.new

to see the new config symbols or you can 'diff' the previous and
new .config files to see the differences:

        diff .config.old .config | less




Reply to: