Following the instructions here (https://wiki.ubuntu.com/KernelTeam/GitKernelBuild) I built a development version of the kernel.
I copied the old config, called make oldconfig
and then modified .config
in the source tree in order to set a configuration flag:
CONFIG_ACPI_DEBUG=y
Then I built it with make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom
and installed the resulting packages with dpkg -i
, yet the new flag has no effect:
$ uname -r
3.17.0-031700rc5-generic
$ grep CONFIG_ACPI_DEBUG /boot/config-$(uname -r)
# CONFIG_ACPI_DEBUG is not set
How can I compile a kernel with different flags in Ubuntu?
make oldconfig
, try to usemake menuconfig
and use that to enable ACPI debug. It'll take care of the dependencies the various config options have.menuconfig
. In the ACPI menu, the optionDebug statements
, whose additional information tells it isCONFIG_ACPI_DEBUG
, is checked.menuconfig
takes care of that.