Noux tool chain run script improvements

- print status messages
- limit run script execution to the 'foc_x86_32' platform

Fixes #539.
This commit is contained in:
Christian Prochaska 2012-11-28 14:05:11 +01:00 committed by Norman Feske
parent 8c98b81350
commit b21c1d468d
3 changed files with 20 additions and 4 deletions

View File

@ -146,13 +146,17 @@ append config {
cp /bin/make /usr/bin/
cp /bin/echo /usr/bin/
cp /bin/mkdir /usr/bin/
echo "creating build directory..."
}
append config " /genode/tool/create_builddir $platform BUILD_DIR=/home/build"
append config {
cd /home/build
echo "CROSS_DEV_PREFIX=genode-x86-" > etc/tools.conf }
}
append config " echo \"CROSS_DEV_PREFIX=$tool_prefix\" > etc/tools.conf"
append config " $platform_cmds"
append config { </inline>
append config {
echo "now you can type, for example, \"make core\""
</inline>
</dir>
</dir>
<dir name="tmp" />

View File

@ -4,8 +4,8 @@
# \date 2012-11-26
#
if {![have_spec foc]} {
puts "\nThis run script is only supported on Fiasco.OC\n"
if {![have_spec foc_x86_32]} {
puts "\nThis run script is currently only supported on the 'foc_x86_32' target platform\n"
exit 0
}
@ -13,7 +13,14 @@ if {![have_spec foc]} {
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 {

View File

@ -4,6 +4,11 @@
# \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
}
set platform "nova_x86_32"
set platform_base_dir "base-nova"
set platform_pkgs ""