aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index dd8082522da3..e2ec4a91ccef 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -71,13 +71,11 @@ endif
71 71
72LDFLAGS_vmlinux := -Bstatic 72LDFLAGS_vmlinux := -Bstatic
73 73
74CPPFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH)
75AFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH)
76CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc 74CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc
77CFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) -ffixed-r2 -mmultiple 75CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
78KBUILD_CPPFLAGS += $(CPPFLAGS-y) 76KBUILD_CPPFLAGS += -Iarch/$(ARCH)
79KBUILD_AFLAGS += $(AFLAGS-y) 77KBUILD_AFLAGS += -Iarch/$(ARCH)
80KBUILD_CFLAGS += -msoft-float -pipe $(CFLAGS-y) 78KBUILD_CFLAGS += -msoft-float -pipe -Iarch/$(ARCH) $(CFLAGS-y)
81CPP = $(CC) -E $(KBUILD_CFLAGS) 79CPP = $(CC) -E $(KBUILD_CFLAGS)
82 80
83CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ 81CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__