Turns out is is an issue originated from linux-backports: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/tree/backport/Makefile
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969434 Title: dkms.conf doesn't respect --kernelsourcedir passed to dkms build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/1969434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs