From 935dcf8b18e1aafcff3dcbee33b35dba4bdc96d1 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Fri, 22 May 2020 12:47:16 +0200 Subject: [PATCH] usb_drv: include specific rpi platform_session API The rpi_usb_drv uses the rpi-specific variant of the platform_session API. Therefore, it has to include it excplicitly. Ref #3299 --- repos/dde_linux/src/drivers/usb/spec/rpi/target.mk | 3 ++- repos/dde_linux/src/drivers/usb_host/spec/rpi/target.mk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/repos/dde_linux/src/drivers/usb/spec/rpi/target.mk b/repos/dde_linux/src/drivers/usb/spec/rpi/target.mk index c455faca46..8cc5078c7d 100644 --- a/repos/dde_linux/src/drivers/usb/spec/rpi/target.mk +++ b/repos/dde_linux/src/drivers/usb/spec/rpi/target.mk @@ -38,7 +38,8 @@ CC_OPT += -DINTERRUPT_VC_USB=9 CC_OPT += -DIRQF_TRIGGER_LOW=1 INC_DIR += $(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_common_port \ - $(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_otg + $(LX_CONTRIB_DIR)/drivers/usb/host/dwc_otg/dwc_otg \ + $(call select_from_repositories,include/spec/rpi) SRC_CC += platform.cc vpath platform.cc $(LIB_DIR)/spec/rpi diff --git a/repos/dde_linux/src/drivers/usb_host/spec/rpi/target.mk b/repos/dde_linux/src/drivers/usb_host/spec/rpi/target.mk index b8a0a7e161..67c9667cfa 100644 --- a/repos/dde_linux/src/drivers/usb_host/spec/rpi/target.mk +++ b/repos/dde_linux/src/drivers/usb_host/spec/rpi/target.mk @@ -5,6 +5,7 @@ REQUIRES = arm_v6 INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm INC_DIR += $(REP_DIR)/src/include/spec/arm +INC_DIR += $(call select_from_repositories,include/spec/rpi) SRC_CC += spec/arm/platform.cc SRC_CC += spec/rpi/platform.cc