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