mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 01:58:55 +00:00
015d319fa7
This way, files copied from the depot are incorporated in addition to the files explicitly specified as boot modules. The patch also adds an automatic check for the validity of the XML syntax of boot modules ending with '.config'. Issue #2339
27 lines
722 B
Plaintext
27 lines
722 B
Plaintext
proc binary_name_ld_lib_so { } { return "ld-linux.lib.so" }
|
|
proc binary_name_core { } { return "core-linux" }
|
|
proc binary_name_timer { } { return "linux_timer_drv" }
|
|
|
|
|
|
##
|
|
# Populate boot directory with binaries on Linux
|
|
#
|
|
proc run_boot_dir {binaries} {
|
|
|
|
if {![file exists [run_dir]/genode/ld.lib.so]} { build { lib/ld/linux } }
|
|
|
|
foreach binary $binaries {
|
|
set src_binary_path "../../../../bin/[kernel_specific_binary $binary]"
|
|
exec ln -sf $src_binary_path [run_dir]/genode/$binary }
|
|
|
|
# check syntax of all boot modules named *.config
|
|
foreach file [glob -nocomplain [run_dir]/genode/*.config] {
|
|
check_xml_syntax $file }
|
|
}
|
|
|
|
|
|
##
|
|
# Base source archive within depot
|
|
#
|
|
proc base_src { } { return base-linux }
|