ports/recipes/src: usb_net_drv

Ref #3961
This commit is contained in:
Martin Stein 2021-02-10 16:42:16 +01:00 committed by Norman Feske
parent 983a18d06e
commit 19d0142e10
3 changed files with 42 additions and 0 deletions

View File

@ -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" ) > $@

View File

@ -0,0 +1 @@
2021-02-10-e ba1bfb03558f8cad1efd9943c6b3a4b31929c70d

View File

@ -0,0 +1,7 @@
base
os
nic_session
uplink_session
usb_session
timer_session
nic_driver