diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2009-05-19 10:48:10 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-05-21 09:56:08 -0400 |
commit | c3055d14565516867e7a45553b90cb88d6277ec9 (patch) | |
tree | 27b5fff0fff6da046aec3ee2ae1a4f201ccf1c70 /arch/microblaze | |
parent | 5af90438023786e27178cc542f9a775594f8a126 (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/Makefile | 2 |
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 |
37 | CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) | 37 | CFLAGS_KERNEL += -ffixed-r31 $(CPUFLAGS-1) $(CPUFLAGS-2) |
38 | 38 | ||
39 | LDFLAGS := | ||
40 | LDFLAGS_vmlinux := | ||
39 | LDFLAGS_BLOB := --format binary --oformat elf32-microblaze | 41 | LDFLAGS_BLOB := --format binary --oformat elf32-microblaze |
40 | 42 | ||
41 | LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name) | 43 | LIBGCC := $(shell $(CC) $(CFLAGS_KERNEL) -print-libgcc-file-name) |