[PATCH] powerpc/le: Fix module build error

Anton Blanchard anton at samba.org
Tue Apr 8 17:20:22 EST 2014


I made a cleanup suggestion on 27143b9a0 (powerpc/le: Avoid creatng
R_PPC64_TOCSAVE relocations for modules) that had a stupid typo. Fix
it.

Signed-off-by: Anton Blanchard <anton at samba.org>
---

diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index a9f814a..4c0cedf 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -74,7 +74,7 @@ override CROSS32AS += -mlittle-endian
 LDEMULATION	:= lppc
 GNUTARGET	:= powerpcle
 MULTIPLEWORD	:= -mno-multiple
-KBUILD_CFLAGS_MODULE += $(call cc-option-yn,-mno-save-toc-indirect)
+KBUILD_CFLAGS_MODULE += $(call cc-option,-mno-save-toc-indirect)
 else
 ifeq ($(call cc-option-yn,-mbig-endian),y)
 override CC	+= -mbig-endian


More information about the Linuxppc-dev mailing list