From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Evans Subject: [PATCH] kvm tools: Enable PPC64 to build static Date: Sun, 05 Feb 2012 22:36:59 +1100 Message-ID: <4F2E69DB.8030902@ozlabs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Pekka Enberg To: KVM list , "kvm-ppc@vger.kernel.org" Return-path: Received: from ozlabs.org ([203.10.76.45]:34228 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158Ab2BELhH (ORCPT ); Sun, 5 Feb 2012 06:37:07 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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 -- 1.7.0.4