Basically, don't build the dkms module if it's already provided as a kernel module, e.g. check if
/lib/modules/$(uname -r)/kernel/drivers/firmware/efi/test/efi_test.ko
exists, if so, don't build a kernel module with dkms.
Basically, don't build the dkms module if it's already provided as a kernel module, e.g. check if
/lib/modules/ $(uname -r)/kernel/ drivers/ firmware/ efi/test/ efi_test. ko
exists, if so, don't build a kernel module with dkms.