Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When using make oldconfig I usually look at new options briefly in case there's something important/useful.

However, on an existing system I couldn't care less about new device drivers for some hardware I obviously do not have. Is there a way to make make oldconfig skip all devices drivers?

share|improve this question
1  
FYI, sometimes new drivers are for older hardware (e.g., someone will rewrite the driver for X). Or a driver is split, etc. –  derobert Feb 22 '13 at 14:19

2 Answers 2

When you do make oldconfig is shows new options only. You could force everyhing new to No with yes n | make oldconfig, but some old configuration could have changed (it used to be yes/no, now there are several numerical options, ...). Better don't do that.

share|improve this answer
1  
Safer alternative: make olddefconfig. Instead of saying plain no to everything, it takes the default value. I still take the time of going through things manually. There are usually 2-3 interesting questions before it gets to the obscure device drivers, and for the rest you can just keep the <enter> key pressed. –  frostschutz Feb 23 '13 at 13:01

There is make allnoconfig in the current kernel, see Documentation/kbuild/kconfig.txt .

Or, to work around the problem that some entries won't accept "N" you can allow for user input once it gets stuck on a question:

$ { while :; do
  for i in `seq 100`; do echo n; done; read n; echo $n; done } | make oldconfig

This returns input control to the user every 100 questions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.