]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Enable PPC64 to build static
authorMatt Evans <matt@ozlabs.org>
Sun, 5 Feb 2012 11:36:59 +0000 (22:36 +1100)
committerPekka Enberg <penberg@kernel.org>
Mon, 6 Feb 2012 10:17:54 +0000 (12:17 +0200)
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>
tools/kvm/Makefile

index 4dc2522c200e159d805f04db9c5990f08a1610b0..cfa554736764255dbbc3ab36137721c03161a4ca 100644 (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