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:
Stefan Kalkowski 2013-04-29 11:43:54 +02:00 committed by Norman Feske
parent 1d1081c910
commit a5d236475a
5 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -1,4 +1,4 @@
TARGET = omap4_gpio_drv
TARGET = gpio_drv
REQUIRES = omap4
SRC_CC = main.cc
LIBS = base