mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
Unify GPIO driver binary names to 'gpio_drv'
Introduce 'gpio' SPEC variable to easily support a corresponding driver within run scripts.
This commit is contained in:
parent
1d1081c910
commit
a5d236475a
@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
# denote wich specs are also fullfilled by this spec
|
||||
SPECS += cortex_a8 imx53 imx
|
||||
SPECS += cortex_a8 imx53 imx gpio
|
||||
|
||||
# add repository relative include paths
|
||||
REP_INC_DIR += include/platform/imx53
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Enable peripherals of the platform
|
||||
#
|
||||
SPECS += omap4 usb cortex_a9 tl16c750 platform_panda framebuffer
|
||||
SPECS += omap4 usb cortex_a9 tl16c750 platform_panda gpio framebuffer
|
||||
|
||||
#
|
||||
# Pull in CPU specifics
|
||||
|
@ -10,8 +10,8 @@ set build_components {
|
||||
drivers/framebuffer drivers/pci drivers/input
|
||||
}
|
||||
|
||||
lappend_if [have_spec usb] build_components drivers/usb
|
||||
lappend_if [have_spec imx53] build_components drivers/gpio
|
||||
lappend_if [have_spec usb] build_components drivers/usb
|
||||
lappend_if [have_spec gpio] build_components drivers/gpio
|
||||
|
||||
build $build_components
|
||||
|
||||
@ -61,7 +61,7 @@ append_if [have_spec framebuffer] config {
|
||||
<provides><service name="Framebuffer"/></provides>
|
||||
</start>}
|
||||
|
||||
append_if [have_spec imx53] config {
|
||||
append_if [have_spec gpio] config {
|
||||
<start name="gpio_drv">
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<provides><service name="Gpio"/></provides>
|
||||
@ -115,7 +115,7 @@ lappend_if [have_spec pci] boot_modules pci_drv
|
||||
lappend_if [have_spec ps2] boot_modules ps2_drv
|
||||
lappend_if [have_spec framebuffer] boot_modules fb_drv
|
||||
lappend_if [have_spec usb] boot_modules usb_drv
|
||||
lappend_if [have_spec imx53] boot_modules gpio_drv
|
||||
lappend_if [have_spec gpio] boot_modules gpio_drv
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
||||
|
@ -42,7 +42,7 @@ append config {
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides><service name="Timer"/></provides>
|
||||
</start>
|
||||
<start name="omap4_gpio_drv">
|
||||
<start name="gpio_drv">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides><service name="Gpio"/></provides>
|
||||
<config>
|
||||
@ -66,7 +66,7 @@ install_config $config
|
||||
set boot_modules {
|
||||
core init
|
||||
timer
|
||||
omap4_gpio_drv
|
||||
gpio_drv
|
||||
test-omap4_gpio_drv
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
TARGET = omap4_gpio_drv
|
||||
TARGET = gpio_drv
|
||||
REQUIRES = omap4
|
||||
SRC_CC = main.cc
|
||||
LIBS = base
|
||||
|
Loading…
x
Reference in New Issue
Block a user