* [PATCH] kvm tools: Enable PPC64 to build static
@ 2012-02-05 11:36 Matt Evans
0 siblings, 0 replies; only message in thread
From: Matt Evans @ 2012-02-05 11:36 UTC (permalink / raw)
To: KVM list, kvm-ppc@vger.kernel.org; +Cc: Pekka Enberg
By "enable", I mean "fix"; the re-jigged commit 7ef85e8b builds libfdt
using OBJS rather than OTHEROBJS hence ignores the relaxed CFLAGS.
This commit builds it via OTHEROBJS.
Signed-off-by: Matt Evans <matt@ozlabs.org>
---
Pekka, not quite sure how this slipped through as I was building static
in testing... hrm. The orthogonal 'build static' patch broke
the PPC64 stuff. Simple fix tho.
tools/kvm/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
index 4dc2522..cfa5547 100644
--- a/tools/kvm/Makefile
+++ b/tools/kvm/Makefile
@@ -142,7 +142,7 @@ ifeq ($(uname_M), ppc64)
# We use libfdt, but it's sometimes not packaged 64bit. It's small too,
# so just build it in:
CFLAGS += -I../../scripts/dtc/libfdt
- OBJS += $(LIBFDT_OBJS)
+ OTHEROBJS += $(LIBFDT_OBJS)
ARCH_INCLUDE := powerpc/include
CFLAGS += -m64
endif
--
1.7.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-05 11:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-05 11:36 [PATCH] kvm tools: Enable PPC64 to build static Matt Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox