summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-23 00:51:09 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-10-13 09:19:22 +0400
commit4108d9ba9091c55cfb968d42dd7dcae9a098b876 (patch)
tree881cc06df6f7b2a15fd1db49c02641bd41a314d6 /arch/powerpc/sysdev/Makefile
parentfc15351d9d63a35fd00c15850fa93a27940f16a0 (diff)
downloadlinux-4108d9ba9091c55cfb968d42dd7dcae9a098b876.tar.xz
powerpc/Makefiles: Change to new flag variables
Replace EXTRA_CFLAGS with ccflags-y and EXTRA_AFLAGS with asflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/Makefile')
-rw-r--r--arch/powerpc/sysdev/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index 5642924fb9fb..c20ad6de33ee 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -1,8 +1,6 @@
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
-ifeq ($(CONFIG_PPC64),y)
-EXTRA_CFLAGS += -mno-minimal-toc
-endif
+ccflags-$(CONFIG_PPC64) := -mno-minimal-toc
mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o
obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)