mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 03:05:29 +07:00
7b345771ba
sysfs.c includes mpssd.h which includes virtio_ids.h. sysfs.c doesn't have the proper include flags set to use the latest headers, so this causes a build error if the system headers are too old. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Cc: rdunlap@infradead.org Cc: linux-doc@vger.kernel.org Cc: sudeep.dutt@intel.com Cc: nikhil.rao@intel.com Cc: ashutosh.dixit@intel.com Cc: akpm@linux-foundation.org Cc: gregkh@linuxfoundation.org Cc: harshavardhan.r.kharche@intel.com Cc: caz.yokoyama@intel.com Cc: dasaratharaman.chandramouli@intel.com Cc: jkosina@suse.cz Signed-off-by: Jiri Kosina <jkosina@suse.cz>
20 lines
376 B
Makefile
20 lines
376 B
Makefile
# 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
|