diff --git a/ports/run/noux_shell_script.run b/ports/run/noux_shell_script.run index df64a5a14..3b232d84a 100644 --- a/ports/run/noux_shell_script.run +++ b/ports/run/noux_shell_script.run @@ -4,6 +4,11 @@ set build_components { server/terminal server/ram_fs test/libports/ncurses } +set use_usb_input [expr ![have_spec ps2] && ![have_spec sdl] && [have_spec usb]] +set use_platform_driver [expr [have_spec platform_arndale] || [have_spec platform_imx53]] + +lappend_if $use_usb_input build_components drivers/usb +lappend_if $use_platform_driver build_components drivers/platform # # Build Noux packages only once @@ -60,6 +65,13 @@ append_if [have_spec sdl] config { } +append_if $use_usb_input config { + + + + + } + append_if [have_spec pci] config { @@ -78,6 +90,12 @@ append_if [have_spec ps2] config { } +append_if $use_platform_driver config { + + + + } + append config { @@ -160,6 +178,8 @@ lappend_if [have_spec linux] boot_modules fb_sdl lappend_if [have_spec pci] boot_modules pci_drv lappend_if [have_spec framebuffer] boot_modules fb_drv lappend_if [have_spec ps2] boot_modules ps2_drv +lappend_if $use_platform_driver boot_modules platform_drv +lappend_if $use_usb_input boot_modules usb_drv build_boot_image $boot_modules