Changeset 0cab067 in rtems


Ignore:
Timestamp:
Mar 23, 2018, 2:54:12 PM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a12dcff8
Parents:
e2bd1f6
git-author:
Sebastian Huber <sebastian.huber@…> (03/23/18 14:54:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/26/18 08:40:42)
Message:

bsps/powerpc: Move libcpu content to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
4 edited
4 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/Makefile.am

    re2bd1f6 r0cab067  
    7676libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    7777libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/ppc-dec-timer.c
     78libbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/gtm.c
     79libbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
     80libbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
    7881
    79 libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
    80         ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel  \
    81         ../../../libcpu/@RTEMS_CPU@/mpc83xx/spi.rel \
    82         ../../../libcpu/@RTEMS_CPU@/mpc83xx/gtm.rel
     82libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel
    8383
    8484if HAS_NETWORKING
    8585libbsp_a_SOURCES += network/network.c
    86 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
     86libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/net/tsec.c
    8787endif
    8888
  • c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am

    re2bd1f6 r0cab067  
    9696
    9797# I2C
    98 libbsp_a_SOURCES += i2c/i2c_init.c \
    99     ../../../libcpu/powerpc/mpc83xx/i2c/mpc83xx_i2cdrv.c
     98libbsp_a_SOURCES += i2c/i2c_init.c
    10099
    101100# Network
     
    109108libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
    110109libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/ppc-dec-timer.c
     110libbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
    111111libbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/dev/dspi.c
    112112libbsp_a_SOURCES += ../../../../../../bsps/powerpc/mpc55xxevb/start/copy.S
  • c/src/lib/libbsp/powerpc/qoriq/Makefile.am

    re2bd1f6 r0cab067  
    104104libbsp_a_SOURCES += network/network.c \
    105105        network/if_intercom.c
    106 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel
     106libbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/net/tsec.c
    107107endif
    108108
  • c/src/lib/libcpu/powerpc/Makefile.am

    re2bd1f6 r0cab067  
    131131endif
    132132
    133 ##############################################################################
    134 # START: MPC83XX                                                             #
    135 ##############################################################################
    136 if mpc83xx
    137 
    138 # Includes
    139 
    140 # Network
    141 if HAS_NETWORKING
    142 noinst_PROGRAMS += mpc83xx/tsec.rel
    143 mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c
    144 mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    145 endif
    146 
    147 # i2c
    148 noinst_PROGRAMS += mpc83xx/i2c.rel
    149 mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \
    150         mpc83xx/i2c/mpc83xx_i2cdrv.h
    151 mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    152 
    153 # SPI
    154 noinst_PROGRAMS += mpc83xx/spi.rel
    155 mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \
    156         mpc83xx/spi/mpc83xx_spidrv.h
    157 mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    158 
    159 # GTM
    160 noinst_PROGRAMS += mpc83xx/gtm.rel
    161 mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \
    162         mpc83xx/include/gtm.h
    163 mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    164 
    165 endif
    166 ##############################################################################
    167 # END: MPC83XX                                                               #
    168 ##############################################################################
    169 
    170 ##############################################################################
    171 # START: QorIQ                                                               #
    172 ##############################################################################
    173 if qoriq
    174 
    175 # Network
    176 if HAS_NETWORKING
    177 noinst_PROGRAMS += tsec.rel
    178 tsec_rel_SOURCES = mpc83xx/network/tsec.c
    179 tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    180 endif
    181 
    182 endif
    183 ##############################################################################
    184 # END: QorIQ                                                                 #
    185 ##############################################################################
    186 
    187133include $(top_srcdir)/../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.