os: name gpio_drv unambigously (ref #2190)

This commit is contained in:
Stefan Kalkowski
2019-04-17 14:13:20 +02:00
committed by Christian Helmuth
parent 911f4ada0a
commit 7c1e3c84ba
38 changed files with 44 additions and 175 deletions

View File

@@ -17,10 +17,6 @@ set build_components {
app/pointer
}
proc gpio_drv { } { if {[have_spec rpi] && [have_spec hw]} { return hw_gpio_drv }
if {[have_spec rpi] && [have_spec foc]} { return foc_gpio_drv }
return gpio_drv }
source ${genode_dir}/repos/base/run/platform_drv.inc
lappend_if [need_usb_hid] build_components drivers/usb

View File

@@ -42,10 +42,6 @@ append_platform_drv_build_components
lappend_if [expr {[nic_drv_binary] == "nic_drv"}] build_components drivers/nic
lappend_if [expr {[nic_drv_binary] == "usb_drv"}] build_components drivers/usb
proc gpio_drv { } { if {[have_spec rpi] && [have_spec hw]} { return hw_gpio_drv }
if {[have_spec rpi] && [have_spec foc]} { return foc_gpio_drv }
return gpio_drv }
lappend_if [have_spec gpio] build_components drivers/gpio
build $build_components