summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 06:12:30 -0800
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:02:56 +0100
commit9cce34ba6e292f9d33c4f8c151713be1c97b0995 (patch)
treed62562efe75d27e1647dc63f850d16f7fc4cf22d /arch/microblaze/kernel
parent4800cd8311f8a16a9a9f8515f2793d5761c44c41 (diff)
downloadop-kernel-dev-9cce34ba6e292f9d33c4f8c151713be1c97b0995.zip
op-kernel-dev-9cce34ba6e292f9d33c4f8c151713be1c97b0995.tar.gz
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/microblaze/kernel')
-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 59cc7bc..fceed4e 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
OpenPOWER on IntegriCloud