https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes.git

I’ve managed to get it going compilation-wise.

Having not compiled anything related to the kernel before, I wonder: how to make it compile iwlwifi module only? In its minimal configuration. Not anything additional and not what may not be needed.

I see that it’s began to compile a lot of things

  ..........
  CC      arch/x86/kernel/cpu/cpuid-deps.o
  CC      arch/x86/kernel/cpu/umwait.o
  CC      arch/x86/kernel/cpu/proc.o
  MKCAP   arch/x86/kernel/cpu/capflags.c
  CC      arch/x86/kernel/cpu/capflags.o
  CC      arch/x86/kernel/cpu/powerflags.o
  CC      arch/x86/kernel/cpu/feat_ctl.o
  CC      arch/x86/kernel/cpu/intel.o
  CC      arch/x86/kernel/cpu/intel_pconfig.o
  CC      arch/x86/kernel/cpu/tsx.o
  CC      arch/x86/kernel/cpu/intel_epb.o
  CC      arch/x86/kernel/cpu/amd.o
  CC      arch/x86/kernel/cpu/hygon.o
  .......

What does it have to with the kernel?


My goals

  • compile it as is for now, in a simple manner
  • change it a little bit
  • recompile it and then load via dkms