diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 10 |
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 | ||
72 | LDFLAGS_vmlinux := -Bstatic | 72 | LDFLAGS_vmlinux := -Bstatic |
73 | 73 | ||
74 | CPPFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) | ||
75 | AFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) | ||
76 | CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc | 74 | CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=none -mcall-aixdesc |
77 | CFLAGS-$(CONFIG_PPC32) := -Iarch/$(ARCH) -ffixed-r2 -mmultiple | 75 | CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple |
78 | KBUILD_CPPFLAGS += $(CPPFLAGS-y) | 76 | KBUILD_CPPFLAGS += -Iarch/$(ARCH) |
79 | KBUILD_AFLAGS += $(AFLAGS-y) | 77 | KBUILD_AFLAGS += -Iarch/$(ARCH) |
80 | KBUILD_CFLAGS += -msoft-float -pipe $(CFLAGS-y) | 78 | KBUILD_CFLAGS += -msoft-float -pipe -Iarch/$(ARCH) $(CFLAGS-y) |
81 | CPP = $(CC) -E $(KBUILD_CFLAGS) | 79 | CPP = $(CC) -E $(KBUILD_CFLAGS) |
82 | 80 | ||
83 | CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ | 81 | CHECKFLAGS += -m$(CONFIG_WORD_SIZE) -D__powerpc__ -D__powerpc$(CONFIG_WORD_SIZE)__ |