aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/timestamping/Makefile
blob: 95e239c7007646cec7e3ee8646926a02af89f0ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# To compile, from the source root
#
#    make headers_install
#    make M=documentation

# 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 txtimestamp hwtstamp_config

# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
HOSTCFLAGS_txtimestamp.o += -I$(objtree)/usr/include
HOSTCFLAGS_hwtstamp_config.o += -I$(objtree)/usr/include

clean:
	rm -f timestamping txtimestamp hwtstamp_config