blob: 06871b0c08a6e9fb5d38f5b1e4d5dfb90135f2f2 [file] [log] [blame]
Paul Gortmaker65f6f092015-06-21 00:32:05 -04001ifndef CROSS_COMPILE
Peter Foleyadb19fb2014-09-25 11:23:09 -07002# List of programs to build
Ashutosh Dixitd47fb4e2014-12-04 13:27:29 -08003hostprogs-$(CONFIG_X86_64) := mpssd
Peter Foleyadb19fb2014-09-25 11:23:09 -07004
5mpssd-objs := mpssd.o sysfs.o
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
Peter Foley7b345772014-10-02 19:35:26 -040010HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include
Peter Foleyadb19fb2014-09-25 11:23:09 -070011
Caz Yokoyama8d497512013-09-05 16:42:39 -070012ifdef DEBUG
Peter Foleyadb19fb2014-09-25 11:23:09 -070013HOSTCFLAGS += -DDEBUG=$(DEBUG)
Caz Yokoyama8d497512013-09-05 16:42:39 -070014endif
15
Peter Foleyadb19fb2014-09-25 11:23:09 -070016HOSTLOADLIBES_mpssd := -lpthread
Caz Yokoyama8d497512013-09-05 16:42:39 -070017
18install:
19 install mpssd /usr/sbin/mpssd
20 install micctrl /usr/sbin/micctrl
Paul Gortmaker65f6f092015-06-21 00:32:05 -040021endif