M7350/kernel/Documentation/mic/mpssd/Makefile

20 lines
376 B
Makefile
Raw Permalink Normal View History

2024-09-09 08:57:42 +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)
HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include
ifdef DEBUG
HOSTCFLAGS += -DDEBUG=$(DEBUG)
endif
HOSTLOADLIBES_mpssd := -lpthread
install:
install mpssd /usr/sbin/mpssd
install micctrl /usr/sbin/micctrl