Contents
What is make Defconfig?
When you run “make defconfig” on “x86” machine, it copies the configuration options from “i386_defconfig”. When you are cross compiling, and there will be default configuration for that particular board in arch/(ARCH)/configs folder.
How do I run Oldconfig?
Check this out: copy your current . config file into /usr/src/linux. Now use “make oldconfig”. It will run through your old config file and see what’s been updated so that you don’t have to find all the new options.
What does typing make Oldconfig in Linux kernel source directory accomplish?
6 Answers. It reads the existing . config file that was used for an old kernel and prompts the user for options in the current kernel source that are not found in the file. This is useful when taking an existing configuration and moving it to a new kernel.
How do I use Localmodconfig?
“make localmodconfig” Create a config based on current config and loaded modules (lsmod). Disables any module option that is not needed for the loadedmodules. To create a localmodconfig for another machine, store the lsmod of that machine into a file and pass it in as a LSMOD parameter.
What is the use of Menuconfig?
make menuconfig gives the user an ability to navigate forwards or backwards directly between features, rather than using make config by pressing the ↵ Enter key many, many times just to navigate linearly to the configuration for a specific feature. If the user is satisfied with a previous .
When to use make old config in exapmle?
make oldconfig is used to apply your old .config file to the newer kernel. For exapmle, you have .config file of your current kernel and you downloaded new kernel and want to build your new kernel. Since very likely new kernel will have some new configuration options, you will need to update your config.
What does ” make oldconfig ” do exactly in the Linux kernel?
Configs which are selected by turned on configs are automatically set without asking the user. and run make oldconfig, the line gets recreated without asking us, unlike DEBUG_INFO. and select forces that option to be true. See also: https://unix.stackexchange.com/questions/117521/select-vs-depends-in-kernel-kconfig
What happens if you run make oldconfig a second time?
If you were to run make oldconfig, and then run make oldconfig a second time, the second time won’t cause any additional changes to be made. It’s torture. Instead of including a generic conf file, they make you hit return 9000 times to generate one. Thanks for contributing an answer to Stack Overflow!