From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: [PATCH 1 of 2] Fix building of kvmtrace tool for all archs Date: Thu, 12 Jun 2008 11:17:45 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-ppc@vger.kernel.org To: kvm@vger.kernel.org Return-path: Received: from e32.co.us.ibm.com ([32.97.110.150]:58181 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392AbYFLQTk (ORCPT ); Thu, 12 Jun 2008 12:19:40 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 2 files changed, 2 insertions(+), 1 deletion(-) user/Makefile | 2 ++ user/config-x86-common.mak | 1 - $(kvmtrace_objs) is defined in config-x86-common.mak. This needs to be moved to the common Makefile so everyone can build it. Also it is just one c file as opposed to multiple diffrering c files as with kvmctl. Signed-off-by: Jerone Young diff --git a/user/Makefile b/user/Makefile --- a/user/Makefile +++ b/user/Makefile @@ -33,6 +33,8 @@ autodepend-flags = -MMD -MF $(dir $*).$( LDFLAGS += -pthread -lrt +kvmtrace_objs= kvmtrace.o + kvmctl: $(kvmctl_objs) $(CC) $(LDFLAGS) $^ -o $@ diff --git a/user/config-x86-common.mak b/user/config-x86-common.mak --- a/user/config-x86-common.mak +++ b/user/config-x86-common.mak @@ -3,7 +3,6 @@ all: kvmctl kvmtrace test_cases all: kvmctl kvmtrace test_cases kvmctl_objs= main.o iotable.o ../libkvm/libkvm.a -kvmtrace_objs= kvmtrace.o balloon_ctl: balloon_ctl.o FLATLIBS = $(TEST_DIR)/libcflat.a $(libgcc)