summaryrefslogtreecommitdiffstats
path: root/Documentation/mic/mpssd/Makefile
blob: aaa89d137c1a57b446d5f024ac09c435f8a86c0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# List of programs to build
hostprogs-y := mpssd

mpssd-objs := mpssd.o sysfs.o

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

HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include

ifdef DEBUG
HOSTCFLAGS += -DDEBUG=$(DEBUG)
endif

HOSTLOADLIBES_mpssd := -lpthread

install:
	install mpssd /usr/sbin/mpssd
	install micctrl /usr/sbin/micctrl