2014-09-25 18:23:09 +00:00
|
|
|
# List of programs to build
|
|
|
|
hostprogs-y := mpssd
|
|
|
|
|
|
|
|
mpssd-objs := mpssd.o sysfs.o
|
|
|
|
|
|
|
|
# Tell kbuild to always build the programs
|
|
|
|
always := $(hostprogs-y)
|
|
|
|
|
2014-10-02 23:35:26 +00:00
|
|
|
HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include
|
2014-09-25 18:23:09 +00:00
|
|
|
|
2013-09-05 23:42:39 +00:00
|
|
|
ifdef DEBUG
|
2014-09-25 18:23:09 +00:00
|
|
|
HOSTCFLAGS += -DDEBUG=$(DEBUG)
|
2013-09-05 23:42:39 +00:00
|
|
|
endif
|
|
|
|
|
2014-09-25 18:23:09 +00:00
|
|
|
HOSTLOADLIBES_mpssd := -lpthread
|
2013-09-05 23:42:39 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
install mpssd /usr/sbin/mpssd
|
|
|
|
install micctrl /usr/sbin/micctrl
|