From 5bfebe7a3f6691ae5993f52889d15f39af64592e Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Fri, 13 Dec 2019 21:28:10 +0100 Subject: [PATCH] depot: recipe for usb_hid_drv Fixes #3594 --- .../recipes/src/usb_hid_drv/content.mk | 27 +++++++++++++++++++ repos/dde_linux/recipes/src/usb_hid_drv/hash | 1 + .../recipes/src/usb_hid_drv/used_apis | 6 +++++ 3 files changed, 34 insertions(+) create mode 100644 repos/dde_linux/recipes/src/usb_hid_drv/content.mk create mode 100644 repos/dde_linux/recipes/src/usb_hid_drv/hash create mode 100644 repos/dde_linux/recipes/src/usb_hid_drv/used_apis diff --git a/repos/dde_linux/recipes/src/usb_hid_drv/content.mk b/repos/dde_linux/recipes/src/usb_hid_drv/content.mk new file mode 100644 index 000000000..3904d24d5 --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_hid_drv/content.mk @@ -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" ) > $@ diff --git a/repos/dde_linux/recipes/src/usb_hid_drv/hash b/repos/dde_linux/recipes/src/usb_hid_drv/hash new file mode 100644 index 000000000..23a36ffaf --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_hid_drv/hash @@ -0,0 +1 @@ +2019-12-13-a 81ba039d4682f85bb70fb335c5c5312001a32e56 diff --git a/repos/dde_linux/recipes/src/usb_hid_drv/used_apis b/repos/dde_linux/recipes/src/usb_hid_drv/used_apis new file mode 100644 index 000000000..e8112b672 --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_hid_drv/used_apis @@ -0,0 +1,6 @@ +base +os +input_session +report_session +usb_session +timer_session