public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 2] Enable other archs to build kvmtrace tool
@ 2008-06-12 16:17 Jerone Young
  2008-06-12 16:17 ` [PATCH 1 of 2] Fix building of kvmtrace tool for all archs Jerone Young
  2008-06-12 16:17 ` [PATCH 2 of 2] kvmtrace tool build by default for powerpc Jerone Young
  0 siblings, 2 replies; 3+ messages in thread
From: Jerone Young @ 2008-06-12 16:17 UTC (permalink / raw)
  To: kvm; +Cc: kvm-ppc

These patches fix up the build system in the /user dircectory so that other archs (besides x86) can build the kvm-trace tool.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

3 files changed, 3 insertions(+), 2 deletions(-)
user/Makefile              |    2 ++
user/config-powerpc.mak    |    2 +-
user/config-x86-common.mak |    1 -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1 of 2] Fix building of kvmtrace tool for all archs
  2008-06-12 16:17 [PATCH 0 of 2] Enable other archs to build kvmtrace tool Jerone Young
@ 2008-06-12 16:17 ` Jerone Young
  2008-06-12 16:17 ` [PATCH 2 of 2] kvmtrace tool build by default for powerpc Jerone Young
  1 sibling, 0 replies; 3+ messages in thread
From: Jerone Young @ 2008-06-12 16:17 UTC (permalink / raw)
  To: kvm; +Cc: kvm-ppc

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 <jyoung5@us.ibm.com>

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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2 of 2] kvmtrace tool build by default for powerpc
  2008-06-12 16:17 [PATCH 0 of 2] Enable other archs to build kvmtrace tool Jerone Young
  2008-06-12 16:17 ` [PATCH 1 of 2] Fix building of kvmtrace tool for all archs Jerone Young
@ 2008-06-12 16:17 ` Jerone Young
  1 sibling, 0 replies; 3+ messages in thread
From: Jerone Young @ 2008-06-12 16:17 UTC (permalink / raw)
  To: kvm; +Cc: kvm-ppc

1 file changed, 1 insertion(+), 1 deletion(-)
user/config-powerpc.mak |    2 +-


Patch adds kvmtrace to standard build in /user diretory for powerpc.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

diff --git a/user/config-powerpc.mak b/user/config-powerpc.mak
--- a/user/config-powerpc.mak
+++ b/user/config-powerpc.mak
@@ -18,7 +18,7 @@ testobjs := \
 
 tests := $(addprefix test/powerpc/, $(testobjs))
 
-all: kvmctl $(tests)
+all: kvmtrace kvmctl $(tests)
 
 kvmctl_objs = main-ppc.o iotable.o ../libkvm/libkvm.a
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-12 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 16:17 [PATCH 0 of 2] Enable other archs to build kvmtrace tool Jerone Young
2008-06-12 16:17 ` [PATCH 1 of 2] Fix building of kvmtrace tool for all archs Jerone Young
2008-06-12 16:17 ` [PATCH 2 of 2] kvmtrace tool build by default for powerpc Jerone Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox