phy: Remove CONFIG_ARCH_* check for related subdir in Makefile
authorTiezhu Yang <yangtiezhu@loongson.cn>
Mon, 25 May 2020 13:08:58 +0000 (21:08 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 24 Jun 2020 12:59:22 +0000 (18:29 +0530)
commit133552bf03edbe3892767a4b64c56e3bed746374
treee58c7c5fa4bb72b0a87a8d134feeb3436af58277
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407
phy: Remove CONFIG_ARCH_* check for related subdir in Makefile

If CONFIG_ARCH_ROCKCHIP is not set but COMPILE_TEST is set, the file in
the subdir rockchip can not be built due to CONFIG_ARCH_ROCKCHIP check
in drivers/phy/Makefile.

Since the related configs in drivers/phy/rockchip/Kconfig depend on
ARCH_ROCKCHIP, so remove CONFIG_ARCH_ROCKCHIP check for subdir rockchip
in drivers/phy/Makefile.

The other CONFIG_ARCH_* about allwinner, amlogic, mediatek, renesas and
tegra have the same situation, so remove them too.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/1590412138-13903-2-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Makefile