if {![have_spec x86_32]} { puts "\nNoux is supported on the x86_32 architecture only\n" exit 0 } # # Uncomment the following line when working on the VIM source code. Otherwise, # VIM may get recompiled, yet it does not get reinstalled into 'bin/bash'. # #exec rm -rf noux-pkg/bash bin/bash set build_components { core init drivers/timer noux lib/libc_noux drivers/framebuffer drivers/pci drivers/input server/terminal } lappend build_components noux-pkg/bash lappend build_components noux-pkg/coreutils lappend build_components test/libports/ncurses build $build_components exec tar cfv bin/bash.tar -h -C bin/bash . exec tar rfv bin/bash.tar -h -C bin/coreutils . create_boot_directory append config { } append_if [have_spec sdl] config { } append_if [have_spec pci] config { } append_if [have_spec vesa] config { } append_if [have_spec pl11x] config { } append_if [have_spec ps2] config { } append config { } install_config $config # # Boot modules # # generic modules set boot_modules { core init timer ld.lib.so noux terminal libc.lib.so libm.lib.so libc_noux.lib.so ncurses.lib.so bash.tar } # platform-specific modules lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec vesa] boot_modules vesa_drv lappend_if [have_spec ps2] boot_modules ps2_drv lappend_if [have_spec pl11x] boot_modules pl11x_drv build_boot_image $boot_modules run_genode_until forever exec rm bin/bash.tar