Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3055d14 authored by Thomas Chou's avatar Thomas Chou Committed by Michal Simek
Browse files

microblaze: clean LDFLAGS to build kernel



Extra LDFLAGS from user space building may cause kernel failed
to compile.

Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 5af90438
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)