depot: recipe for usb_hid_drv

Fixes #3594
This commit is contained in:
Stefan Kalkowski 2019-12-13 21:28:10 +01:00 committed by Christian Helmuth
parent 3df67362b4
commit 5bfebe7a3f
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,27 @@
LIB_MK := lib/mk/usb_hid_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_hid_include.mk \
lib/import/import-usb_arch_include.mk \
src/include src/lx_kit \
$(shell cd $(REP_DIR); find src/drivers/usb_hid -type f)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/drivers/usb_hid -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-a 81ba039d4682f85bb70fb335c5c5312001a32e56

View File

@ -0,0 +1,6 @@
base
os
input_session
report_session
usb_session
timer_session