From patchwork Sun Feb 5 11:36:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: kvm tools: Enable PPC64 to build static Date: Sun, 05 Feb 2012 01:36:59 -0000 From: Matt Evans X-Patchwork-Id: 139626 Message-Id: <4F2E69DB.8030902@ozlabs.org> 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 --- 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