Is it possible to view which flags were used during kernel compilation? 2.6.42.12-1 fedora 15.
I am sure I've done this before but I can't find anything on google (ie i look for wrong thing :/ ).
To configure the kernel, change to /usr/src/linux and enter the command make config. Choose the features you want supported by the kernel. Usually, There are two or three options: y, n, or m. m means that this device will not be compiled directly into the kernel, but loaded as a module.
The Linux kernel configuration is usually found in the kernel source in the file: /usr/src/linux/. config . It is not recommended to edit this file directly but to use one of these configuration options: make config - starts a character based questions and answer session.
You can look at /proc/config. gz if you're in luck, it will be there. If you have the kernel source, it's worth having a look at /arch/arm/configs - most Android kernel's I've seen will have the default config for your CPU and you can start from there.
Current kernel config:
cat /boot/config-`uname -r`
Other installed kernels:
ls /boot/config-*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With