gpio_drv: get rid of specs foc_rpi and hw_rpi

Ref #2268
This commit is contained in:
Martin Stein 2017-02-01 15:02:00 +01:00 committed by Norman Feske
parent 102676b1c1
commit b26988feeb
10 changed files with 12 additions and 13 deletions

View File

@ -1,2 +0,0 @@
INC_DIR += $(REP_DIR)/src/drivers/gpio/spec/rpi/spec/foc
include $(REP_DIR)/lib/mk/spec/rpi/gpio.inc

View File

@ -1,2 +0,0 @@
INC_DIR += $(REP_DIR)/src/drivers/gpio/spec/rpi/spec/hw
include $(REP_DIR)/lib/mk/spec/rpi/gpio.inc

View File

@ -1,5 +0,0 @@
SRC_CC += main.cc
LIBS += base config server
INC_DIR += $(REP_DIR)/src/drivers/gpio/spec/rpi
vpath % $(REP_DIR)/src/drivers/gpio/spec/rpi

View File

@ -0,0 +1,5 @@
TARGET = foc_gpio_drv
REQUIRES = rpi
SRC_CC += ../main.cc
LIBS += base config server
INC_DIR += $(PRG_DIR) $(PRG_DIR)/..

View File

@ -0,0 +1,5 @@
TARGET = hw_gpio_drv
REQUIRES = rpi
SRC_CC += ../main.cc
LIBS += base config server
INC_DIR += $(PRG_DIR) $(PRG_DIR)/..

View File

@ -1,4 +0,0 @@
TARGET = gpio_drv
REQUIRES = rpi
LIBS += gpio
SRC_CC = empty.cc

View File

@ -1,6 +1,7 @@
proc binary_name_ld_lib_so { } { return "ld-foc.lib.so" }
proc binary_name_core_o { } { return "foc/core.o" }
proc binary_name_timer { } { return "foc_timer_drv" }
proc binary_name_gpio_drv { } { return "foc_gpio_drv" }
proc run_boot_string { } { return "\nL4 Bootstrapper" }

View File

@ -1,6 +1,7 @@
proc binary_name_ld_lib_so { } { return "ld-hw.lib.so" }
proc binary_name_core_o { } { return "hw/core.o" }
proc binary_name_timer { } { return "hw_timer_drv" }
proc binary_name_gpio_drv { } { return "hw_gpio_drv" }
proc run_boot_string { } { return "\nkernel initialized" }