blob: d934afc8306a495134bf24559c6ecbd94178f36f [file] [log] [blame]
Randy Dunlapf28f9e42010-03-12 19:23:27 +00001# kbuild trick to avoid linker error. Can be omitted if a module is built.
2obj- := dummy.o
Patrick Ohlycb9eff02009-02-12 05:03:36 +00003
Randy Dunlapf28f9e42010-03-12 19:23:27 +00004# List of programs to build
Ben Hutchingsa4bcc792013-11-22 20:10:24 +00005hostprogs-y := timestamping hwtstamp_config
Randy Dunlapf28f9e42010-03-12 19:23:27 +00006
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
Ben Hutchingsa4bcc792013-11-22 20:10:24 +000011HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
Patrick Ohlycb9eff02009-02-12 05:03:36 +000012
13clean:
Ben Hutchingsa4bcc792013-11-22 20:10:24 +000014 rm -f timestamping hwtstamp_config