How is the kernel configuration generated?

Development on core packages and the distribution goes on in here.

How is the kernel configuration generated?

Postby Socke » Sun Apr 21, 2019 4:23 pm

Hey there,

is anywhere documented how the kernel configuration for linux-armv7 is generated? If not, can anyone maybe line out what the approximate steps to reproduce the .config file are?

Kind regards
Socke
Socke
 
Posts: 7
Joined: Wed Mar 15, 2017 9:07 pm

Re: How is the kernel configuration generated?

Postby graysky » Sun Apr 21, 2019 6:50 pm

You generate it within the nconfig when compiling. You can get the Arch defaults from the github PKGBUILDs repo or from zcat /proc/config.gz
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: How is the kernel configuration generated?

Postby Socke » Wed Apr 24, 2019 10:01 am

I'm sorry, I think my question wasn't clear enough. I know where I can get the current configuration and how I can change it and generate a new package and so on. But I would like to know what was the (more or less) exact process that lead to this specific configuration file that currently is in the repo. So what configuration commands (e.g. make defconfig, etc.) do I have to type to get a similar working configuration?

Can anyone line out, what was done to obtain the current configuration?
Socke
 
Posts: 7
Joined: Wed Mar 15, 2017 9:07 pm

Re: How is the kernel configuration generated?

Postby summers » Wed Apr 24, 2019 11:12 am

https://archlinuxarm.org/packages/armv7h/linux-armv7/files/config

to change, download the package, change config, then us PKGBUILD
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 3 guests