]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8876/1: fix O= building with CONFIG_FPE_FASTFPE
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 11 Jul 2019 03:07:56 +0000 (04:07 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 23 Aug 2019 10:38:49 +0000 (11:38 +0100)
commita8110ef88e90783031e912054e31386ce9d8c839
treed843fbd383378a56d02ccc0dfc1d72a53504f785
parent55bbf6b0b4e7bb047ff78e3b6b1f4d7fce166c6e
ARM: 8876/1: fix O= building with CONFIG_FPE_FASTFPE

To use Fastfpe, a user is supposed to enable CONFIG_FPE_FASTFPE
and put downstream source files into arch/arm/fastfpe/.

It is not working for O= build because $(wildcard arch/arm/fastfpe)
checks if it exists in $(objtree), not in $(srctree).

Add the $(srctree)/ prefix to fix it.

While I was here, I slightly refactored the code.

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