]>
Commit | Line | Data |
---|---|---|
65f6f092 | 1 | ifndef CROSS_COMPILE |
adb19fb6 | 2 | # List of programs to build |
d47fb4ec | 3 | hostprogs-$(CONFIG_X86_64) := mpssd |
adb19fb6 PF |
4 | |
5 | mpssd-objs := mpssd.o sysfs.o | |
6 | ||
7 | # Tell kbuild to always build the programs | |
8 | always := $(hostprogs-y) | |
9 | ||
7b345771 | 10 | HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include |
adb19fb6 | 11 | |
8d497515 | 12 | ifdef DEBUG |
adb19fb6 | 13 | HOSTCFLAGS += -DDEBUG=$(DEBUG) |
8d497515 CY |
14 | endif |
15 | ||
adb19fb6 | 16 | HOSTLOADLIBES_mpssd := -lpthread |
8d497515 CY |
17 | |
18 | install: | |
19 | install mpssd /usr/sbin/mpssd | |
20 | install micctrl /usr/sbin/micctrl | |
65f6f092 | 21 | endif |