xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: xen-devel@lists.xenproject.org
Cc: Juergen Gross <jgross@suse.com>,
	wei.liu2@citrix.com, ian.jackson@eu.citrix.com
Subject: [PATCH v2 00/17] tools: provide pkg-config files for all libs
Date: Tue, 14 Mar 2017 14:31:07 +0100	[thread overview]
Message-ID: <20170314133124.942-1-jgross@suse.com> (raw)

To help consumers of the Xen libraries (e.g. qemu) to use correct
flags when building provide pkg-config files for all libraries of
Xen.

The first 2 patches correct some flags used by the Xen internal build
system. The build process wasn't producing wrong results, but this was
just pure luck as no flags were missing when building some libraries,
but they came partially from other variables then they were meant to.

Patches 3 and 4 set the stage for generating the pkg-config files.

The rest of the patches are one for each directory where at least
one library is being built. Especially patch 16 is modifying the way
the already existing pkg-config files for libxenlight and libxlutil
are being built to fit into the new scheme.

Even if not necessary right now I have added stubdom support for all
libraries, not only the ones which are really used in stubdom
environment.

Changes in V2:
- added patch 4 (Wei Liu)
- patch 14 (was 13): correct position of .gitignore entry (Wei Liu)

Juergen Gross (17):
  tools: fix typo in tools/Rules.mk
  tools: add missing library flag definitions
  tools,stubdom: set PKG_CONFIG_DIR in main Makefiles
  tools: install PKG_INSTALLDIR in tools/Makefile
  tools: add support for additional items in .pc files for local builds
  tools: provide pkg-config file for libxentoollog
  tools: provide pkg-config file for libxenevtchn
  tools: provide pkg-config file for libxengnttab
  tools: provide pkg-config file for libxencall
  tools: provide pkg-config file for libxenforeignmemory
  tools: provide pkg-config file for libxendevicemodel
  tools: provide pkg-config file for libxenguest, update the one for
    libxenctrl
  tools: provide pkg-config file for libxenstore
  tools: provide pkg-config file for libxenstat
  tools: provide pkg-config file for libxenvchan
  tools: provide pkg-config file for libxenblktapctl
  tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme

 .gitignore                                      | 12 ++++++-
 stubdom/Makefile                                |  1 +
 tools/Makefile                                  |  8 ++++-
 tools/Rules.mk                                  | 43 ++++++++++++++++---------
 tools/blktap2/control/Makefile                  | 23 +++++++++++--
 tools/blktap2/control/xenblktapctl.pc.in        |  9 ++++++
 tools/configure                                 |  4 +--
 tools/configure.ac                              |  2 --
 tools/libs/call/Makefile                        | 21 +++++++++++-
 tools/libs/call/xencall.pc.in                   | 10 ++++++
 tools/libs/devicemodel/Makefile                 | 21 +++++++++++-
 tools/libs/devicemodel/xendevicemodel.pc.in     | 10 ++++++
 tools/libs/evtchn/Makefile                      | 20 +++++++++++-
 tools/libs/evtchn/xenevtchn.pc.in               | 10 ++++++
 tools/libs/foreignmemory/Makefile               | 21 +++++++++++-
 tools/libs/foreignmemory/xenforeignmemory.pc.in | 10 ++++++
 tools/libs/gnttab/Makefile                      | 22 ++++++++++++-
 tools/libs/gnttab/xengntshr.pc.in               |  8 +++++
 tools/libs/gnttab/xengnttab.pc.in               | 10 ++++++
 tools/libs/toollog/Makefile                     | 20 +++++++++++-
 tools/libs/toollog/xentoollog.pc.in             |  9 ++++++
 tools/libvchan/Makefile                         | 21 +++++++++++-
 tools/libvchan/xenvchan.pc.in                   | 10 ++++++
 tools/libxc/Makefile                            |  8 ++---
 tools/libxc/xencontrol.pc.in                    |  5 +--
 tools/libxc/xenguest.pc.in                      | 10 ++++++
 tools/libxl/Makefile                            | 26 +++++++++++----
 tools/libxl/xenlight.pc.in                      | 12 +++++++
 tools/libxl/xenlight.pc.in.in                   | 11 -------
 tools/libxl/xlutil.pc.in                        | 10 ++++++
 tools/libxl/xlutil.pc.in.in                     |  9 ------
 tools/xenstat/libxenstat/Makefile               | 20 +++++++++++-
 tools/xenstat/libxenstat/xenstat.pc.in          | 10 ++++++
 tools/xenstore/Makefile                         | 21 ++++++++++++
 tools/xenstore/xenstore.pc.in                   | 10 ++++++
 35 files changed, 412 insertions(+), 65 deletions(-)
 create mode 100644 tools/blktap2/control/xenblktapctl.pc.in
 create mode 100644 tools/libs/call/xencall.pc.in
 create mode 100644 tools/libs/devicemodel/xendevicemodel.pc.in
 create mode 100644 tools/libs/evtchn/xenevtchn.pc.in
 create mode 100644 tools/libs/foreignmemory/xenforeignmemory.pc.in
 create mode 100644 tools/libs/gnttab/xengntshr.pc.in
 create mode 100644 tools/libs/gnttab/xengnttab.pc.in
 create mode 100644 tools/libs/toollog/xentoollog.pc.in
 create mode 100644 tools/libvchan/xenvchan.pc.in
 create mode 100644 tools/libxc/xenguest.pc.in
 create mode 100644 tools/libxl/xenlight.pc.in
 delete mode 100644 tools/libxl/xenlight.pc.in.in
 create mode 100644 tools/libxl/xlutil.pc.in
 delete mode 100644 tools/libxl/xlutil.pc.in.in
 create mode 100644 tools/xenstat/libxenstat/xenstat.pc.in
 create mode 100644 tools/xenstore/xenstore.pc.in

-- 
2.10.2


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-03-14 13:31 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14 13:31 Juergen Gross [this message]
2017-03-14 13:31 ` [PATCH v2 01/17] tools: fix typo in tools/Rules.mk Juergen Gross
2017-03-14 13:31 ` [PATCH v2 02/17] tools: add missing library flag definitions Juergen Gross
2017-03-14 13:31 ` [PATCH v2 03/17] tools, stubdom: set PKG_CONFIG_DIR in main Makefiles Juergen Gross
2017-03-14 13:31 ` [PATCH v2 04/17] tools: install PKG_INSTALLDIR in tools/Makefile Juergen Gross
2017-03-14 14:11   ` Wei Liu
2017-03-14 13:31 ` [PATCH v2 05/17] tools: add support for additional items in .pc files for local builds Juergen Gross
2017-03-14 13:31 ` [PATCH v2 06/17] tools: provide pkg-config file for libxentoollog Juergen Gross
2017-03-14 13:31 ` [PATCH v2 07/17] tools: provide pkg-config file for libxenevtchn Juergen Gross
2017-03-14 13:31 ` [PATCH v2 08/17] tools: provide pkg-config file for libxengnttab Juergen Gross
2017-03-14 20:06   ` Andrew Cooper
2017-03-15  6:07     ` Juergen Gross
2017-03-15 10:33       ` Andrew Cooper
2017-03-15 10:17     ` Wei Liu
2017-03-15 10:26       ` Juergen Gross
2017-03-15 10:29         ` Wei Liu
2017-03-15 10:32         ` Andrew Cooper
2017-03-14 13:31 ` [PATCH v2 09/17] tools: provide pkg-config file for libxencall Juergen Gross
2017-03-14 13:31 ` [PATCH v2 10/17] tools: provide pkg-config file for libxenforeignmemory Juergen Gross
2017-03-14 13:31 ` [PATCH v2 11/17] tools: provide pkg-config file for libxendevicemodel Juergen Gross
2017-03-14 13:31 ` [PATCH v2 12/17] tools: provide pkg-config file for libxenguest, update the one for libxenctrl Juergen Gross
2017-03-14 13:31 ` [PATCH v2 13/17] tools: provide pkg-config file for libxenstore Juergen Gross
2017-03-14 13:31 ` [PATCH v2 14/17] tools: provide pkg-config file for libxenstat Juergen Gross
2017-03-14 13:31 ` [PATCH v2 15/17] tools: provide pkg-config file for libxenvchan Juergen Gross
2017-03-14 13:31 ` [PATCH v2 16/17] tools: provide pkg-config file for libxenblktapctl Juergen Gross
2017-03-14 13:31 ` [PATCH v2 17/17] tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170314133124.942-1-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).