1 2 3 4 5 6 7 8
# kbuild trick to avoid linker error. Can be omitted if a module is built. obj- := dummy.o # List of programs to build hostprogs-y := dnotify_test # Tell kbuild to always build the programs always := $(hostprogs-y)