# # Makefile for ppc-specific library files.. # subdir-ccflags-$([31mCONFIG_PPC_WERROR[0m) := -Werror ccflags-$([31mCONFIG_PPC64[0m) := $(NO_MINIMAL_TOC) CFLAGS_REMOVE_code-patching.o = $(CC_FLAGS_FTRACE) CFLAGS_REMOVE_feature-fixups.o = $(CC_FLAGS_FTRACE) obj-y += string.o alloc.o crtsavres.o code-patching.o \ feature-fixups.o obj-$([31mCONFIG_PPC32[0m) += div64.o copy_32.o obj64-y += copypage_64.o copyuser_64.o usercopy_64.o mem_64.o hweight_64.o \ copyuser_power7.o string_64.o copypage_power7.o memcpy_power7.o \ memcpy_64.o memcmp_64.o obj64-$([31mCONFIG_SMP[0m) += locks.o obj64-$([31mCONFIG_ALTIVEC[0m) += vmx-helper.o ifeq ($([31mCONFIG_GENERIC_CSUM[0m),) obj-y += checksum_$(BITS).o checksum_wrappers.o endif obj-$([31mCONFIG_PPC_EMULATE_SSTEP[0m) += sstep.o ldstfp.o obj-$([31mCONFIG_PPC_LIB_RHEAP[0m) += rheap.o obj-$([31mCONFIG_FTR_FIXUP_SELFTEST[0m) += feature-fixups-test.o obj-$([31mCONFIG_ALTIVEC[0m) += xor_vmx.o CFLAGS_xor_vmx.o += -maltivec $(call cc-option,-mabi=altivec) obj-$([31mCONFIG_PPC64[0m) += $(obj64-y) |