WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] test_x86_emulate: Get public Xen headers

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] test_x86_emulate: Get public Xen headers via tools/include.
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Thu, 17 Nov 2011 00:33:43 +0000
Delivery-date: Wed, 16 Nov 2011 16:34:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] test_x86_emulate: Get public Xen headers via tools/include., Xen patchbot-unstable <=