aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2009-05-19 22:48:10 +0800
committerMichal Simek <monstr@monstr.eu>2009-05-21 15:56:08 +0200
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))
# r31 holds current when in kernel mode
CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2)
+LDFLAGS :=
+LDFLAGS_vmlinux :=
LDFLAGS_BLOB := --format binary --oformat elf32-microblaze
LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name)