Skip to content

Commit

Permalink
Documentation: update include path for mpssd
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pefoley2 authored and Jiri Kosina committed Oct 3, 2014
1 parent b2dd83b commit 7b34577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/mic/mpssd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mpssd-objs := mpssd.o sysfs.o
# Tell kbuild to always build the programs
always := $(hostprogs-y)

HOSTCFLAGS_mpssd.o += -I$(objtree)/usr/include -I$(srctree)/tools/include
HOSTCFLAGS += -I$(objtree)/usr/include -I$(srctree)/tools/include

ifdef DEBUG
HOSTCFLAGS += -DDEBUG=$(DEBUG)
Expand Down

0 comments on commit 7b34577

Please sign in to comment.