run: build nova kernel on every run invocation

Compared to some other kernels checking the nova source and building is way
faster - so we can spend on each run/* invocation the extra time.
This commit is contained in:
Alexander Boettcher 2015-05-12 16:54:06 +02:00 committed by Christian Helmuth
parent 8fa802815d
commit 93c1ef0309
1 changed files with 2 additions and 1 deletions

View File

@ -33,12 +33,13 @@ proc run_boot_string { } {
# Populate directory with binaries on NOVA
#
proc run_boot_dir {binaries} {
#
# Collect contents of the ISO image
#
copy_and_strip_genode_binaries_to_run_dir $binaries
if {![nova_external] && ![file exists [nova_kernel]]} { build { kernel } }
if {![nova_external]} { build { kernel } }
puts "using NOVA kernel at [nova_kernel]"
exec [cross_dev_prefix]objcopy -O elf32-i386 [nova_kernel] [run_dir]/hypervisor