On Tuesday 17 February 2009 08:44:35 Daniel Baluta wrote: > On Tue, Feb 17, 2009 at 9:19 AM, Kevin Wilson <wkevils@xxxxxxxxx> wrote: > > Hello, > > I have a git clone of the linux kernel tree, and from time to time I > > perform git pull. Sometimes new configuration items are added; So after > > running "git pull" and "Make", I am asked to answer for questions with > > [Y,n] or [N/y/?] (NEW) > > > > For example, > > > > ... > > Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y > > Support for DMA Remapping Devices (EXPERIMENTAL) (DMAR) [Y/n/?] y > > Enable DMA Remapping Devices by default (DMAR_DEFAULT_ON) [N/y/?] (NEW) > > ... > > ... > > > > I always press "Enter" on all these configuration items. > > > > Is there a way to run "Make" on such occasions with accepting all > > defaults and without pressing "Enter" for each question? > > make defconfig make defconfig won't keep your original .config, which, if you have uncommon hardware, this will be a bad thing. I ctime make all -j32 CC="distcc ccache gcc"ommonly use make menuconfig as that will keep my old config, and set all new configs to default value. > > > Sometimes, if I perform "git pull" after a long period, there are many > > such configuration > > items (And I always press enter on all). Moreover, I want to automate all > > this pull and build process by a script. For that , I must be able to run > > Make without > > human intervention for pressing "enter" on this configuration items. Then I guess the only option would be defconfig, but I wouldn't recommend doing a blind config/build/install of a new kernel. Things change, and the new options *are* added for a reason. > > > > Rgs, > > Kevin > > > Do make help in your kernel source directory and analyze the options you > have. yeah, but AFAIK, none of the options listed there will enable you to do a defconfig with the old config-file included. > > thanks, > Daniel. > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ I *think* from what I read, defconfig is what you want - but I'm not entirely sure it's what you want - unless you are one of those happy few who actually get a bootable system from make deconfig's .config -- Henrik -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ