Changeset 27de4e1f in rtems


Ignore:
Timestamp:
Apr 3, 2018, 5:20:11 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
82bc976
Parents:
8621ed38
git-author:
Sebastian Huber <sebastian.huber@…> (04/03/18 05:20:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/04/18 08:13:28)
Message:

bsps: Move libchip to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

Files:
5 edited
78 moved

Legend:

Unmodified
Added
Removed
  • bsps/shared/dev/i2c/i2c-sc620.c

    r8621ed38 r27de4e1f  
    1818 * http://www.rtems.org/license/LICENSE.
    1919 */
    20 
    21 #ifdef HAVE_CONFIG_H
    22   #include "config.h"
    23 #endif
    2420
    2521#include <libchip/i2c-sc620.h>
  • bsps/shared/shared-sources.am

    r8621ed38 r27de4e1f  
     1libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/display/disp_hcms29xx.c
     2libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/display/font_hcms29xx.c
     3libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/flash/am29lv160.c
     4libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/i2c-2b-eeprom.c
     5libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/i2c-ds1621.c
     6libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/i2c-sc620.c
     7libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/spi-flash-m25p40.c
     8libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/spi-fram-fm25l256.c
     9libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/spi-memdrv.c
     10libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/i2c/spi-sd-card.c
     11libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/ide/ata.c
     12libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/ide/ata_util.c
     13libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/ide/ide_controller.c
     14libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/ds1375.c
     15libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/icm7170.c
     16libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/icm7170_reg2.c
     17libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/icm7170_reg4.c
     18libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/icm7170_reg8.c
     19libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/icm7170_reg.c
     20libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/m48t08.c
     21libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/m48t08_reg2.c
     22libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/m48t08_reg4.c
     23libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/m48t08_reg8.c
     24libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/m48t08_reg.c
     25libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/mc146818a.c
     26libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/mc146818a_ioreg.c
     27libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtcprobe.c
     28libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681_baud.c
     29libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681.c
     30libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681_reg2.c
     31libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681_reg4.c
     32libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681_reg8.c
     33libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/mc68681_reg.c
     34libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/ns16550.c
     35libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/ns16550-context.c
     36libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/serprobe.c
     37libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/z85c30.c
     38libbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/z85c30_reg.c
     39if HAS_NETWORKING
     40libbsp_a_SOURCES += ../../../../../../bsps/shared/net/cs8900.c
     41libbsp_a_SOURCES += ../../../../../../bsps/shared/net/dec21140.c
     42libbsp_a_SOURCES += ../../../../../../bsps/shared/net/elnk.c
     43if !HAS_SMP
     44libbsp_a_SOURCES += ../../../../../../bsps/shared/net/greth2.c
     45endif
     46libbsp_a_SOURCES += ../../../../../../bsps/shared/net/i82586.c
     47libbsp_a_SOURCES += ../../../../../../bsps/shared/net/if_dc.c
     48libbsp_a_SOURCES += ../../../../../../bsps/shared/net/if_fxp.c
     49libbsp_a_SOURCES += ../../../../../../bsps/shared/net/open_eth.c
     50libbsp_a_SOURCES += ../../../../../../bsps/shared/net/smc91111.c
     51libbsp_a_SOURCES += ../../../../../../bsps/shared/net/sonic.c
     52endif
    153libbsp_a_SOURCES += ../../../../../../bsps/shared/rtems-version.c
  • c/src/configure.ac

    r8621ed38 r27de4e1f  
    2424
    2525RTEMS_CHECK_POSIX_API(RTEMS_BSP)
    26 RTEMS_CHECK_SMP
    2726
    2827AC_MSG_NOTICE([setting up make/custom])
     
    112111AC_SUBST(CUSTOM_CFG_FILES)
    113112
    114 RTEMS_CHECK_NETWORKING(RTEMS_BSP)
    115113RTEMS_CHECK_MULTIPROCESSING
    116114
     
    156154])
    157155
    158 AM_CONDITIONAL([HAS_NETWORKING],[test "$HAS_NETWORKING" = "yes"])
    159 AM_CONDITIONAL(HAS_SMP,[test "$rtems_cv_HAS_SMP" = "yes"])
    160 
    161156RTEMS_PROJECT_ROOT
    162157
  • c/src/lib/libbsp/powerpc/gen5200/Makefile.am

    r8621ed38 r27de4e1f  
    5858# ide
    5959libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
    60 libbsp_a_SOURCES += ide/ata.c
     60libbsp_a_SOURCES += ../../../../../../bsps/powerpc/gen5200/dev/mpc5200-ata.c
    6161libbsp_a_SOURCES += ide/ata-instance.c
    6262libbsp_a_SOURCES += ide/ata-dma-pio-single.c
  • c/src/libchip/Makefile.am

    r8621ed38 r27de4e1f  
    11include $(top_srcdir)/automake/compile.am
    2 
    3 noinst_LIBRARIES =
    4 noinst_PROGRAMS =
    5 
    6 # display
    7 noinst_LIBRARIES += libdisplay.a
    8 libdisplay_a_SOURCES = display/disp_hcms29xx.c display/font_hcms29xx.c
    9 libdisplay_a_CPPFLAGS = $(AM_CPPFLAGS)
    10 
    11 # flash
    12 noinst_LIBRARIES += libflash.a
    13 libflash_a_SOURCES = flash/am29lv160.c
    14 libflash_a_CPPFLAGS = $(AM_CPPFLAGS)
    15 
    16 # ide
    17 noinst_LIBRARIES += libide.a
    18 libide_a_SOURCES = ide/ata.c ide/ata_util.c ide/ide_controller.c
    19 libide_a_CPPFLAGS = $(AM_CPPFLAGS)
    20 
    21 # network
    22 if HAS_NETWORKING
    23 noinst_LIBRARIES += libnetchip.a
    24 libnetchip_a_CPPFLAGS = $(AM_CPPFLAGS)
    25 libnetchip_a_SOURCES = network/cs8900.c network/dec21140.c network/i82586.c \
    26     network/sonic.c network/if_fxp.c network/elnk.c network/open_eth.c \
    27     network/if_dc.c
    28 if !HAS_SMP
    29 libnetchip_a_SOURCES += network/greth.c
    30 endif
    31 libnetchip_a_SOURCES += network/smc91111.c network/smc91111config.h
    32 endif
    33 
    34 
    35 # rtc
    36 noinst_LIBRARIES += librtcio.a
    37 librtcio_a_CPPFLAGS = $(AM_CPPFLAGS)
    38 librtcio_a_SOURCES = rtc/rtcprobe.c rtc/icm7170.c rtc/icm7170_reg.c \
    39     rtc/icm7170_reg2.c rtc/icm7170_reg4.c rtc/icm7170_reg8.c rtc/m48t08.c \
    40     rtc/m48t08_reg.c rtc/m48t08_reg2.c rtc/m48t08_reg4.c rtc/m48t08_reg8.c \
    41     rtc/mc146818a.c rtc/mc146818a_ioreg.c rtc/ds1375.c
    42 
    43 
    44 # i2c
    45 noinst_LIBRARIES += libi2cio.a
    46 
    47 libi2cio_a_CPPFLAGS = $(AM_CPPFLAGS)
    48 libi2cio_a_SOURCES = i2c/i2c-ds1621.h \
    49         i2c/i2c-2b-eeprom.h \
    50         i2c/spi-memdrv.h \
    51         i2c/spi-flash-m25p40.h \
    52         i2c/spi-fram-fm25l256.h \
    53         i2c/i2c-ds1621.c \
    54         i2c/i2c-2b-eeprom.c \
    55         i2c/i2c-sc620.c \
    56         i2c/spi-memdrv.c \
    57         i2c/spi-flash-m25p40.c \
    58         i2c/spi-fram-fm25l256.c \
    59         i2c/spi-sd-card.c
    60 
    61 # serial
    62 noinst_LIBRARIES += libserialio.a
    63 libserialio_a_CPPFLAGS = $(AM_CPPFLAGS)
    64 libserialio_a_SOURCES = serial/mc68681.c serial/mc68681_baud.c \
    65     serial/mc68681_reg.c serial/mc68681_reg2.c serial/mc68681_reg4.c \
    66     serial/mc68681_reg8.c serial/ns16550.c serial/z85c30.c \
    67     serial/z85c30_reg.c serial/serprobe.c serial/mc68681_p.h \
    68     serial/z85c30_p.h
    69 libserialio_a_SOURCES += serial/ns16550-context.c
    70 
    712
    723## shmdr
    734if HAS_MP
    74 noinst_LIBRARIES += libshmdr.a
     5noinst_LIBRARIES = libshmdr.a
    756libshmdr_a_CPPFLAGS = $(AM_CPPFLAGS)
    767libshmdr_a_SOURCES = shmdr/addlq.c shmdr/cnvpkt.c shmdr/getlq.c shmdr/dump.c \
  • c/src/wrapup/Makefile.am

    r8621ed38 r27de4e1f  
    1414CLEANFILES = o-optimize/librtemsbsp.a
    1515
    16 SRCS += ../lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/libbsp.a
    17 
    18 SRCS += ../libchip/libflash.a
    19 SRCS += ../libchip/librtcio.a
    20 SRCS += ../libchip/libserialio.a
    21 SRCS += ../libchip/libide.a
    22 if HAS_NETWORKING
    23 SRCS += ../libchip/libnetchip.a
    24 endif
    25 SRCS += ../libchip/libi2cio.a
    26 SRCS += ../libchip/libdisplay.a
     16SRCS = ../lib/libbsp/@RTEMS_CPU@/@RTEMS_BSP_FAMILY@/libbsp.a
    2717
    2818if HAS_MP
Note: See TracChangeset for help on using the changeset viewer.