Randy Dunlap | f28f9e4 | 2010-03-12 19:23:27 +0000 | [diff] [blame] | 1 | # kbuild trick to avoid linker error. Can be omitted if a module is built. |
| 2 | obj- := dummy.o |
Patrick Ohly | cb9eff0 | 2009-02-12 05:03:36 +0000 | [diff] [blame] | 3 | |
Randy Dunlap | f28f9e4 | 2010-03-12 19:23:27 +0000 | [diff] [blame] | 4 | # List of programs to build |
Ben Hutchings | a4bcc79 | 2013-11-22 20:10:24 +0000 | [diff] [blame] | 5 | hostprogs-y := timestamping hwtstamp_config |
Randy Dunlap | f28f9e4 | 2010-03-12 19:23:27 +0000 | [diff] [blame] | 6 | |
| 7 | # Tell kbuild to always build the programs |
| 8 | always := $(hostprogs-y) |
| 9 | |
| 10 | HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include |
Ben Hutchings | a4bcc79 | 2013-11-22 20:10:24 +0000 | [diff] [blame] | 11 | HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include |
Patrick Ohly | cb9eff0 | 2009-02-12 05:03:36 +0000 | [diff] [blame] | 12 | |
| 13 | clean: |
Ben Hutchings | a4bcc79 | 2013-11-22 20:10:24 +0000 | [diff] [blame] | 14 | rm -f timestamping hwtstamp_config |