From: "Heiko Stübner" <heiko@sntech.de>
To: Tiezhu Yang <yangtiezhu@loongson.cn>
Cc: Kishon Vijay Abraham I <kishon@ti.com>,
Vinod Koul <vkoul@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Xuefeng Li <lixuefeng@loongson.cn>
Subject: Re: [PATCH v2 2/2] phy: Remove CONFIG_ARCH_* check for related subdir in Makefile
Date: Mon, 25 May 2020 17:01:38 +0200 [thread overview]
Message-ID: <10793802.6Woqi72AOj@diego> (raw)
In-Reply-To: <1590412138-13903-2-git-send-email-yangtiezhu@loongson.cn>
Am Montag, 25. Mai 2020, 15:08:58 CEST schrieb Tiezhu Yang:
> 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>
I did check the other vendor directories and all options there do
seem to depend on some ARCH_foo || COMPILE_TEST variant, so
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Heiko
> ---
>
> v2:
> - Remove all the CONFIG_ARCH_* check for related subdir in Makefile
> - Modify the patch subject and update commit message
>
> drivers/phy/Makefile | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/phy/Makefile b/drivers/phy/Makefile
> index 310c149..16e2622 100644
> --- a/drivers/phy/Makefile
> +++ b/drivers/phy/Makefile
> @@ -8,24 +8,24 @@ obj-$(CONFIG_GENERIC_PHY_MIPI_DPHY) += phy-core-mipi-dphy.o
> obj-$(CONFIG_PHY_LPC18XX_USB_OTG) += phy-lpc18xx-usb-otg.o
> obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
> obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
> -obj-$(CONFIG_ARCH_SUNXI) += allwinner/
> -obj-$(CONFIG_ARCH_MESON) += amlogic/
> -obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
> -obj-$(CONFIG_ARCH_RENESAS) += renesas/
> -obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
> -obj-$(CONFIG_ARCH_TEGRA) += tegra/
> -obj-y += broadcom/ \
> +obj-y += allwinner/ \
> + amlogic/ \
> + broadcom/ \
> cadence/ \
> freescale/ \
> hisilicon/ \
> intel/ \
> lantiq/ \
> marvell/ \
> + mediatek/ \
> motorola/ \
> mscc/ \
> qualcomm/ \
> ralink/ \
> + renesas/ \
> + rockchip/ \
> samsung/ \
> socionext/ \
> st/ \
> + tegra/ \
> ti/
>
next prev parent reply other threads:[~2020-05-25 15:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 13:08 [PATCH v2 1/2] phy: rockchip: Fix return value of inno_dsidphy_probe() Tiezhu Yang
[not found] ` <1590412138-13903-1-git-send-email-yangtiezhu-cXZgJK919ebM1kAEIRd3EQ@public.gmane.org>
2020-05-25 13:08 ` [PATCH v2 2/2] phy: Remove CONFIG_ARCH_* check for related subdir in Makefile Tiezhu Yang
2020-05-25 15:01 ` Heiko Stübner [this message]
2020-06-24 13:01 ` [PATCH v2 1/2] phy: rockchip: Fix return value of inno_dsidphy_probe() Vinod Koul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10793802.6Woqi72AOj@diego \
--to=heiko@sntech.de \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=lixuefeng@loongson.cn \
--cc=matthias.bgg@gmail.com \
--cc=vkoul@kernel.org \
--cc=yangtiezhu@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox