projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac854ff
)
microblaze: Use correct kbuild variable KBUILD_CFLAGS
author
John Williams
<john.williams@petalogix.com>
Thu, 17 Sep 2009 11:21:23 +0000
(21:21 +1000)
committer
Michal Simek
<monstr@monstr.eu>
Tue, 22 Sep 2009 08:00:40 +0000
(10:00 +0200)
Fixes the bug introduced in
9552158573f847aa429334bb97995bb290bb4b0d
Signed-off-by: John Williams <john.williams@petalogix.com>
arch/microblaze/Makefile
patch
|
blob
|
history
diff --git
a/arch/microblaze/Makefile
b/arch/microblaze/Makefile
index
8439598
..
737a4dc
100644
(file)
--- 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/