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

Commit 87a32e62 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: pass LDFLAGS to recordmcount.pl



Since commit 0fbe9a24 ("microblaze: add endianness options to
LDFLAGS instead of LD"), you cannot build the kernel for microblaze
with CONFIG_DYNAMIC_FTRACE.

Fixes: 0fbe9a24 ("microblaze: add endianness options to LDFLAGS instead of LD")
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent e85d1d65
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -220,7 +220,7 @@ sub_cmd_record_mcount = set -e ; perl $(srctree)/scripts/recordmcount.pl "$(ARCH
	"$(if $(CONFIG_CPU_BIG_ENDIAN),big,little)" \
	"$(if $(CONFIG_64BIT),64,32)" \
	"$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \
	"$(LD)" "$(NM)" "$(RM)" "$(MV)" \
	"$(LD) $(LDFLAGS)" "$(NM)" "$(RM)" "$(MV)" \
	"$(if $(part-of-module),1,0)" "$(@)";
recordmcount_source := $(srctree)/scripts/recordmcount.pl
endif # BUILD_C_RECORDMCOUNT