Update Muen port
- Adjust Muen RUN_OPTs - Update documentation - Checkout required submodule
This commit is contained in:
committed by
Christian Helmuth
parent
d1b4fb1dff
commit
923fbc9e86
@@ -4,7 +4,8 @@
|
||||
# \param --image-muen-external-build Muen system is built automatically or externally
|
||||
# \param --image-muen-system Muen system policy
|
||||
# \param --image-muen-components Muen system components
|
||||
# \param --image-muen-hardware Muen hardware platform
|
||||
# \param --image-muen-hardware Muen hardware specification
|
||||
# \param --image-muen-platform Muen platform specification
|
||||
# \param --image-muen-gnat-path Path to GNAT toolchain
|
||||
# \param --image-muen-spark-path Path to SPARK toolchain
|
||||
#
|
||||
@@ -24,6 +25,10 @@ proc muen_hardware { } {
|
||||
return [get_cmd_arg --image-muen-hardware ""]
|
||||
}
|
||||
|
||||
proc muen_platform { } {
|
||||
return [get_cmd_arg --image-muen-platform ""]
|
||||
}
|
||||
|
||||
proc muen_gnat_path { } {
|
||||
return [get_cmd_arg --image-muen-gnat-path "/usr/gnat"]
|
||||
}
|
||||
@@ -58,6 +63,7 @@ proc run_image {elf_img} {
|
||||
puts $fh "SYSTEM = [muen_system]"
|
||||
puts $fh "COMPONENTS = \"[muen_components]\""
|
||||
puts $fh "HARDWARE = [muen_hardware]"
|
||||
puts $fh "PLATFORM = [muen_platform]"
|
||||
close $fh
|
||||
|
||||
#
|
||||
@@ -76,6 +82,6 @@ proc run_image {elf_img} {
|
||||
# Package Muen system image
|
||||
#
|
||||
exec cp $bin_img "kernel/muen/policy/obj/base_hw"
|
||||
exec make -C kernel/muen/pack SYSTEM=[muen_system] HARDWARE=[muen_hardware]
|
||||
exec make -C kernel/muen/pack SYSTEM=[muen_system] HARDWARE=[muen_hardware] PLATFORM=[muen_platform]
|
||||
exec cp kernel/muen/pack/obj/muen.img "[run_dir]/image.bin"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user