David Herrmann | 5148fa5 | 2012-06-10 15:16:27 +0200 | [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 := uhid-example | ||||
6 | |||||
7 | # Tell kbuild to always build the programs | ||||
8 | always := $(hostprogs-y) | ||||
9 | |||||
10 | HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include |