diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2009-05-19 22:48:10 +0800 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-21 15:56:08 +0200 |
commit | c3055d14565516867e7a45553b90cb88d6277ec9 (patch) | |
tree | 27b5fff0fff6da046aec3ee2ae1a4f201ccf1c70 /arch/microblaze | |
parent | 5af90438023786e27178cc542f9a775594f8a126 (diff) | |
download | blackbird-op-linux-c3055d14565516867e7a45553b90cb88d6277ec9.tar.gz blackbird-op-linux-c3055d14565516867e7a45553b90cb88d6277ec9.zip |
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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index aaadfa701da3..ab731b75c23b 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) |