2010-03-12 12:23:27 -07:00
|
|
|
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
|
|
|
obj- := dummy.o
|
2009-02-11 22:03:36 -07:00
|
|
|
|
2010-03-12 12:23:27 -07:00
|
|
|
# List of programs to build
|
2013-11-22 13:10:24 -07:00
|
|
|
hostprogs-y := timestamping hwtstamp_config
|
2010-03-12 12:23:27 -07:00
|
|
|
|
|
|
|
# Tell kbuild to always build the programs
|
|
|
|
always := $(hostprogs-y)
|
|
|
|
|
|
|
|
HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
|
2013-11-22 13:10:24 -07:00
|
|
|
HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
|
2009-02-11 22:03:36 -07:00
|
|
|
|
|
|
|
clean:
|
2013-11-22 13:10:24 -07:00
|
|
|
rm -f timestamping hwtstamp_config
|