mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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 <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Jiri Kosina <[email protected]>
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
|