Randy Dunlap | 3794f3e | 2008-08-12 15:09:06 -0700 | [diff] [blame] | 1 | # kbuild trick to avoid linker error. Can be omitted if a module is built. |
| 2 | obj- := dummy.o |
| 3 | |
| 4 | # List of programs to build |
| 5 | hostprogs-y := ifenslave |
| 6 | |
Randy Dunlap | 520732a | 2011-02-10 20:05:25 -0800 | [diff] [blame] | 7 | HOSTCFLAGS_ifenslave.o += -I$(objtree)/usr/include |
| 8 | |
Randy Dunlap | 3794f3e | 2008-08-12 15:09:06 -0700 | [diff] [blame] | 9 | # Tell kbuild to always build the programs |
| 10 | always := $(hostprogs-y) |
Randy Dunlap | f28f9e4 | 2010-03-12 19:23:27 +0000 | [diff] [blame] | 11 | |
| 12 | obj-m := timestamping/ |