I would like to set
CONFIG_STRICT_DEVMEM=n and recompile my kernel in order to try out what @Oliv suggested in the comments of my question on stackoverflow.
I am following the BuildYourOwnKernel tutorial on the ubuntu wiki:
$ git clone git://kernel.ubuntu.com/ubuntu/ubuntu-bionic.git $ cd ubuntu-bionic/ $ chmod a+x debian/rules $ chmod a+x debian/scripts/* $ chmod a+x debian/scripts/misc/* $ fakeroot debian/rules clean $ sudo fakeroot debian/rules editconfigs dh_testdir; /bin/bash -e debian/scripts/misc/kernelconfig editconfigs Do you want to edit config: amd64/config.flavour.generic? [Y/n] Y
I have searched arround in the hope of finding the variable that I need to change (
CONFIG_STRICT_DEVMEM), but I didn't find it.
Most of the resources that I find on the internet elaborate on compiling/building the kernel, but I didn't find anything on actually making specific changes.
Could someone please point me in the right direction?
is created when
sudo fakeroot debian/rules editconfigs is aborted.
$ cat ./build/.config | grep CONFIG_STRICT_DEVMEM
I set these variables to n and ran
fakeroot debian/rules binary-headers binary-generic binary-perarch
which ended in an error:
/bin/bash: gawk: command not found debian/rules.d/2-binary-arch.mk:123: recipe for target 'install-generic' failed make: *** [install-generic] Error 127
Now I am following a different tutorial and @Oliv's advice:
- I installed
- I ran
make menuconfigto generate a file called
.configat the root of the git repository.
- I set
- I ran
cat .config | grep CONFIG_STRICT_DEVMEMreturns
# CONFIG_STRICT_DEVMEM is not set
- Now I am running
make && make modules_install && make installas root.
I will report any further progress...