* [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
@ 2018-04-26 17:41 Stewart Hildebrand
2018-04-26 17:43 ` Ian Jackson
2018-04-27 6:17 ` Juergen Gross
0 siblings, 2 replies; 6+ messages in thread
From: Stewart Hildebrand @ 2018-04-26 17:41 UTC (permalink / raw)
To: xen-devel; +Cc: Juergen Gross, Stefano Stabellini, Ian Jackson
A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the
case of cross-compiling. We don't want to completely override the
PKG_CONFIG_PATH, just add to it.
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
---
tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index ab7a01e..67977ad 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -232,7 +232,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
else \
enable_trace_backend='' ; \
fi ; \
- PKG_CONFIG_PATH=$(XEN_ROOT)/tools/pkg-config \
+ PKG_CONFIG_PATH=$(XEN_ROOT)/tools/pkg-config$${PKG_CONFIG_PATH:+:$${PKG_CONFIG_PATH}} \
$$source/configure --enable-xen --target-list=i386-softmmu \
$(QEMU_XEN_ENABLE_DEBUG) \
$$enable_trace_backend \
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
2018-04-26 17:41 [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu Stewart Hildebrand
@ 2018-04-26 17:43 ` Ian Jackson
2018-04-26 18:15 ` Stewart Hildebrand
2018-04-27 6:17 ` Juergen Gross
1 sibling, 1 reply; 6+ messages in thread
From: Ian Jackson @ 2018-04-26 17:43 UTC (permalink / raw)
To: Stewart Hildebrand; +Cc: Juergen Gross, Stefano Stabellini, xen-devel
Stewart Hildebrand writes ("[PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu"):
> A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the
> case of cross-compiling. We don't want to completely override the
> PKG_CONFIG_PATH, just add to it.
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This patch should be backported to all applicable trees.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
2018-04-26 17:43 ` Ian Jackson
@ 2018-04-26 18:15 ` Stewart Hildebrand
0 siblings, 0 replies; 6+ messages in thread
From: Stewart Hildebrand @ 2018-04-26 18:15 UTC (permalink / raw)
To: Ian Jackson; +Cc: Juergen Gross, Stefano Stabellini, xen-devel
> From: Ian Jackson
> Sent: Thursday, April 26, 2018 1:44 PM
> Subject: Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when
> configuring qemu
>
> Stewart Hildebrand writes ("[PATCH] tools: prepend to PKG_CONFIG_PATH
> when configuring qemu"):
> > A user may choose to set his/her own PKG_CONFIG_PATH, which is useful
> in the
> > case of cross-compiling. We don't want to completely override the
> > PKG_CONFIG_PATH, just add to it.
>
> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
>
> This patch should be backported to all applicable trees.
The patch appears to apply cleanly to staging-4.10, and applies to staging-4.9 with line offsets. I did a quick build test with the patch as-is applied to each of these branches, it appears to be valid (staging-4.9, staging-4.10, and staging). No need to apply it to any earlier trees, I don't think, since PKG_CONFIG_PATH wasn't being set in earlier trees.
Stew
>
> Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
2018-04-26 17:41 [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu Stewart Hildebrand
2018-04-26 17:43 ` Ian Jackson
@ 2018-04-27 6:17 ` Juergen Gross
2018-04-30 13:29 ` Ian Jackson
1 sibling, 1 reply; 6+ messages in thread
From: Juergen Gross @ 2018-04-27 6:17 UTC (permalink / raw)
To: Stewart Hildebrand, xen-devel; +Cc: Stefano Stabellini, Ian Jackson
On 26/04/18 19:41, Stewart Hildebrand wrote:
> A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the
> case of cross-compiling. We don't want to completely override the
> PKG_CONFIG_PATH, just add to it.
>
> Signed-off-by: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Juergen
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
2018-04-27 6:17 ` Juergen Gross
@ 2018-04-30 13:29 ` Ian Jackson
2018-05-22 16:08 ` Ian Jackson
0 siblings, 1 reply; 6+ messages in thread
From: Ian Jackson @ 2018-04-30 13:29 UTC (permalink / raw)
To: Juergen Gross; +Cc: Stewart Hildebrand, Stefano Stabellini, xen-devel
Juergen Gross writes ("Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu"):
> On 26/04/18 19:41, Stewart Hildebrand wrote:
> > A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the
> > case of cross-compiling. We don't want to completely override the
> > PKG_CONFIG_PATH, just add to it.
> >
> > Signed-off-by: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
>
> Release-acked-by: Juergen Gross <jgross@suse.com>
Thanks all. Applied and queued for backport.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu
2018-04-30 13:29 ` Ian Jackson
@ 2018-05-22 16:08 ` Ian Jackson
0 siblings, 0 replies; 6+ messages in thread
From: Ian Jackson @ 2018-05-22 16:08 UTC (permalink / raw)
To: Juergen Gross, Stewart Hildebrand, xen-devel, Stefano Stabellini
Ian Jackson writes ("Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu"):
> Juergen Gross writes ("Re: [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu"):
> > On 26/04/18 19:41, Stewart Hildebrand wrote:
> > > A user may choose to set his/her own PKG_CONFIG_PATH, which is useful in the
> > > case of cross-compiling. We don't want to completely override the
> > > PKG_CONFIG_PATH, just add to it.
> > >
> > > Signed-off-by: Stewart Hildebrand <stewart.hildebrand@dornerworks.com>
> >
> > Release-acked-by: Juergen Gross <jgross@suse.com>
>
> Thanks all. Applied and queued for backport.
I have applied this to staging-4.10 and staging-4.9. 4.8 and earlier
do not mess about with PKG_CONFIG_PATH so that's as far as it needs to
go.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-05-22 16:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26 17:41 [PATCH] tools: prepend to PKG_CONFIG_PATH when configuring qemu Stewart Hildebrand
2018-04-26 17:43 ` Ian Jackson
2018-04-26 18:15 ` Stewart Hildebrand
2018-04-27 6:17 ` Juergen Gross
2018-04-30 13:29 ` Ian Jackson
2018-05-22 16:08 ` Ian Jackson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.