You are not logged in.
Hi,
Today I compiled a kernel for the first time, following this; https://wiki.archlinux.org/index.php/Ke … ild_System . It went quite well. But I am looking for a way to quickly change some settings, and recompile and see what works and what doesn't. If I try to reissue makepkg, without touching src directory, makepkg command extracts the linux tarfile over previous src directory and this messes up with the patches. On the other hand, removing this directory also removes all object files thus requiring me to recompile all of them again. And since I am using an old laptop, this takes really long time (couple of hours...). How do you think I should experiment with compiling kernel? What would you suggest?
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Capture the config file you generated when you tweaked the settings and then use it as a starting point rather than the ARCH config file. I am assuming that you're tweaking via an nconfig or menuconfig so this will work quite well.
Offline
https://wiki.archlinux.org/index.php/Ccache
use ccache to help with the build time
edit: also take a look at linux-ck package ( to say one) on the aur as how to use your current config for the new kernel.
Last edited by ethail (2012-03-01 21:50:22)
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
https://wiki.archlinux.org/index.php/Ccache
use ccache to help with the build time
...how will this help?
Offline
If he's experimenting with configurations, and building several times the same kernel (version) but with changes in the configuration, a LOT of files are going to remain the same. That's were ccache comes in providing the file already build (if it did not change) instead of rebuilding it for the same result.
It helps lowering the build time if files have not changed, nothing else.
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
Thank you both. I also discovered that with "-e" switch to makepkg, you can skip the extracting the source and use whatever is in src directory.
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Ohh, and by the way, it compiles all drivers possible. Can I make it only compile the ones that I need. I only need couple of drivers.
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
@ethail - sorry, my bad. I thought you recommended that he install cacheclean not enable ccache. :red face:
Offline
@graysky don't worry ![]()
@yasar11732
You can by running localmodconfig, as said before, take a look at graysky's linux-ck package from the AUR, for having an example of how to use your current config and / or running with localmodconfig.
Also, you can use modprobed_db to have a list of which modules you've ever used (while you had it instaled), and never have any module missing that you actually use. My suggestion on this is that you run modprobed_db while using the ARCH kernel, as it has all modules you'll need, then run localmodconfig
I hope this helps.
Last edited by ethail (2012-03-02 11:17:44)
Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.
Offline
+1 for modprobed_db (and not just because I wrote it) ![]()
Offline