[PATCH 26/40] bsps: Move gpio.c to bsps
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Apr 19 13:26:51 UTC 2018
This patch is a part of the BSP source reorganization.
Update #3285.
---
c/src/lib/libbsp/shared/gpio.c => bsps/shared/dev/gpio/gpio-support.c | 0
c/src/lib/libbsp/arm/beagle/Makefile.am | 2 +-
c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
rename c/src/lib/libbsp/shared/gpio.c => bsps/shared/dev/gpio/gpio-support.c (100%)
diff --git a/c/src/lib/libbsp/shared/gpio.c b/bsps/shared/dev/gpio/gpio-support.c
similarity index 100%
rename from c/src/lib/libbsp/shared/gpio.c
rename to bsps/shared/dev/gpio/gpio-support.c
diff --git a/c/src/lib/libbsp/arm/beagle/Makefile.am b/c/src/lib/libbsp/arm/beagle/Makefile.am
index d9923d1248..889dbe5b41 100644
--- a/c/src/lib/libbsp/arm/beagle/Makefile.am
+++ b/c/src/lib/libbsp/arm/beagle/Makefile.am
@@ -43,7 +43,7 @@ librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
librtemsbsp_a_SOURCES += ../../shared/sbrk.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
-librtemsbsp_a_SOURCES += ../../shared/gpio.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
librtemsbsp_a_SOURCES += ../../shared/cpucounterread.c
diff --git a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
index eb5d6b8474..0c7587a544 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
+++ b/c/src/lib/libbsp/arm/raspberrypi/Makefile.am
@@ -88,7 +88,7 @@ librtemsbsp_a_SOURCES += clock/clockdrv.c
librtemsbsp_a_SOURCES += misc/timer.c
# GPIO
-librtemsbsp_a_SOURCES += ../../shared/gpio.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/gpio/gpio-support.c
librtemsbsp_a_SOURCES += gpio/rpi-gpio.c
# RTC
--
2.12.3
More information about the devel
mailing list