mirror of https://gitee.com/openkylin/linux.git
14 lines
300 B
Makefile
14 lines
300 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
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_timestamping.o += -I$(objtree)/usr/include
|
|
|
|
clean:
|
|
rm -f timestamping
|