mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
tools: Compile xentop only if curses are available.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
1 parent
bef098a19f
commit
b5b593108f
1 file changed
+2
@@ -6,8 +6,10 @@ 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
|
||||
|
||||
|
||||