mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 21:32:57 +00:00
noux_bash.run: Don't require usb_drv on x86
This commit is contained in:
parent
5d65308e63
commit
b530fddf86
@ -1,3 +1,8 @@
|
||||
#
|
||||
# On OMAP4 where no PS/2 is available, we rely on USB HID
|
||||
#
|
||||
proc use_usb_input { } { return [expr ![have_spec ps2] && [have_spec usb]] }
|
||||
|
||||
#
|
||||
# Uncomment the following line when working on the VIM source code. Otherwise,
|
||||
# the package may get recompiled, yet it does not get reinstalled into 'bin/'.
|
||||
@ -6,11 +11,13 @@
|
||||
|
||||
set build_components {
|
||||
core init drivers/timer noux/minimal lib/libc_noux
|
||||
drivers/framebuffer drivers/pci drivers/input drivers/usb
|
||||
drivers/framebuffer drivers/pci drivers/input
|
||||
server/terminal server/ram_fs
|
||||
test/libports/ncurses
|
||||
}
|
||||
|
||||
lappend_if [use_usb_input] build_components drivers/usb
|
||||
|
||||
#
|
||||
# Build Noux packages only once
|
||||
#
|
||||
@ -101,7 +108,7 @@ append_if [have_spec ps2] config {
|
||||
<provides><service name="Input"/></provides>
|
||||
</start> }
|
||||
|
||||
append_if [expr ![have_spec ps2] && [have_spec usb]] config {
|
||||
append_if [use_usb_input] config {
|
||||
<start name="usb_drv">
|
||||
<resource name="RAM" quantum="12M"/>
|
||||
<provides><service name="Input"/></provides>
|
||||
@ -189,7 +196,7 @@ 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
|
||||
lappend_if [have_spec omap4] boot_modules omap4_fb_drv
|
||||
lappend_if [have_spec usb] boot_modules usb_drv
|
||||
lappend_if [use_usb_input] boot_modules usb_drv
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user