From 19d0142e10d71699891dd45b76fdc81844b1c4b7 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Wed, 10 Feb 2021 16:42:16 +0100 Subject: [PATCH] ports/recipes/src: usb_net_drv Ref #3961 --- .../recipes/src/usb_net_drv/content.mk | 34 +++++++++++++++++++ repos/dde_linux/recipes/src/usb_net_drv/hash | 1 + .../recipes/src/usb_net_drv/used_apis | 7 ++++ 3 files changed, 42 insertions(+) create mode 100644 repos/dde_linux/recipes/src/usb_net_drv/content.mk create mode 100644 repos/dde_linux/recipes/src/usb_net_drv/hash create mode 100644 repos/dde_linux/recipes/src/usb_net_drv/used_apis diff --git a/repos/dde_linux/recipes/src/usb_net_drv/content.mk b/repos/dde_linux/recipes/src/usb_net_drv/content.mk new file mode 100644 index 0000000000..2ee110a979 --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_net_drv/content.mk @@ -0,0 +1,34 @@ +PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux) + +MIRROR_FROM_REP_DIR := src/drivers/usb_net \ + src/drivers/nic/linux_network_session_base.cc \ + src/drivers/nic/linux_network_session_base.h \ + src/lx_kit \ + src/include \ + lib/import/import-usb_net_include.mk \ + lib/import/import-usb_arch_include.mk \ + lib/mk/usb_net_include.mk \ + $(foreach SPEC, \ + arm arm_64 x86_32 x86_64, \ + lib/mk/spec/$(SPEC)/lx_kit_setjmp.mk) + +MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); \ + find src/drivers/usb_net -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_net_drv/hash b/repos/dde_linux/recipes/src/usb_net_drv/hash new file mode 100644 index 0000000000..408d6fb61d --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_net_drv/hash @@ -0,0 +1 @@ +2021-02-10-e ba1bfb03558f8cad1efd9943c6b3a4b31929c70d diff --git a/repos/dde_linux/recipes/src/usb_net_drv/used_apis b/repos/dde_linux/recipes/src/usb_net_drv/used_apis new file mode 100644 index 0000000000..bd10375046 --- /dev/null +++ b/repos/dde_linux/recipes/src/usb_net_drv/used_apis @@ -0,0 +1,7 @@ +base +os +nic_session +uplink_session +usb_session +timer_session +nic_driver