About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / mic / mpssd / Makefile


Based on kernel version 4.8. Page generated on 2016-10-06 23:18 EST.

1	ifndef CROSS_COMPILE
2	# List of programs to build
3	hostprogs-$(CONFIG_X86_64) := mpssd
4	
5	mpssd-objs := mpssd.o sysfs.o
6	
7	# Tell kbuild to always build the programs
8	always := $(hostprogs-y)
9	
10	HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include
11	
12	ifdef DEBUG
13	HOSTCFLAGS += -DDEBUG=$(DEBUG)
14	endif
15	
16	HOSTLOADLIBES_mpssd := -lpthread
17	
18	install:
19		install mpssd /usr/sbin/mpssd
20		install micctrl /usr/sbin/micctrl
21	endif
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog