tools: Allow cross-compilation of xentop
cover tools: Allow cross-compilation of xentop
From: "Edgar E. Iglesias" <[email protected]>
We usually cross-compile the Xen tools for ARM in Yocto, including support for xentop.
These patches remove two blockers in the Makefiles for cross-compiled xentop.
Cheers,
Edgar
Edgar E. Iglesias (2):
tools/xenstat: Remove redundant check for curses.h tools/xenstat: Don't disable xentop when cross-compiling
tools/xenstat/Makefile | 6 ------ 1 file changed, 6 deletions(-)
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 1/2 tools/xenstat: Remove redundant check for curses.h
From: "Edgar E. Iglesias" <[email protected]>
This check for curses.h does not consider cross-compilation. It only checks host paths.
Luckily, commit 65da4913214120ddc95bd846cb3649a29f87146a introduced proper configure checks for ncurses so we can remove the redundant check in the Makefile.
--- tools/xenstat/Makefile | 2 -- 1 file changed, 2 deletions(-)
tools/xenstat/Makefile +0 -2
@@ -6,10 +6,8 @@ SUBDIRS += libxenstat # This doesn't cross-compile (cross-compile environments rarely have curses) ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) -ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h) SUBDIRS += xentop endif -endif .PHONY: all install clean distclean
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 2/2 tools/xenstat: Don't disable xentop when cross-compiling
In reply to Edgar E. IglesiasFrom: "Edgar E. Iglesias" <[email protected]>
This partially reverts 16504669c5cbb8b195d20412aadc838da5c428f7 since xentop cross-compiles fine.
--- tools/xenstat/Makefile | 4 ---- 1 file changed, 4 deletions(-)
tools/xenstat/Makefile +0 -4
@@ -3,11 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk SUBDIRS := SUBDIRS += libxenstat - -# This doesn't cross-compile (cross-compile environments rarely have curses) -ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH)) SUBDIRS += xentop -endif .PHONY: all install clean distclean
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 8 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
We usually cross-compile the Xen tools for ARM in Yocto, including support for xentop.
These patches remove two blockers in the Makefiles for cross-compiled xentop.
Quoted 6 lines
Cheers,
EdgarEdgar E. Iglesias (2):
tools/xenstat: Remove redundant check forcurses.htools/xenstat: Don't disable xentop when cross-compiling
Quoted 7 lines
tools/xenstat/Makefile | 6 ------ 1 file changed, 6 deletions(-)Signature · 1 line
2.7.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel