summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 15:12:30 +0100
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:02:56 +0100
commit9cce34ba6e292f9d33c4f8c151713be1c97b0995 (patch)
treed62562efe75d27e1647dc63f850d16f7fc4cf22d /arch
parentia64: change to new flag variables (diff)
downloadlinux-9cce34ba6e292f9d33c4f8c151713be1c97b0995.tar.xz
linux-9cce34ba6e292f9d33c4f8c151713be1c97b0995.zip
microblaze: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/cpu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/cpu/Makefile b/arch/microblaze/kernel/cpu/Makefile
index 59cc7bceaf8c..fceed4edea41 100644
--- a/arch/microblaze/kernel/cpu/Makefile
+++ b/arch/microblaze/kernel/cpu/Makefile
@@ -6,7 +6,7 @@ ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_cache.o = -pg
endif
-EXTRA_CFLAGS += -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \
+ccflags-y := -DCPU_MAJOR=$(CPU_MAJOR) -DCPU_MINOR=$(CPU_MINOR) \
-DCPU_REV=$(CPU_REV)
obj-y += cache.o cpuinfo.o cpuinfo-pvr-full.o cpuinfo-static.o mb.o pvr.o