diff mbox

kvm tools: Enable PPC64 to build static

Message ID 4F2E69DB.8030902@ozlabs.org
State New, archived
Headers show

Commit Message

Matt Evans Feb. 5, 2012, 11:36 a.m. UTC
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 mbox

Patch

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