diff mbox

tools: Fix build of QEMU with lib xendevicemodel support

Message ID 20170302112235.32403-1-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony PERARD March 2, 2017, 11:22 a.m. UTC
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 tools/Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wei Liu March 2, 2017, 11:32 a.m. UTC | #1
On Thu, Mar 02, 2017 at 11:22:35AM +0000, Anthony PERARD wrote:
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Acked + applied.
Paul Durrant March 2, 2017, 11:39 a.m. UTC | #2
> -----Original Message-----
> From: Anthony PERARD [mailto:anthony.perard@citrix.com]
> Sent: 02 March 2017 11:23
> To: xen-devel@lists.xenproject.org
> Cc: Paul Durrant <Paul.Durrant@citrix.com>; Anthony Perard
> <anthony.perard@citrix.com>; Ian Jackson <Ian.Jackson@citrix.com>; Wei
> Liu <wei.liu2@citrix.com>
> Subject: [PATCH] tools: Fix build of QEMU with lib xendevicemodel support
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

You beat me to it. I just found this when I blew away my installed tools.

Thanks for fixing.

  Paul

> ---
>  tools/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tools/Makefile b/tools/Makefile
> index 68633a413d..3e15463567 100644
> --- a/tools/Makefile
> +++ b/tools/Makefile
> @@ -269,6 +269,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
>  		-I$(XEN_ROOT)/tools/libs/evtchn/include \
>  		-I$(XEN_ROOT)/tools/libs/gnttab/include \
>  		-I$(XEN_ROOT)/tools/libs/foreignmemory/include \
> +		-I$(XEN_ROOT)/tools/libs/devicemodel/include \
>  		-I$(XEN_ROOT)/tools/libxc/include \
>  		-I$(XEN_ROOT)/tools/xenstore/include \
>  		-I$(XEN_ROOT)/tools/xenstore/compat/include \
> @@ -278,6 +279,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
>  		-L$(XEN_ROOT)/tools/libs/evtchn \
>  		-L$(XEN_ROOT)/tools/libs/gnttab \
>  		-L$(XEN_ROOT)/tools/libs/foreignmemory \
> +		-L$(XEN_ROOT)/tools/libs/devicemodel \
>  		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog \
>  		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/evtchn \
>  		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/gnttab \
> --
> Anthony PERARD
diff mbox

Patch

diff --git a/tools/Makefile b/tools/Makefile
index 68633a413d..3e15463567 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -269,6 +269,7 @@  subdir-all-qemu-xen-dir: qemu-xen-dir-find
 		-I$(XEN_ROOT)/tools/libs/evtchn/include \
 		-I$(XEN_ROOT)/tools/libs/gnttab/include \
 		-I$(XEN_ROOT)/tools/libs/foreignmemory/include \
+		-I$(XEN_ROOT)/tools/libs/devicemodel/include \
 		-I$(XEN_ROOT)/tools/libxc/include \
 		-I$(XEN_ROOT)/tools/xenstore/include \
 		-I$(XEN_ROOT)/tools/xenstore/compat/include \
@@ -278,6 +279,7 @@  subdir-all-qemu-xen-dir: qemu-xen-dir-find
 		-L$(XEN_ROOT)/tools/libs/evtchn \
 		-L$(XEN_ROOT)/tools/libs/gnttab \
 		-L$(XEN_ROOT)/tools/libs/foreignmemory \
+		-L$(XEN_ROOT)/tools/libs/devicemodel \
 		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/toollog \
 		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/evtchn \
 		-Wl,-rpath-link=$(XEN_ROOT)/tools/libs/gnttab \