From: Matt Evans Date: Sun, 5 Feb 2012 11:36:59 +0000 (+1100) Subject: kvm tools: Enable PPC64 to build static X-Git-Tag: next-20120402~5^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e031e124331ea7f7f0cf91f23d9f1291e7f91944;p=karo-tx-linux.git kvm tools: Enable PPC64 to build static 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 Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 4dc2522c200e..cfa554736764 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