[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] test_x86_emulate: Get public Xen headers via tools/include.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1321457335 0
# Node ID 6316cd1183f8752d72ea2f822bdd92b4a0137ff8
# Parent  753b21aa4087c207286f49e1dba0a74c48b5477b
test_x86_emulate: Get public Xen headers via tools/include.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 753b21aa4087 -r 6316cd1183f8 tools/tests/x86_emulator/Makefile
--- a/tools/tests/x86_emulator/Makefile Wed Nov 16 15:20:25 2011 +0000
+++ b/tools/tests/x86_emulator/Makefile Wed Nov 16 15:28:55 2011 +0000
@@ -37,8 +37,10 @@
 x86_emulate:
        [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate .
 
+HOSTCFLAGS += $(CFLAGS_xeninclude)
+
 x86_emulate.o: x86_emulate.c x86_emulate
-       $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
+       $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
 
 test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate
-       $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
+       $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
diff -r 753b21aa4087 -r 6316cd1183f8 
tools/tests/x86_emulator/test_x86_emulator.c
--- a/tools/tests/x86_emulator/test_x86_emulator.c      Wed Nov 16 15:20:25 
2011 +0000
+++ b/tools/tests/x86_emulator/test_x86_emulator.c      Wed Nov 16 15:28:55 
2011 +0000
@@ -2,7 +2,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <stdint.h>
-#include <public/xen.h>
+#include <xen/xen.h>
 #include <sys/mman.h>
 
 #include "x86_emulate/x86_emulate.h"
diff -r 753b21aa4087 -r 6316cd1183f8 tools/tests/x86_emulator/x86_emulate.c
--- a/tools/tests/x86_emulator/x86_emulate.c    Wed Nov 16 15:20:25 2011 +0000
+++ b/tools/tests/x86_emulator/x86_emulate.c    Wed Nov 16 15:28:55 2011 +0000
@@ -1,7 +1,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <string.h>
-#include <public/xen.h>
+#include <xen/xen.h>
 
 #include "x86_emulate/x86_emulate.h"
 #include "x86_emulate/x86_emulate.c"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.