mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/xenstat: Remove redundant check for curses.h
This check for curses.h does not consider cross-compilation.
It only checks host paths.
Luckily, commit 65da491321
introduced proper configure checks for ncurses so we can
remove the redundant check in the Makefile.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
eaddbb122e
commit
119d7157ca
1 file changed
-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
|
||||
|
||||
|
||||