Use platform-specific NIC driver in lwip test

Follow-up to "zynq: restructure nic_drv spec structure"

Issue #3179
This commit is contained in:
Christian Helmuth 2019-02-27 14:13:25 +01:00
parent 2f7fa3b905
commit b06ec370d1
2 changed files with 3 additions and 2 deletions

View File

@ -111,6 +111,7 @@ append_platform_drv_config
append_if $use_nic_driver config {
<start name="nic_drv" caps="130">
<binary name="} [nic_drv_binary] {"/>
<resource name="RAM" quantum="20M"/>
<provides><service name="Nic"/></provides>
} [nic_drv_config] {
@ -134,7 +135,7 @@ set boot_modules {
# platform-specific modules
lappend_if $use_usb_driver boot_modules usb_drv
lappend_if $use_nic_driver boot_modules nic_drv
lappend_if $use_nic_driver boot_modules [nic_drv_binary]
lappend_if [have_spec gpio] boot_modules [gpio_drv]
append_platform_drv_boot_modules

View File

@ -1,4 +1,4 @@
REQUIRES = hw
REQUIRES = hw arm_v7
TARGET = zynq_nic_drv
SRC_CC = main.cc
LIBS = base syscall-hw