From: Matt Evans <matt@ozlabs.org>
To: KVM list <kvm@vger.kernel.org>,
"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Subject: [PATCH] kvm tools: Enable PPC64 to build static
Date: Sun, 05 Feb 2012 11:36:59 +0000 [thread overview]
Message-ID: <4F2E69DB.8030902@ozlabs.org> (raw)
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 --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
WARNING: multiple messages have this Message-ID (diff)
From: Matt Evans <matt@ozlabs.org>
To: KVM list <kvm@vger.kernel.org>,
"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Subject: [PATCH] kvm tools: Enable PPC64 to build static
Date: Sun, 05 Feb 2012 22:36:59 +1100 [thread overview]
Message-ID: <4F2E69DB.8030902@ozlabs.org> (raw)
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 --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
next reply other threads:[~2012-02-05 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-05 11:36 Matt Evans [this message]
2012-02-05 11:36 ` [PATCH] kvm tools: Enable PPC64 to build static Matt Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F2E69DB.8030902@ozlabs.org \
--to=matt@ozlabs.org \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=penberg@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.