Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1ifndef CROSS_COMPILE
2# List of programs to build
3hostprogs-$(CONFIG_X86_64) := mpssd
4
5mpssd-objs := mpssd.o sysfs.o
6
7# Tell kbuild to always build the programs
8always := $(hostprogs-y)
9
10HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include
11
12ifdef DEBUG
13HOSTCFLAGS += -DDEBUG=$(DEBUG)
14endif
15
16HOSTLOADLIBES_mpssd := -lpthread
17
18install:
19 install mpssd /usr/sbin/mpssd
20 install micctrl /usr/sbin/micctrl
21endif