Skip to content

tools: provide pkg-config files for all libs

Juergen Gross xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest17 patches 8 repliesIn review
  2. v116 patches 3 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17tools: fix typo in tools/Rules.mktools/Rules.mk+2 -20 replies
2/17tools: add missing library flag definitionstools/Rules.mk+15 -120 replies
3/17tools, stubdom: set PKG_CONFIG_DIR in main Makefilesstubdom/Makefile tools/Makefile tools/libxc/Makefile+4 -10 replies
4/17tools: install PKG_INSTALLDIR in tools/Makefiletools/Makefile tools/libxc/Makefile tools/libxl/Makefile+4 -31 reply
5/17tools: add support for additional items in .pc files for local buildstools/Rules.mk tools/libxc/xencontrol.pc.in+11 -30 replies
6/17tools: provide pkg-config file for libxentoollog.gitignore tools/libs/toollog/Makefile tools/libs/toollog/xentoollog.pc.in+29 -10 replies
7/17tools: provide pkg-config file for libxenevtchn.gitignore tools/libs/evtchn/Makefile tools/libs/evtchn/xenevtchn.pc.in+31 -10 replies
8/17tools: provide pkg-config file for libxengnttab.gitignore tools/libs/gnttab/Makefile tools/libs/gnttab/xengntshr.pc.in +1 more+41 -17 replies
9/17tools: provide pkg-config file for libxencall.gitignore tools/libs/call/Makefile tools/libs/call/xencall.pc.in +2 more+32 -30 replies
10/17tools: provide pkg-config file for libxenforeignmemory.gitignore tools/libs/foreignmemory/Makefile tools/libs/foreignmemory/xenforeignmemory.pc.in+31 -10 replies
11/17tools: provide pkg-config file for libxendevicemodel.gitignore tools/libs/devicemodel/Makefile tools/libs/devicemodel/xendevicemodel.pc.in+31 -10 replies
12/17tools: provide pkg-config file for libxenguest, update the one for libxenctrltools/libxc/Makefile tools/libxc/xencontrol.pc.in tools/libxc/xenguest.pc.in+16 -30 replies
13/17tools: provide pkg-config file for libxenstore.gitignore tools/xenstore/Makefile tools/xenstore/xenstore.pc.in+32 -00 replies
14/17tools: provide pkg-config file for libxenstat.gitignore tools/xenstat/libxenstat/Makefile tools/xenstat/libxenstat/xenstat.pc.in+30 -10 replies
15/17tools: provide pkg-config file for libxenvchan.gitignore tools/libvchan/Makefile tools/libvchan/xenvchan.pc.in+31 -10 replies
16/17tools: provide pkg-config file for libxenblktapctl.gitignore tools/blktap2/control/Makefile tools/blktap2/control/xenblktapctl.pc.in+31 -20 replies
17/17tools: adapt xenlight.pc and xlutil.pc to new pkg-config scheme.gitignore tools/configure tools/configure.ac +5 more+43 -310 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchWei Liu
1/17A-b
2/17A-b
3/17A-b
4/17A-b
5/17A-b
6/17A-b
7/17A-b
8/17A-b
9/17A-b
10/17A-b
11/17A-b
12/17A-b
13/17A-b
14/17A-b
15/17A-b
16/17A-b
17/17A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/17] tools: provide pkg-config files for all libs

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
Signature · 7 lines
2.10.2


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel