mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-09 19:01:46 +00:00
netperf: adjust netperf.inc instructions
and avoid some deprecated config warnings
This commit is contained in:
parent
dd5592cc50
commit
c58444af80
@ -52,7 +52,8 @@ set wrong_version [catch {
|
|||||||
if {$wrong_version} {
|
if {$wrong_version} {
|
||||||
puts -nonewline "\nPlease compile a netperf client of version $version "
|
puts -nonewline "\nPlease compile a netperf client of version $version "
|
||||||
puts "for your host system."
|
puts "for your host system."
|
||||||
puts "The sources are available in 'ports/contrib/netperf'."
|
puts "The sources are available in 'contrib/netperf-<hash>' (after you "
|
||||||
|
puts "prepared the port by calling 'tool/ports/prepare_port netperf')."
|
||||||
puts "Please name the binary netperf-$version\n"
|
puts "Please name the binary netperf-$version\n"
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
@ -202,7 +203,7 @@ append_if $use_wifi_driver config {
|
|||||||
<resource name="RAM" quantum="32M"/>
|
<resource name="RAM" quantum="32M"/>
|
||||||
<provides> <service name="Nic"/> </provides>
|
<provides> <service name="Nic"/> </provides>
|
||||||
<config>
|
<config>
|
||||||
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc">
|
<libc stdout="/dev/log" stderr="/dev/log" rtc="/dev/rtc"/>
|
||||||
<vfs>
|
<vfs>
|
||||||
<dir name="dev">
|
<dir name="dev">
|
||||||
<log/>
|
<log/>
|
||||||
@ -211,7 +212,6 @@ append_if $use_wifi_driver config {
|
|||||||
</dir>
|
</dir>
|
||||||
<dir name="config"> <fs label="config"/> </dir>
|
<dir name="config"> <fs label="config"/> </dir>
|
||||||
</vfs>
|
</vfs>
|
||||||
</libc>
|
|
||||||
</config>
|
</config>
|
||||||
<route>
|
<route>
|
||||||
<service name="Rtc"> <any-child/> </service>
|
<service name="Rtc"> <any-child/> </service>
|
||||||
@ -238,9 +238,8 @@ append config {
|
|||||||
<libc tx_buf_size="2M" rx_buf_size="2M"}
|
<libc tx_buf_size="2M" rx_buf_size="2M"}
|
||||||
append_if [have_spec linux] config " ip_addr=\"$lx_ip_addr\" netmask=\"255.255.255.0\" gateway=\"10.0.2.1\""
|
append_if [have_spec linux] config " ip_addr=\"$lx_ip_addr\" netmask=\"255.255.255.0\" gateway=\"10.0.2.1\""
|
||||||
append config {
|
append config {
|
||||||
stdout="/dev/log" stderr="/dev/log">
|
stdout="/dev/log" stderr="/dev/log"/>
|
||||||
<vfs> <dir name="dev"> <log/> </dir> </vfs>
|
<vfs> <dir name="dev"> <log/> </dir> </vfs>
|
||||||
</libc>
|
|
||||||
</config>}
|
</config>}
|
||||||
append_if $use_nic_bridge config {
|
append_if $use_nic_bridge config {
|
||||||
<route>
|
<route>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user