Skip to contentSkip to conversation

tools/mceinject: Fix build after 31d2d1e08a

PATCH New Andrew Cooper 1 participant 1 message Oct 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/mceinject: Fix build after 31d2d1e08a

xen-mceinj is another utility which incorrecly makes use of xg_private.h Fix up its include path.

While fixing this Makefile, remove some trailing whitespace.

CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Stefano Stabellini <[email protected]>
---
 tools/tests/mce-test/tools/Makefile |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
tools/tests/mce-test/tools/Makefile +4 -2
index 5ee001f..aba7177 100644
@@ -3,9 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk
 
 CFLAGS += -Werror
 CFLAGS += $(CFLAGS_libxenctrl)
+# xen-mceinj.c incorrectly use libxc internals
+CFLAGS += -I$(XEN_ROOT)/tools/libxc
 CFLAGS += $(CFLAGS_libxenguest)
-CFLAGS += $(CFLAGS_libxenstore) 
-CFLAGS += $(CFLAGS_xeninclude) 
+CFLAGS += $(CFLAGS_libxenstore)
+CFLAGS += $(CFLAGS_xeninclude)
 
 .PHONY: all
 all: xen-mceinj
Signature · 1 line
1.7.10.4