Skip to contentSkip to conversation

microblaze: change to new flag variable

PATCH Applied matt mooney 1 participant 1 message Sep 23, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/20 microblaze: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

---
 arch/microblaze/kernel/cpu/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/microblaze/kernel/cpu/Makefile +1 -1
index 59cc7bc..fceed4e 100644
@@ -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
Signature · 1 line
1.7.2.1