Changeset e483dc3 in rtems


Ignore:
Timestamp:
Jul 31, 2008, 6:34:31 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
c560ef1
Parents:
694c85ee
Message:

2008-07-31 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Do not build .rel files. Reduces code bloat.
Location:
c/src/lib/libbsp
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/genmcf548x/ChangeLog

    r694c85ee re483dc3  
     12008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am: Do not build .rel files. Reduces code bloat.
     4
    152008-07-17      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/m68k/genmcf548x/Makefile.am

    r694c85ee re483dc3  
    2626dist_project_lib_DATA += startup/linkcmds
    2727
    28 noinst_PROGRAMS += startup.rel
    29 startup_rel_SOURCES = startup/bspclean.c \
    30     ../../shared/bsplibc.c ../../shared/bsppost.c \
    31     ../../m68k/shared/m68kpretaskinghook.c \
    32     startup/init548x.c startup/bspstart.c \
    33     ../../shared/bootcard.c \
    34     ../../shared/sbrk.c ../../m68k/shared/setvec.c \
    35     ../../shared/gnatinstallhandler.c
    36 startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    37 startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    38 
    39 noinst_PROGRAMS += clock.rel
    40 clock_rel_SOURCES = clock/clock.c
    41 clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
    42 clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    43 
    44 noinst_PROGRAMS += console.rel
    45 console_rel_SOURCES = console/console.c
    46 console_rel_CPPFLAGS = $(AM_CPPFLAGS)
    47 console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    48 
    49 noinst_PROGRAMS += timer.rel
    50 timer_rel_SOURCES = timer/timer.c
    51 timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
    52 timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     28startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c  \
     29  ../../shared/bsppost.c ../../m68k/shared/m68kpretaskinghook.c \
     30  startup/init548x.c startup/bspstart.c ../../shared/bootcard.c \
     31  ../../shared/sbrk.c ../../m68k/shared/setvec.c \
     32  ../../shared/gnatinstallhandler.c
     33clock_SOURCES = clock/clock.c
     34console_SOURCES = console/console.c
     35timer_SOURCES = timer/timer.c
    5336
    5437if HAS_NETWORKING
     
    6245
    6346noinst_LIBRARIES = libbsp.a
    64 libbsp_a_SOURCES =
    65 libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
     47
     48libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
     49  $(timer_SOURCES)
     50
     51libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
     52    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    6653if HAS_NETWORKING
    6754libbsp_a_LIBADD += network.rel
    6855endif
    69 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
    70     ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
    7156
    7257include $(srcdir)/preinstall.am
  • c/src/lib/libbsp/powerpc/haleakala/ChangeLog

    r694c85ee re483dc3  
     12008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am: Do not build .rel files. Reduces code bloat.
     4
    152008-07-17      Ralf Corsépius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libbsp/powerpc/haleakala/Makefile.am

    r694c85ee re483dc3  
    2929dist_project_lib_DATA += startup/linkcmds
    3030
    31 
    32 noinst_PROGRAMS += startup.rel
    33 startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
     31startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
    3432    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
    3533    ../../shared/sbrk.c \
    3634    ../../shared/gnatinstallhandler.c
    37 startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    38 startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3935
     36dlentry_SOURCES = dlentry/dlentry.S
    4037
    41 noinst_PROGRAMS += dlentry.rel
    42 dlentry_rel_SOURCES = dlentry/dlentry.S
    43 dlentry_rel_CPPFLAGS = $(AM_CPPFLAGS)
    44 dlentry_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    45 
    46 include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
    47 include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
    48 
    49 noinst_PROGRAMS += console.rel
    50 console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
     38include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
     39    ../../powerpc/shared/console/consoleIo.h
     40console_SOURCES = ../../powerpc/shared/console/uart.c \
    5141    ../../powerpc/shared/console/console.c
    52 console_rel_CPPFLAGS = $(AM_CPPFLAGS)
    53 console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5442
    5543include_bsp_HEADERS += irq/irq.h \
    56         ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
    57         ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
    58         ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
     44    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
     45    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
     46    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
    5947
    60 noinst_PROGRAMS += irq.rel
    61 irq_rel_SOURCES = irq/irq_init.c irq/irq.c
    62 irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
    63 irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    64 
     48irq_SOURCES = irq/irq_init.c irq/irq.c
    6549
    6650## if HAS_NETWORKING
     
    7256## endif
    7357
     58noinst_LIBRARIES = libbsp.a
     59libbsp_a_SOURCES = $(startup_SOURCES) $(dlentry_SOURCES) $(console_SOURCES) \
     60    $(irq_SOURCES)
    7461
    75 noinst_LIBRARIES = libbsp.a
    76 libbsp_a_SOURCES =
    77 
    78 libbsp_a_LIBADD = startup.rel dlentry.rel console.rel irq.rel
     62libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
     63    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
     64    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
     65    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
     66    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
     67    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
     68    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
    7969
    8070## if HAS_NETWORKING
     
    8272## endif
    8373
    84 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
    85         ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
    86         ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
    87         ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
    88         ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
    89         ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
    90         ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
    91 
    92 
    9374EXTRA_DIST += times
    9475
  • c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog

    r694c85ee re483dc3  
     12008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * Makefile.am: Do not build .rel files. Reduces code bloat.
     4
    152008-07-31      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • c/src/lib/libbsp/powerpc/mpc55xxevb/Makefile.am

    r694c85ee re483dc3  
    1111
    1212DISTCLEANFILES = include/bspopts.h
     13
     14noinst_PROGRAMS =
    1315
    1416# Compiler specs
     
    3537include_bspdir = $(includedir)/bsp
    3638include_bsp_HEADERS = include/mpc55xxevb.h \
    37         include/irq-config.h \
    38         ../../shared/include/irq-generic.h \
    39         ../shared/include/tictac.h
     39    include/irq-config.h \
     40    ../../shared/include/irq-generic.h \
     41    ../shared/include/tictac.h
    4042
    41 # BSP library
    42 noinst_LIBRARIES = libbsp.a
    43 libbsp_a_SOURCES =
    44 libbsp_a_LIBADD = $(libcpudir)/shared/cpuIdent.rel \
    45         $(libcpudir)/shared/cache.rel \
    46         $(libcpudir)/shared/stack.rel \
    47         $(libcpudir)/@RTEMS_CPU_MODEL@/misc.rel \
    48         $(libcpudir)/@RTEMS_CPU_MODEL@/irq.rel \
    49         $(libcpudir)/@RTEMS_CPU_MODEL@/edma.rel \
    50         $(libcpudir)/@RTEMS_CPU_MODEL@/dspi.rel \
    51         $(libcpudir)/@RTEMS_CPU_MODEL@/esci.rel \
    52         $(libcpudir)/@exceptions@/rtems-cpu.rel \
    53         $(libcpudir)/@exceptions@/raw_exception.rel \
    54         $(libcpudir)/@exceptions@/exc_bspsupport.rel
     43startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
     44    ../../shared/bootcard.c ../shared/src/tictac.c startup/bspclean.c \
     45    startup/bspstart.c
    5546
    56 # Startup
    57 noinst_PROGRAMS = startup.rel
    58 startup_rel_SOURCES = ../../shared/bsplibc.c \
    59         ../../shared/bsppost.c \
    60         ../../shared/bootcard.c \
    61         ../shared/src/tictac.c \
    62         startup/bspclean.c \
    63         startup/bspstart.c
    64 startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    65 libbsp_a_LIBADD += startup.rel
     47clock_SOURCES = ../shared/clock/clock.c
    6648
    67 # Clock
    68 noinst_PROGRAMS += clock.rel
    69 clock_rel_SOURCES = ../shared/clock/clock.c
    70 clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    71 libbsp_a_LIBADD += clock.rel
     49irq_generic_SOURCES = ../../shared/src/irq-generic.c \
     50    ../../shared/src/irq-legacy.c
    7251
    73 # IRQ
    74 noinst_PROGRAMS += irq-generic.rel
    75 irq_generic_rel_SOURCES = ../../shared/src/irq-generic.c \
    76         ../../shared/src/irq-legacy.c
    77 irq_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    78 libbsp_a_LIBADD += irq-generic.rel
    79 
    80 # Tests
    81 noinst_PROGRAMS += tests.rel
    82 tests_rel_SOURCES = tests/tests.c \
    83         startup/sd-card-init.c
    84 tests_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    85 libbsp_a_LIBADD += tests.rel
     52tests_SOURCES = tests/tests.c startup/sd-card-init.c
    8653
    8754# Network
     
    9158network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE
    9259network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     60endif
     61
     62# BSP library
     63noinst_LIBRARIES = libbsp.a
     64libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(irq_generic_SOURCES) \
     65    $(tests_SOURCES)
     66
     67libbsp_a_LIBADD = $(libcpudir)/shared/cpuIdent.rel \
     68    $(libcpudir)/shared/cache.rel \
     69    $(libcpudir)/shared/stack.rel \
     70    $(libcpudir)/@RTEMS_CPU_MODEL@/misc.rel \
     71    $(libcpudir)/@RTEMS_CPU_MODEL@/irq.rel \
     72    $(libcpudir)/@RTEMS_CPU_MODEL@/edma.rel \
     73    $(libcpudir)/@RTEMS_CPU_MODEL@/dspi.rel \
     74    $(libcpudir)/@RTEMS_CPU_MODEL@/esci.rel \
     75    $(libcpudir)/@exceptions@/rtems-cpu.rel \
     76    $(libcpudir)/@exceptions@/raw_exception.rel \
     77    $(libcpudir)/@exceptions@/exc_bspsupport.rel
     78
     79if HAS_NETWORKING
    9380libbsp_a_LIBADD += network.rel
    9481endif
Note: See TracChangeset for help on using the changeset viewer.