Bladeren bron

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>
Thomas Chou 16 jaren geleden
bovenliggende
commit
c3055d1456
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      arch/microblaze/Makefile

+ 2 - 0
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)