projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af9043
)
microblaze: clean LDFLAGS to build kernel
author
Thomas Chou
<thomas@wytron.com.tw>
Tue, 19 May 2009 14:48:10 +0000
(22:48 +0800)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 21 May 2009 13:56:08 +0000
(15:56 +0200)
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>
arch/microblaze/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/Makefile
b/arch/microblaze/Makefile
index aaadfa701da30b82475583bde4db5c3bea9cc116..ab731b75c23bea80e7e0350eced71dce477fdd9b 100644
(file)
--- 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)