forked from Minki/linux
a4bcc795e9
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
15 lines
389 B
Makefile
15 lines
389 B
Makefile
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
|
obj- := dummy.o
|
|
|
|
# List of programs to build
|
|
hostprogs-y := timestamping hwtstamp_config
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
|
|
HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include
|
|
|
|
clean:
|
|
rm -f timestamping hwtstamp_config
|