proc use_dynamic_rom { } { return true } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_nic_pkg] \ [depot_user]/src/dynamic_rom \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/nic_router \ [depot_user]/src/vfs_audit \ [depot_user]/src/vfs_lxip \ [depot_user]/src/vfs append config { } append_if [use_dynamic_rom] config { } append config { } if {[use_dynamic_rom]} { append config { } } else { append config { } } append config { } append qemu_args " -nographic " append_qemu_nic_args # When using with a tap device manually replace append_qemu_nic_args with: #proc qemu_nic_model {} { # if [have_spec x86] { return e1000 } # if [have_board pbxa9] { return lan9118 } # if [have_board zynq_qemu] { return cadence_gem } # return nic_model_missing #} #append qemu_args " -net nic,model=[qemu_nic_model] " #append qemu_args " -net tap,ifname=tap0,downscript=no,script=no " # vi: set ft=tcl :