kbuild: pass LDFLAGS to recordmcount.pl
Since commit0fbe9a245c
("microblaze: add endianness options to LDFLAGS instead of LD"), you cannot build the kernel for microblaze with CONFIG_DYNAMIC_FTRACE. Fixes:0fbe9a245c
("microblaze: add endianness options to LDFLAGS instead of LD") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
e85d1d65cd
commit
87a32e6240
1 changed files with 1 additions and 1 deletions
|
@ -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_CPU_BIG_ENDIAN),big,little)" \
|
||||||
"$(if $(CONFIG_64BIT),64,32)" \
|
"$(if $(CONFIG_64BIT),64,32)" \
|
||||||
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \
|
"$(OBJDUMP)" "$(OBJCOPY)" "$(CC) $(KBUILD_CFLAGS)" \
|
||||||
"$(LD)" "$(NM)" "$(RM)" "$(MV)" \
|
"$(LD) $(LDFLAGS)" "$(NM)" "$(RM)" "$(MV)" \
|
||||||
"$(if $(part-of-module),1,0)" "$(@)";
|
"$(if $(part-of-module),1,0)" "$(@)";
|
||||||
recordmcount_source := $(srctree)/scripts/recordmcount.pl
|
recordmcount_source := $(srctree)/scripts/recordmcount.pl
|
||||||
endif # BUILD_C_RECORDMCOUNT
|
endif # BUILD_C_RECORDMCOUNT
|
||||||
|
|
Loading…
Reference in a new issue