Changeset b78b814 in rtems


Ignore:
Timestamp:
Apr 10, 2018, 4:36:19 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
b10caf8
Parents:
6c4140c
git-author:
Sebastian Huber <sebastian.huber@…> (04/10/18 04:36:19)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/12/18 05:09:11)
Message:

bsps: Avoid source variables in Makefile.am

This patch is a part of the BSP source reorganization.

Update #3285.

Location:
c/src/lib/libbsp
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m32c/m32cbsp/Makefile.am

    r6c4140c rb78b814  
    1515project_lib_DATA += linkcmds
    1616
    17 startup_SOURCES = ../../shared/bspclean.c \
    18     ../../shared/bsppredriverhook.c \
    19     ../../shared/bspgetworkarea.c \
    20     ../../shared/bspreset.c \
    21     startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
    22     ../../shared/getentropy-cpucounter.c \
    23     ../../shared/gnatinstallhandler.c startup/crtn.S
    24 clock_SOURCES = ../../shared/clock_driver_simidle.c
    25 console_SOURCES = ../../shared/console-polled.c console/console-io.c \
    26    console/syscalls.S
    27 timer_SOURCES = timer/timer.c
    28 
    2917project_lib_LIBRARIES = librtemsbsp.a
    30 librtemsbsp_a_SOURCES = $(startup_SOURCES)
    31 librtemsbsp_a_SOURCES += $(clock_SOURCES)
    32 librtemsbsp_a_SOURCES += $(console_SOURCES)
    33 librtemsbsp_a_SOURCES += $(timer_SOURCES)
     18librtemsbsp_a_SOURCES =
     19librtemsbsp_a_SOURCES += ../../shared/bspclean.c
     20librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     21librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
     22librtemsbsp_a_SOURCES += ../../shared/bspreset.c
     23librtemsbsp_a_SOURCES += startup/bspstart.c
     24librtemsbsp_a_SOURCES += ../../shared/bootcard.c
     25librtemsbsp_a_SOURCES += ../../shared/sbrk.c
     26librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
     27librtemsbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
     28librtemsbsp_a_SOURCES += startup/crtn.S
     29librtemsbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
     30librtemsbsp_a_SOURCES += ../../shared/console-polled.c
     31librtemsbsp_a_SOURCES += console/console-io.c
     32librtemsbsp_a_SOURCES += console/syscalls.S
     33librtemsbsp_a_SOURCES += timer/timer.c
    3434
    3535# Cache
  • c/src/lib/libbsp/powerpc/qemuppc/Makefile.am

    r6c4140c rb78b814  
    1919project_lib_DATA += linkcmds
    2020
     21project_lib_LIBRARIES = librtemsbsp.a
     22librtemsbsp_a_SOURCES =
    2123# startup
    22 startup_SOURCES = ../../shared/bspclean.c \
    23     ../../shared/bsppredriverhook.c \
    24     ../../shared/bspgetworkarea.c \
    25     ../../shared/bspreset.c \
    26     ../../shared/bootcard.c ../../shared/sbrk.c \
    27     ../../shared/getentropy-cpucounter.c \
    28     ../../shared/gnatinstallhandler.c \
    29     startup/cmain.c startup/bspstart.c
     24librtemsbsp_a_SOURCES += ../../shared/bspclean.c
     25librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     26librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
     27librtemsbsp_a_SOURCES += ../../shared/bspreset.c
     28librtemsbsp_a_SOURCES += ../../shared/bootcard.c
     29librtemsbsp_a_SOURCES += ../../shared/sbrk.c
     30librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
     31librtemsbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
     32librtemsbsp_a_SOURCES += startup/cmain.c
     33librtemsbsp_a_SOURCES += startup/bspstart.c
    3034# pclock
    31 # clock_SOURCES = ../../shared/clock_driver_simidle.c
    32 clock_SOURCES = ../shared/clock/clock.c
     35librtemsbsp_a_SOURCES += ../shared/clock/clock.c
    3336# console
    34 console_SOURCES = ../../shared/console-polled.c console/console-io.c
     37librtemsbsp_a_SOURCES += ../../shared/console-polled.c
     38librtemsbsp_a_SOURCES += console/console-io.c
    3539
    3640# irq
    37 irq_SOURCES =
    38 irq_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
    39 irq_SOURCES += irq/irq_init.c
    40 
    41 project_lib_LIBRARIES = librtemsbsp.a
    42 librtemsbsp_a_SOURCES = $(startup_SOURCES)
    43 librtemsbsp_a_SOURCES += $(clock_SOURCES)
    44 librtemsbsp_a_SOURCES += $(console_SOURCES)
    45 librtemsbsp_a_SOURCES += $(irq_SOURCES)
     41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
     42librtemsbsp_a_SOURCES += irq/irq_init.c
    4643
    4744librtemsbsp_a_SOURCES += ../../../../../../bsps/powerpc/shared/cache/cache.c
  • c/src/lib/libbsp/sparc64/niagara/Makefile.am

    r6c4140c rb78b814  
    1616dist_project_lib_DATA += ../shared/startup/linkcmds
    1717
    18 startup_SOURCES = startup/bspclean.c startup/m5op_sparc.S \
    19     ../../shared/bsppredriverhook.c \
    20     ../../shared/bootcard.c ../../shared/sbrk.c \
    21     ../../shared/getentropy-cpucounter.c \
    22     ../../shared/bspgetworkarea.c \
    23     ../../shared/bspstart.c \
    24     ../../shared/bspreset.c \
    25     ../shared/startup/setvec.c \
    26     ../../shared/gnatinstallhandler.c  \
    27     ../shared/helenos/boot/genarch/balloc.c \
    28     ../shared/helenos/boot/genarch/ofw.c \
    29     ../shared/helenos/boot/genarch/ofw_tree.c \
    30     ../shared/helenos/boot/generic/string.c \
    31     ../shared/helenos/boot/sparc64/loader/ofwarch.c \
    32     ../shared/helenos/boot/sparc64/loader/main.c \
    33     ../shared/helenos/boot/sparc64/loader/ofwasm.S \
    34     start/bspinit.S \
    35     ../shared/asm/asm.S
     18project_lib_LIBRARIES = librtemsbsp.a
     19librtemsbsp_a_SOURCES =
     20librtemsbsp_a_SOURCES += startup/bspclean.c
     21librtemsbsp_a_SOURCES += startup/m5op_sparc.S
     22librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     23librtemsbsp_a_SOURCES += ../../shared/bootcard.c
     24librtemsbsp_a_SOURCES += ../../shared/sbrk.c
     25librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
     26librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
     27librtemsbsp_a_SOURCES += ../../shared/bspstart.c
     28librtemsbsp_a_SOURCES += ../../shared/bspreset.c
     29librtemsbsp_a_SOURCES += ../shared/startup/setvec.c
     30librtemsbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
     31librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/balloc.c
     32librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/ofw.c
     33librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/ofw_tree.c
     34librtemsbsp_a_SOURCES += ../shared/helenos/boot/generic/string.c
     35librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/ofwarch.c
     36librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/main.c
     37librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/ofwasm.S
     38librtemsbsp_a_SOURCES += start/bspinit.S
     39librtemsbsp_a_SOURCES += ../shared/asm/asm.S
    3640
    37 #clock_SOURCES = ../../shared/clock_driver_simidle.c
    38 clock_SOURCES = ../shared/clock/ckinit.c
     41librtemsbsp_a_SOURCES += ../shared/clock/ckinit.c
    3942
    40 console_SOURCES = ../shared/console/conscfg.c
    41 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
    42 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
    43 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
     43librtemsbsp_a_SOURCES += ../shared/console/conscfg.c
     44librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
     45librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
     46librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
    4447
    45 timer_SOURCES = ../../shared/timerstub.c
    46 
    47 project_lib_LIBRARIES = librtemsbsp.a
    48 librtemsbsp_a_SOURCES = $(startup_SOURCES)
    49 librtemsbsp_a_SOURCES += $(clock_SOURCES)
    50 librtemsbsp_a_SOURCES += $(console_SOURCES)
    51 librtemsbsp_a_SOURCES += $(timer_SOURCES)
     48librtemsbsp_a_SOURCES += ../../shared/timerstub.c
    5249
    5350librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
  • c/src/lib/libbsp/sparc64/usiii/Makefile.am

    r6c4140c rb78b814  
    2424dist_project_lib_DATA += ../shared/startup/linkcmds
    2525
    26 startup_SOURCES = ../../shared/bspclean.c \
    27     ../../shared/bspstart.c \
    28     ../../shared/bootcard.c ../../shared/sbrk.c \
    29     ../../shared/getentropy-cpucounter.c \
    30     ../../shared/bspgetworkarea.c \
    31     ../../shared/bsppredriverhook.c \
    32     ../../shared/bspreset.c \
    33     ../shared/startup/setvec.c \
    34     ../../shared/gnatinstallhandler.c  \
    35     ../shared/helenos/boot/genarch/balloc.c \
    36     ../shared/helenos/boot/genarch/ofw.c \
    37     ../shared/helenos/boot/genarch/ofw_tree.c \
    38     ../shared/helenos/boot/generic/string.c \
    39     ../shared/helenos/boot/sparc64/loader/ofwarch.c \
    40     ../shared/helenos/boot/sparc64/loader/main.c \
    41     ../shared/helenos/boot/sparc64/loader/ofwasm.S \
    42     ../shared/asm/asm.S \
    43     start/bspinit.S
     26project_lib_LIBRARIES = librtemsbsp.a
     27librtemsbsp_a_SOURCES =
     28librtemsbsp_a_SOURCES += ../../shared/bspclean.c
     29librtemsbsp_a_SOURCES += ../../shared/bspstart.c
     30librtemsbsp_a_SOURCES += ../../shared/bootcard.c
     31librtemsbsp_a_SOURCES += ../../shared/sbrk.c
     32librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
     33librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
     34librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     35librtemsbsp_a_SOURCES += ../../shared/bspreset.c
     36librtemsbsp_a_SOURCES += ../shared/startup/setvec.c
     37librtemsbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
     38librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/balloc.c
     39librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/ofw.c
     40librtemsbsp_a_SOURCES += ../shared/helenos/boot/genarch/ofw_tree.c
     41librtemsbsp_a_SOURCES += ../shared/helenos/boot/generic/string.c
     42librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/ofwarch.c
     43librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/main.c
     44librtemsbsp_a_SOURCES += ../shared/helenos/boot/sparc64/loader/ofwasm.S
     45librtemsbsp_a_SOURCES += ../shared/asm/asm.S
     46librtemsbsp_a_SOURCES += start/bspinit.S
    4447
    45 mmu_SOURCES = \
    46     ../shared/helenos/kernel/sparc64/src/cache.S \
    47     ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S \
    48     ../shared/start/trap_table.S
     48librtemsbsp_a_SOURCES += ../shared/helenos/kernel/sparc64/src/cache.S
     49librtemsbsp_a_SOURCES += ../shared/helenos/kernel/sparc64/src/sun4u/takemmu.S
     50librtemsbsp_a_SOURCES += ../shared/start/trap_table.S
    4951
    50 #clock_SOURCES = ../../shared/clock_driver_simidle.c
    51 clock_SOURCES = ../shared/clock/ckinit.c
     52librtemsbsp_a_SOURCES += ../shared/clock/ckinit.c
    5253
    53 console_SOURCES = ../shared/console/conscfg.c
    54 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
    55 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
    56 console_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
     54librtemsbsp_a_SOURCES += ../shared/console/conscfg.c
     55librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
     56librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
     57librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
    5758
    58 timer_SOURCES = ../../shared/timerstub.c
    59 
    60 project_lib_LIBRARIES = librtemsbsp.a
    61 librtemsbsp_a_SOURCES = $(startup_SOURCES)
    62 librtemsbsp_a_SOURCES += $(mmu_SOURCES)
    63 librtemsbsp_a_SOURCES += $(clock_SOURCES)
    64 librtemsbsp_a_SOURCES += $(console_SOURCES)
    65 librtemsbsp_a_SOURCES += $(timer_SOURCES)
     59librtemsbsp_a_SOURCES += ../../shared/timerstub.c
    6660
    6761librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
Note: See TracChangeset for help on using the changeset viewer.