[PATCH 01/40] bsps: Move tod.c to bsps and rename

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Apr 19 13:26:26 UTC 2018


This patch is a part of the BSP source reorganization.

Update #3285.
---
 c/src/lib/libbsp/shared/tod.c => bsps/shared/dev/rtc/rtc-support.c | 0
 c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am                  | 2 +-
 c/src/lib/libbsp/arm/atsam/Makefile.am                             | 2 +-
 c/src/lib/libbsp/arm/beagle/Makefile.am                            | 2 +-
 c/src/lib/libbsp/arm/lpc176x/Makefile.am                           | 2 +-
 c/src/lib/libbsp/arm/lpc24xx/Makefile.am                           | 2 +-
 c/src/lib/libbsp/arm/lpc32xx/Makefile.am                           | 2 +-
 c/src/lib/libbsp/i386/pc386/Makefile.am                            | 2 +-
 c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am                     | 2 +-
 c/src/lib/libbsp/powerpc/beatnik/Makefile.am                       | 2 +-
 c/src/lib/libbsp/powerpc/gen5200/Makefile.am                       | 2 +-
 c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am              | 2 +-
 c/src/lib/libbsp/powerpc/mvme3100/Makefile.am                      | 2 +-
 c/src/lib/libbsp/powerpc/mvme5500/Makefile.am                      | 2 +-
 c/src/lib/libbsp/powerpc/qoriq/Makefile.am                         | 2 +-
 15 files changed, 14 insertions(+), 14 deletions(-)
 rename c/src/lib/libbsp/shared/tod.c => bsps/shared/dev/rtc/rtc-support.c (100%)

diff --git a/c/src/lib/libbsp/shared/tod.c b/bsps/shared/dev/rtc/rtc-support.c
similarity index 100%
rename from c/src/lib/libbsp/shared/tod.c
rename to bsps/shared/dev/rtc/rtc-support.c
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am b/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am
index 8da303a4f3..de805346ea 100644
--- a/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am
+++ b/c/src/lib/libbsp/arm/altera-cyclone-v/Makefile.am
@@ -118,7 +118,7 @@ librtemsbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
 librtemsbsp_a_SOURCES += i2c/i2cdrv.c
 librtemsbsp_a_SOURCES += i2c/i2cdrv-config.c
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc.c
 
 # Cache
diff --git a/c/src/lib/libbsp/arm/atsam/Makefile.am b/c/src/lib/libbsp/arm/atsam/Makefile.am
index 71a6853f6f..930aa7b8c7 100644
--- a/c/src/lib/libbsp/arm/atsam/Makefile.am
+++ b/c/src/lib/libbsp/arm/atsam/Makefile.am
@@ -143,7 +143,7 @@ librtemsbsp_a_SOURCES += spi/atsam_spi_init.c
 librtemsbsp_a_SOURCES += spi/sc16is752.c
 
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc-config.c
 
 # Helper functions
diff --git a/c/src/lib/libbsp/arm/beagle/Makefile.am b/c/src/lib/libbsp/arm/beagle/Makefile.am
index 4e14448864..b906b41813 100644
--- a/c/src/lib/libbsp/arm/beagle/Makefile.am
+++ b/c/src/lib/libbsp/arm/beagle/Makefile.am
@@ -79,7 +79,7 @@ librtemsbsp_a_SOURCES += pwm/pwm.c
 
 #RTC
 librtemsbsp_a_SOURCES += rtc.c
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 # Clock
 librtemsbsp_a_SOURCES += clock.c
 
diff --git a/c/src/lib/libbsp/arm/lpc176x/Makefile.am b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
index db565ed077..61d788a3fa 100644
--- a/c/src/lib/libbsp/arm/lpc176x/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc176x/Makefile.am
@@ -69,7 +69,7 @@ librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
 librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
 
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc-config.c
 
 # GPIO
diff --git a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am b/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
index ccc503e490..81e2b0ddfb 100644
--- a/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc24xx/Makefile.am
@@ -84,7 +84,7 @@ librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
 librtemsbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
 
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc-config.c
 
 # Misc
diff --git a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am b/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
index 00af135b9c..388df7a0a1 100644
--- a/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
+++ b/c/src/lib/libbsp/arm/lpc32xx/Makefile.am
@@ -69,7 +69,7 @@ librtemsbsp_a_SOURCES += console/hsu.c
 librtemsbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
 
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc-config.c
 
 # Misc
diff --git a/c/src/lib/libbsp/i386/pc386/Makefile.am b/c/src/lib/libbsp/i386/pc386/Makefile.am
index af05dd1378..aca8ba6fde 100644
--- a/c/src/lib/libbsp/i386/pc386/Makefile.am
+++ b/c/src/lib/libbsp/i386/pc386/Makefile.am
@@ -50,7 +50,7 @@ librtemsbsp_a_SOURCES =
 # clock
 librtemsbsp_a_SOURCES += clock/ckinit.c
 librtemsbsp_a_SOURCES += clock/todcfg.c
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 
 if RTEMS_VGA
 librtemsbsp_a_SOURCES += console/inch.c
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
index a80cd85627..c364a87990 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am
@@ -41,7 +41,7 @@ librtemsbsp_a_SOURCES += i2c/i2cdrv.c
 # tod
 librtemsbsp_a_SOURCES += tod/ds1307.c
 librtemsbsp_a_SOURCES += tod/todcfg.c
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 # nvram
 librtemsbsp_a_SOURCES += nvram/nvram.c
 
diff --git a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
index 25647c0ff6..c9eec22263 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/beatnik/Makefile.am
@@ -96,7 +96,7 @@ librtemsbsp_a_SOURCES += network/support/early_link_status.c
 endif
 
 # tod
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += tod/todcfg.c
 
 librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/altivec/vec_sup.c
diff --git a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
index 1beb67ccff..24e58ed9af 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/gen5200/Makefile.am
@@ -84,7 +84,7 @@ librtemsbsp_a_SOURCES += slicetimer/slicetimer.c
 # tod
 librtemsbsp_a_SOURCES += tod/todcfg.c
 librtemsbsp_a_SOURCES += tod/pcf8563.c
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 
 # startup
 librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
index acdd53f092..a1de84e290 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am
@@ -49,7 +49,7 @@ librtemsbsp_a_SOURCES += startup/bspreset.c
 
 
 # tod
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += ../shared/tod/todcfg.c
 # pclock
 librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
index ed47138c1a..e579f170c3 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme3100/Makefile.am
@@ -47,7 +47,7 @@ librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
 librtemsbsp_a_SOURCES += ../../shared/bspclean.c
 librtemsbsp_a_SOURCES += ../../shared/bspreset.c
 # tod
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += tod/todcfg.c
 # pclock
 librtemsbsp_a_SOURCES += ../shared/clock/p_clock.c
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
index 72972a8d9e..122122defa 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am
@@ -44,7 +44,7 @@ librtemsbsp_a_SOURCES += irq/irq_init.c
 librtemsbsp_a_SOURCES += irq/BSP_irq.c
 
 # tod
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += tod/todcfg.c
 
 # vectors
diff --git a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
index 6a0aa116a6..0b190659a7 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/qoriq/Makefile.am
@@ -73,7 +73,7 @@ librtemsbsp_a_SOURCES += console/uart-bridge-slave.c
 librtemsbsp_a_SOURCES += console/console-config.c
 
 # RTC
-librtemsbsp_a_SOURCES += ../../shared/tod.c
+librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
 librtemsbsp_a_SOURCES += rtc/rtc-config.c
 
 # MPCI
-- 
2.12.3



More information about the devel mailing list