aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2009-05-19 10:48:10 -0400
committerMichal Simek <monstr@monstr.eu>2009-05-21 09:56:08 -0400
commitc3055d14565516867e7a45553b90cb88d6277ec9 (patch)
tree27b5fff0fff6da046aec3ee2ae1a4f201ccf1c70 /arch/microblaze
parent5af90438023786e27178cc542f9a775594f8a126 (diff)
microblaze: clean LDFLAGS to build kernel
Extra LDFLAGS from user space building may cause kernel failed to compile. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile
index aaadfa701da..ab731b75c23 100644
--- a/arch/microblaze/Makefile
+++ b/arch/microblaze/Makefile
@@ -36,6 +36,8 @@ CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER))
36# r31 holds current when in kernel mode 36# r31 holds current when in kernel mode
37CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) 37CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2)
38 38
39LDFLAGS :=
40LDFLAGS_vmlinux :=
39LDFLAGS_BLOB := --format binary --oformat elf32-microblaze 41LDFLAGS_BLOB := --format binary --oformat elf32-microblaze
40 42
41LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name) 43LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name)