depot: add recipe for drivers_nic-imx53_qsb

Ref #3180
This commit is contained in:
Stefan Kalkowski 2019-04-17 11:33:44 +02:00 committed by Christian Helmuth
parent ff031d792c
commit 82693ba5b5
9 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Device drivers needed for scenarios
using one network interface

View File

@ -0,0 +1,2 @@
_/src/fec_nic_drv
_/raw/drivers_nic-imx53_qsb

View File

@ -0,0 +1 @@
2019-04-15 619509fe52059e2e8c2e6717f7e574c3cbf58c25

View File

@ -0,0 +1,4 @@
content: drivers.config
drivers.config:
cp $(REP_DIR)/recipes/raw/drivers_nic-imx53_qsb/$@ $@

View File

@ -0,0 +1,26 @@
<config>
<parent-provides>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="Timer"/>
<service name="Gpio"/>
</parent-provides>
<default caps="100"/>
<service name="Nic">
<default-policy> <child name="nic_drv"/> </default-policy> </service>
<start name="nic_drv" caps="130">
<binary name="fec_nic_drv"/>
<resource name="RAM" quantum="20M"/>
<provides> <service name="Nic"/> </provides>
<config><card type="fsl,imx25-fec" mii="rmii" irq="87" mmio="0x63fec000"/></config>
<route> <any-service> <parent/> </any-service> </route>
</start>
</config>

View File

@ -0,0 +1 @@
2019-04-15 4e8628b538803f3d1b6e3f3459c76b38c07edf78

View File

@ -0,0 +1,27 @@
LIB_MK := lib/mk/fec_nic_include.mk \
lib/mk/spec/arm/lx_kit_setjmp.mk
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/dde_linux)
MIRROR_FROM_REP_DIR := $(LIB_MK) \
lib/import/import-fec_nic_include.mk \
src/include src/lx_kit \
src/drivers/usb/include/spec/arm/platform_device/platform_device.h \
$(shell cd $(REP_DIR); find src/drivers/nic/fec -type f)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/drivers/nic/fec -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-04-15 57f15ee6aff243cf7fef9b5568b6f03380d39c01

View File

@ -0,0 +1,6 @@
base
os
platform_session
timer_session
nic_session
gpio_session