]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8779/1: add endianness option to LDFLAGS instead of LD
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 9 Jul 2018 02:09:42 +0000 (03:09 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 11 Jul 2018 10:02:10 +0000 (11:02 +0100)
commita1d757cfc2112238a98c9c57f43504a79115268f
tree09424da2f6d91729f7a459aab02b46f932373c31
parent1c0de8d57bb6caa07c57adf6f804d99674f152ab
ARM: 8779/1: add endianness option to LDFLAGS instead of LD

With the recent syntax extension, Kconfig is now able to evaluate the
compiler / toolchain capability.

However, accumulating flags to 'LD' is not compatible with the way
it works; 'LD' must be passed to Kconfig to call $(ld-option,...)
from Kconfig files.  If you tweak 'LD' in arch Makefile depending on
CONFIG_CPU_BIG_ENDIAN, this would end up with circular dependency
between Makefile and Kconfig.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Makefile