aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-04-15 15:52:20 -0400
committerPaul Mackerras <paulus@samba.org>2008-04-16 17:46:12 -0400
commit1993cbf4ae7d30f9a417e143c1344466f2e2ae2e (patch)
tree3730d7c48284ce3d53e516b443e3ef4c83f8edfb
parent38521a23a99232e14d7454ab59d23565c626ea33 (diff)
[POWERPC] Provide access to arch/powerpc include path on ppc64
There does not appear to be any reason that we shouldn't just have -Iarch/$(ARCH) on both ppc32 and ppc64 builds. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
-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)__