Makefile 556 字节
Newer Older
1 2 3 4 5
# To compile, from the source root
#
#    make headers_install
#    make M=documentation

R
Randy Dunlap 已提交
6 7
# kbuild trick to avoid linker error. Can be omitted if a module is built.
obj- := dummy.o
8

R
Randy Dunlap 已提交
9
# List of programs to build
10
hostprogs-y := timestamping txtimestamp hwtstamp_config
R
Randy Dunlap 已提交
11 12 13 14 15

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

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

clean:
20
	rm -f timestamping txtimestamp hwtstamp_config