genode/ports/run/noux_tool_chain_foc.run
Christian Prochaska b21c1d468d Noux tool chain run script improvements
- print status messages
- limit run script execution to the 'foc_x86_32' platform

Fixes #539.
2012-11-29 11:56:31 +01:00

39 lines
1.2 KiB
Plaintext

#
# \brief Noux environment for building the Genode/Fiasco.OC demo scenario on Genode/Fiasco.OC
# \author Christian Prochaska
# \date 2012-11-26
#
if {![have_spec foc_x86_32]} {
puts "\nThis run script is currently only supported on the 'foc_x86_32' target platform\n"
exit 0
}
# create a tar archive containing the l4 header files
build core
exec tar cfv bin/l4.tar -h --exclude=std_tmpl include l4
if {[have_spec x86_32]} {
set platform "foc_x86_32"
}
if {[have_spec x86_64]} {
set platform "foc_x86_64"
}
set platform_base_dir "base-foc"
set platform_pkgs "l4"
set platform_cmds {
ln -s /platform/l4/include include
ln -s /platform/l4/l4 l4
mkdir -p var/libcache/platform/libvcpu
touch var/libcache/platform/libvcpu/include.tag
touch var/libcache/platform/l4sys.tag
touch var/libcache/platform/ldscripts.tag
touch var/libcache/platform/libgcc-pure.tag
touch var/libcache/platform/libgcc.tag
touch var/libcache/platform/libsigma0.tag
}
source ${genode_dir}/ports/run/noux_tool_chain.inc