depot: recipe for usb_host_drv

Fixes #3593
This commit is contained in:
Stefan Kalkowski 2019-12-13 21:27:05 +01:00 committed by Christian Helmuth
parent f1042e7fb1
commit 3df67362b4
12 changed files with 44 additions and 6 deletions

View File

@ -0,0 +1,26 @@
LIB_MK := lib/mk/usb_host_include.mk lib/import/import-usb_arch_include.mk \
$(foreach SPEC,arm arm_64 x86_32 x86_64,lib/mk/spec/$(SPEC)/lx_kit_setjmp.mk)
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
MIRROR_FROM_REP_DIR := $(LIB_MK) \
lib/import/import-usb_host_include.mk \
src/include src/lx_kit \
$(shell cd $(REP_DIR); find src/drivers/usb_host -type f)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/drivers/usb_host -type f | grep -v ".git")
MIRROR_FROM_PORT_DIR := $(filter-out $(MIRROR_FROM_REP_DIR),$(MIRROR_FROM_PORT_DIR))
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp $(PORT_DIR)/$@ $@
content: LICENSE
LICENSE:
( echo "GNU General Public License version 2, see:"; \
echo "https://www.kernel.org/pub/linux/kernel/COPYING" ) > $@

View File

@ -0,0 +1 @@
2019-12-13-b ee0980403ffdf5ada646174969445a1831dc2d96

View File

@ -0,0 +1,8 @@
base
os
usb_session
gpio_session
regulator_session
platform_session
timer_session
report_session

View File

@ -0,0 +1 @@
#include <spec/exynos5/regulator/consts.h>

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = arndale_usb_host_drv
REQUIRES = arndale
REQUIRES = arm_v7
INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm
INC_DIR += $(REP_DIR)/src/include/spec/arm

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = imx6q_sabrelite_usb_host_drv
REQUIRES = imx6q_sabrelite
REQUIRES = arm_v7
SRC_C += usb/chipidea/ci_hdrc_imx.c
SRC_C += usb/chipidea/core.c

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = imx8q_evk_usb_host_drv
REQUIRES = imx8q_evk
REQUIRES = arm_v8
SRC_C += usb/dwc3/core.c
SRC_C += usb/dwc3/host.c

View File

@ -0,0 +1 @@
#include <spec/exynos4/regulator/consts.h>

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = odroid_x2_usb_host_drv
REQUIRES = odroid_x2
REQUIRES = arm_v7
INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm
INC_DIR += $(REP_DIR)/src/include/spec/arm

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = panda_usb_host_drv
REQUIRES = panda
REQUIRES = arm_v7
INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm
INC_DIR += $(REP_DIR)/src/include/spec/arm

View File

@ -1,7 +1,7 @@
include $(REP_DIR)/src/drivers/usb_host/target.inc
TARGET = rpi_usb_host_drv
REQUIRES = rpi
REQUIRES = arm_v6
INC_DIR += $(REP_DIR)/src/drivers/usb_host/spec/arm
INC_DIR += $(REP_DIR)/src/include/spec/arm

View File

@ -4,6 +4,7 @@ SRC_C = dummies.c raw_driver.c
LIBS = base usb_host_include lx_kit_setjmp
CC_CXX_WARN_STRICT =
INC_DIR += $(PRG_DIR)
INC_DIR += $(REP_DIR)/src/drivers/usb_host
INC_DIR += $(REP_DIR)/src/include