powerpc/lib: Makefile, consolidate obj-y sections
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 22 Dec 2014 04:14:24 +0000 (15:14 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 28 Jan 2015 04:00:24 +0000 (15:00 +1100)
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/Makefile

index 5526156..31e1b34 100644 (file)
@@ -9,8 +9,9 @@ ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
 CFLAGS_REMOVE_code-patching.o = -pg
 CFLAGS_REMOVE_feature-fixups.o = -pg
 
-obj-y                  := string.o alloc.o \
-                          crtsavres.o ppc_ksyms.o
+obj-y += string.o alloc.o crtsavres.o ppc_ksyms.o code-patching.o \
+        feature-fixups.o
+
 obj-$(CONFIG_PPC32)    += div64.o copy_32.o
 
 obj-$(CONFIG_PPC64)    += copypage_64.o copyuser_64.o \
@@ -33,8 +34,6 @@ endif
 
 obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o
 
-obj-y                  += code-patching.o
-obj-y                  += feature-fixups.o
 obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o
 
 obj-$(CONFIG_ALTIVEC)  += xor_vmx.o