summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Makefile
diff options
context:
space:
mode:
authorJohn Williams <john.williams@petalogix.com>2009-09-17 21:21:23 +1000
committerMichal Simek <monstr@monstr.eu>2009-09-22 10:00:40 +0200
commite469b0eb36c8abf033435c4918b03eaab159e002 (patch)
treecb62434127dc5a8cc5eddf451849846ecf7b0fde /arch/microblaze/Makefile
parentac854ff1fc779101ff1989c3a20c1f238a2b5f3a (diff)
downloadop-kernel-dev-e469b0eb36c8abf033435c4918b03eaab159e002.zip
op-kernel-dev-e469b0eb36c8abf033435c4918b03eaab159e002.tar.gz
microblaze: Use correct kbuild variable KBUILD_CFLAGS
Fixes the bug introduced in 9552158573f847aa429334bb97995bb290bb4b0d Signed-off-by: John Williams <john.williams@petalogix.com>
Diffstat (limited to 'arch/microblaze/Makefile')
-rw-r--r--arch/microblaze/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index 8439598..737a4dc 100644
--- a/arch/microblaze/Makefile
+++ b/arch/microblaze/Makefile
@@ -37,12 +37,12 @@ CPUFLAGS-$(CONFIG_XILINX_MICROBLAZE0_USE_PCMP_INSTR) += -mxl-pattern-compare
CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER))
# r31 holds current when in kernel mode
-KBUILD_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2)
+KBUILD_CFLAGS += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2)
LDFLAGS :=
LDFLAGS_vmlinux :=
-LIBGCC := $(shell $(CC) $(KBUILD_KERNEL) -print-libgcc-file-name)
+LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
head-y := arch/microblaze/kernel/head.o
libs-y += arch/microblaze/lib/
OpenPOWER on IntegriCloud