[PATCH] kvm tools: Enable PPC64 to build static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux