diff mbox series

[03/17] Makefile: Move phy rules into drivers/phy

Message ID 20210711031438.3230666-4-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show
Series Makefile: Start simplifying Makefile rules (Part A) | expand

Commit Message

Simon Glass July 11, 2021, 3:14 a.m. UTC
These don't belong in the drivers Makefile so move them down into
the correct place.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/Makefile     | 3 ---
 drivers/phy/Makefile | 4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/drivers/Makefile b/drivers/Makefile
index 3510daba29f..ebd07867290 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -93,9 +93,6 @@  obj-$(CONFIG_NVME) += nvme/
 obj-$(CONFIG_PCI_ENDPOINT) += pci_endpoint/
 obj-y += dfu/
 obj-$(CONFIG_PCH) += pch/
-obj-y += phy/allwinner/
-obj-y += phy/marvell/
-obj-y += phy/rockchip/
 obj-y += rtc/
 obj-y += scsi/
 obj-y += sound/
diff --git a/drivers/phy/Makefile b/drivers/phy/Makefile
index 3c4a673a83b..5cc3efcfe95 100644
--- a/drivers/phy/Makefile
+++ b/drivers/phy/Makefile
@@ -3,6 +3,10 @@ 
 # Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
 # Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
 
+obj-y += allwinner/
+obj-y += marvell/
+obj-y += rockchip/
+
 obj-$(CONFIG_$(SPL_)PHY) += phy-uclass.o
 obj-$(CONFIG_$(SPL_)NOP_PHY) += nop-phy.o
 obj-$(CONFIG_MIPI_DPHY_HELPERS) += phy-core-mipi-dphy.o