[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] xenpm: Don't build outside of x86



commit 684897241447de6df28e6b59961418ae4cf05e32
Author:     Teddy Astie <teddy.astie@xxxxxxxxxx>
AuthorDate: Mon Jan 12 13:04:08 2026 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Jan 12 13:04:08 2026 +0100

    xenpm: Don't build outside of x86
    
    xenpm doesn't provide any interesting usable features outside of x86,
    skip building it if we are not x86.
    
    Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
    Signed-off-by: Teddy Astie <teddy.astie@xxxxxxxxxx>
    Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 CHANGELOG.md        | 3 +++
 tools/misc/Makefile | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1663f6878e..7de34f64d1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,9 @@ The format is based on [Keep a 
Changelog](https://keepachangelog.com/en/1.0.0/)
      prior to the version 1.0 release, and there has been no development since
      before then in Xen.
 
+ - Removed xenpm tool on non-x86 platforms as it doesn't actually provide
+   anything useful outside of x86.
+
 ## 
[4.21.0](https://xenbits.xenproject.org/gitweb/?p=xen.git;a=shortlog;h=RELEASE-4.21.0)
 - 2025-11-19
 
 ### Changed
diff --git a/tools/misc/Makefile b/tools/misc/Makefile
index c26e544e83..6ee783f43e 100644
--- a/tools/misc/Makefile
+++ b/tools/misc/Makefile
@@ -29,7 +29,7 @@ INSTALL_SBIN                   += xencov
 INSTALL_SBIN                   += xenhypfs
 INSTALL_SBIN                   += xenlockprof
 INSTALL_SBIN                   += xenperf
-INSTALL_SBIN                   += xenpm
+INSTALL_SBIN-$(CONFIG_X86)     += xenpm
 INSTALL_SBIN                   += xenwatchdogd
 INSTALL_SBIN                   += xen-access
 INSTALL_SBIN                   += xen-livepatch
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.