]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: fix LTO for keystone
authorMarek Behún <marek.behun@nic.cz>
Thu, 20 May 2021 11:24:14 +0000 (13:24 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 18:21:30 +0000 (14:21 -0400)
commit9493e96e54eafa67df9b4f26e4cca4b68d167dbb
tree67f912b552494c123e16ec4ac603e5eccd01f97e
parent28d476eada6b49fdbd331171c6a487466e709a66
ARM: fix LTO for keystone

When building keystone with LTO the compiler complains:
  Error: selected processor does not support `smc #0' in Thumb mode

Fix this by removing -flto for the file implementing these SMC calls.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
arch/arm/mach-keystone/Makefile