From 6f3a818a64aabbf50ee8c0a9b426061e40601880 Mon Sep 17 00:00:00 2001 From: Adam Greloch Date: Mon, 28 Oct 2024 10:07:12 +0100 Subject: [PATCH] usb/ehci: rename per-subfamily phy src to per-family-subfamily JIRA: RTOS-937 --- usb/ehci/Makefile | 5 ++--- usb/ehci/{phy-imx6ull.c => phy-armv7a7-imx6ull.c} | 0 usb/ehci/{phy-imxrt106x.c => phy-armv7m7-imxrt106x.c} | 0 usb/ehci/{phy-imxrt117x.c => phy-armv7m7-imxrt117x.c} | 0 usb/ehci/{phy-generic.c => phy-ia32-generic.c} | 0 5 files changed, 2 insertions(+), 3 deletions(-) rename usb/ehci/{phy-imx6ull.c => phy-armv7a7-imx6ull.c} (100%) rename usb/ehci/{phy-imxrt106x.c => phy-armv7m7-imxrt106x.c} (100%) rename usb/ehci/{phy-imxrt117x.c => phy-armv7m7-imxrt117x.c} (100%) rename usb/ehci/{phy-generic.c => phy-ia32-generic.c} (100%) diff --git a/usb/ehci/Makefile b/usb/ehci/Makefile index 2f2b837c..3b7cf5a0 100644 --- a/usb/ehci/Makefile +++ b/usb/ehci/Makefile @@ -1,13 +1,12 @@ # -# Makefile for Phoenix-RTOS imx6ull-ehci +# Makefile for Phoenix-RTOS ehci # # Copyright 2018, 2019 Phoenix Systems # # FIXME: rename usb host component NAME := libusbehci -# TODO use TARGET_FAMILY-TARGET_SUBFAMILY -LOCAL_SRCS := ehci.c ehci-hub.c phy-$(TARGET_SUBFAMILY).c +LOCAL_SRCS := ehci.c ehci-hub.c phy-$(TARGET_FAMILY)-$(TARGET_SUBFAMILY).c ifneq (,$(findstring imx,$(TARGET_SUBFAMILY))) CFLAGS += -DEHCI_IMX diff --git a/usb/ehci/phy-imx6ull.c b/usb/ehci/phy-armv7a7-imx6ull.c similarity index 100% rename from usb/ehci/phy-imx6ull.c rename to usb/ehci/phy-armv7a7-imx6ull.c diff --git a/usb/ehci/phy-imxrt106x.c b/usb/ehci/phy-armv7m7-imxrt106x.c similarity index 100% rename from usb/ehci/phy-imxrt106x.c rename to usb/ehci/phy-armv7m7-imxrt106x.c diff --git a/usb/ehci/phy-imxrt117x.c b/usb/ehci/phy-armv7m7-imxrt117x.c similarity index 100% rename from usb/ehci/phy-imxrt117x.c rename to usb/ehci/phy-armv7m7-imxrt117x.c diff --git a/usb/ehci/phy-generic.c b/usb/ehci/phy-ia32-generic.c similarity index 100% rename from usb/ehci/phy-generic.c rename to usb/ehci/phy-ia32-generic.c