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 <matt@ozlabs.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
Matt Evans
2012-02-05 22:36:59 +11:00
committed by Will Deacon
parent d648dbf5be
commit dd7ce07b4c
+1 -1
View File
@@ -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