Skip to contentSkip to conversation

Include private Xen headers in stubdom libxc build

PATCH New Ian Jackson 1 participant 1 message Aug 10, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include private Xen headers in stubdom libxc build

The headers libelf.h and elfstructs.h were removed from xen/include/public in 19011:7df072566b8c. But this broke the stubdom build because parts of libxc depend on them. This patch adds $(XEN_ROOT)/xen/include/xen to the stubdom -I path.

stubdom/Makefile +1 -0
diff -r db1890f07661 stubdom/Makefile
@@ -72,6 +72,7 @@ TARGET_CPPFLAGS += -isystem $(CURDIR)/lw
 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include
 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include/ipv4
 TARGET_CPPFLAGS += -I$(CURDIR)/include
+TARGET_CPPFLAGS += -I$(XEN_ROOT)/xen/include
 
 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel