[rtems commit] bsps: Move gpio.c to bsps

Sebastian Huber sebh at rtems.org
Fri Apr 20 13:27:02 UTC 2018


Module:    rtems
Branch:    master
Commit:    ef7845482a3863fb1b4fd6d42408deb69f959d2e
Changeset: http://git.rtems.org/rtems/commit/?id=ef7845482a3863fb1b4fd6d42408deb69f959d2e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Apr 19 06:18:55 2018 +0200

bsps: Move gpio.c to bsps

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(-)

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 d9923d1..889dbe5 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 eb5d6b8..0c7587a 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




More information about the vc mailing list