diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-09-25 10:21:40 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-09-25 10:21:40 +0100 |
commit | 876bb8d63988abd670aa94b786e7d50779683b3b (patch) | |
tree | 5c70c0b27eca528129c7539f57e0be7edacb7b45 /tools/misc/Makefile | |
parent | 391c70529c984140e767ab3f55b8728046e710e6 (diff) | |
download | xen-876bb8d63988abd670aa94b786e7d50779683b3b.tar.gz xen-876bb8d63988abd670aa94b786e7d50779683b3b.tar.bz2 xen-876bb8d63988abd670aa94b786e7d50779683b3b.zip |
x86: Add xenpm utility to list CPU power info.
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/misc/Makefile')
-rw-r--r-- | tools/misc/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile index 04960ff101..97cec2e19a 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -11,15 +11,20 @@ CFLAGS += $(INCLUDES) HDRS = $(wildcard *.h) TARGETS-y := xenperf -TARGETS-$(CONFIG_X86) += xen-detect +TARGETS-$(CONFIG_X86) += xen-detect xenpm TARGETS := $(TARGETS-y) SUBDIRS-$(CONFIG_LOMOUNT) += lomount SUBDIRS-$(CONFIG_MINITERM) += miniterm SUBDIRS := $(SUBDIRS-y) -INSTALL_BIN = $(TARGETS) xencons -INSTALL_SBIN = netfix xm xen-bugtool xen-python-path xend xenperf xsview +INSTALL_BIN-y := xencons +INSTALL_BIN-$(CONFIG_X86) += xen-detect +INSTALL_BIN := $(INSTALL_BIN-y) + +INSTALL_SBIN-y := netfix xm xen-bugtool xen-python-path xend xenperf xsview +INSTALL_SBIN-$(CONFIG_X86) += xenpm +INSTALL_SBIN := $(INSTALL_SBIN-y) DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path) PYTHON_PATH ?= $(DEFAULT_PYTHON_PATH) @@ -49,5 +54,5 @@ clean: %.o: %.c $(HDRS) Makefile $(CC) -c $(CFLAGS) -o $@ $< -xenperf: %: %.o Makefile +xenperf xenpm: %: %.o Makefile $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDFLAGS_libxenctrl) |