Skip to contentSkip to conversation

kvm tools: Enable PPC64 to build static

PATCH New Matt Evans 1 participant 1 message Feb 5, 2012 KVM

lore
Share & tools
lore

Matt Evans

author
#0 lore raw

PATCH 1/1 kvm tools: Enable PPC64 to build static

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.

---

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(-)
tools/kvm/Makefile +1 -1
index 4dc2522..cfa5547 100644
@@ -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
Signature · 1 line
1.7.0.4