Skip to content

tools changes to honor --prefix=

Olaf Hering xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 17 repliesIn review
  2. v112 patches 14 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Config.mk: move directory list into BUILD_MAKE_VARSConfig.mk+7 -60 replies
2/13Config.mk: replace dependency to genpath with actual targetConfig.mk stubdom/Makefile tools/hotplug/common/Makefile +2 more+16 -1511 replies
3/13Config.mk: add new macro buildmakevars2headerConfig.mk+11 -01 reply
4/13tools/libxl: use buildmakevars2header to create _paths.htools/libxl/Makefile+1 -60 replies
5/13tools/libxc: provide variable paths to libxc.gitignore tools/libxc/Makefile tools/libxc/xc_private.h+11 -00 replies
6/13tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILEtools/libxc/xc_suspend.c+1 -10 replies
7/13tools/pygrub: store kernels in /var/run/xen/pygrubtools/pygrub/src/pygrub+8 -11 reply
8/13tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path.gitignore tools/hotplug/Linux/Makefile tools/hotplug/Linux/init.d/xen-watchdog.in +6 more+57 -192 replies
9/13tools/hotplug: create XEN_RUN_DIR at runtimetools/hotplug/Linux/init.d/xencommons.in+1 -10 replies
10/13tools/hotplug: create XEN_LOCK_DIR at runtimetools/hotplug/Linux/init.d/xencommons.in+1 -00 replies
11/13tools/hotplug: use XEN_LOCK_DIR instead of hardcoded pathtools/hotplug/Linux/xendomains.in+1 -61 reply
12/13tools/examples: remove obsolete install targetstools/examples/Makefile+1 -200 replies
13/13remove obsolete SUBSYS_DIR variableConfig.mk docs/misc/distro_mapping.txt+0 -21 reply

Reviews trailers per patch

10 of 13 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/13A-b
2/13
3/13
4/13A-b
5/13A-b
6/13A-b
7/13A-b
8/13
9/13A-b
10/13A-b
11/13A-b
12/13A-b
13/13A-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 00/13 v2] tools changes to honor --prefix=

In my attempt to get a xen.rpm from 'make rpmball' which operates entirely below the configured --prefix= I came up with these changes.

This series contains also two unrelated cleanup changes at the end.

This is a resend of the same series with the comments incorporated:
http://lists.xenproject.org/archives/html/xen-devel/2014-04/msg03240.html

Huge CC list due to changes in Config.mk.

Olaf

Olaf Hering (13):
Config.mk: move directory list into BUILD_MAKE_VARS Config.mk: replace dependency to genpath with actual targe Config.mk: add new macro buildmakevars2header tools/libxl: use buildmakevars2header to create _paths.h tools/libxc: provide variable paths to libxc tools/libxc: use XEN_RUN_DIR for SUSPEND_LOCK_FILE tools/pygrub: store kernels in /var/run/xen/pygrub tools/hotplug: use XEN_SCRIPT_DIR instead of hardcoded path tools/hotplug: create XEN_RUN_DIR at runtime tools/hotplug: create XEN_LOCK_DIR at runtime tools/hotplug: use XEN_LOCK_DIR instead of hardcoded path tools/examples: remove obsolete install targets remove obsolete SUBSYS_DIR variable

 .gitignore                                         |  9 +++++
 Config.mk                                          | 30 +++++++++++-----
 docs/misc/distro_mapping.txt                       |  1 -
 stubdom/Makefile                                   | 16 ++++-----
 tools/examples/Makefile                            | 21 +-----------
 tools/hotplug/Linux/Makefile                       | 40 +++++++++++++++++++---
 .../Linux/init.d/{xen-watchdog => xen-watchdog.in} |  2 +-
 .../Linux/init.d/{xencommons => xencommons.in}     |  5 +--
 .../Linux/init.d/{xendomains => xendomains.in}     |  2 +-
 tools/hotplug/Linux/{vif-setup => vif-setup.in}    |  2 +-
 .../{xen-backend.rules => xen-backend.rules.in}    | 16 ++++-----
 ...-hotplug-common.sh => xen-hotplug-common.sh.in} |  2 +-
 tools/hotplug/Linux/{xendomains => xendomains.in}  |  9 ++---
 tools/hotplug/common/Makefile                      |  2 +-
 tools/libxc/Makefile                               |  9 +++++
 tools/libxc/xc_private.h                           |  1 +
 tools/libxc/xc_suspend.c                           |  2 +-
 tools/libxl/Makefile                               |  7 +---
 tools/pygrub/src/pygrub                            |  9 ++++-
 tools/python/Makefile                              |  2 +-
 20 files changed, 113 insertions(+), 74 deletions(-)
 rename tools/hotplug/Linux/init.d/{xen-watchdog => xen-watchdog.in} (97%)
 rename tools/hotplug/Linux/init.d/{xencommons => xencommons.in} (98%)
 rename tools/hotplug/Linux/init.d/{xendomains => xendomains.in} (97%)
 rename tools/hotplug/Linux/{vif-setup => vif-setup.in} (60%)
 rename tools/hotplug/Linux/{xen-backend.rules => xen-backend.rules.in} (60%)
 rename tools/hotplug/Linux/{xen-hotplug-common.sh => xen-hotplug-common.sh.in} (98%)
 rename tools/hotplug/Linux/{xendomains => xendomains.in} (98%)