Ignore:
Timestamp:
May 14, 2008, 8:28:09 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
21637fd
Parents:
da78fee
Message:

2008-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Rework to avoid .rel files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/rtl22xx/Makefile.am

    rda78fee r1d0ee80e  
    2727dist_project_lib_DATA += startup/linkcmds
    2828
    29 noinst_PROGRAMS += startup.rel
    3029include_HEADERS += ../../arm/shared/comm/uart.h
    31 startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
     30startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
    3231    ../../shared/bsppredriverhook.c \
    3332    startup/bspstart.c startup/bspclean.c ../../shared/bootcard.c \
    3433    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
    35 startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    36 startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    37 
    38 noinst_PROGRAMS += console.rel
    39 console_rel_SOURCES = ../../shared/console.c
    40 console_rel_CPPFLAGS = $(AM_CPPFLAGS)
    41 console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    42 
    43 noinst_PROGRAMS += simple_abort.rel
    44 simple_abort_rel_SOURCES = ../shared/abort/simple_abort.c
    45 simple_abort_rel_CPPFLAGS = $(AM_CPPFLAGS)
    46 simple_abort_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    47 
    48 noinst_PROGRAMS += debugio.rel
    49 debugio_rel_SOURCES = console/uart.c
    50 debugio_rel_CPPFLAGS = $(AM_CPPFLAGS)
    51 debugio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     34console_SOURCES = ../../shared/console.c
     35simple_abort_SOURCES = ../shared/abort/simple_abort.c
     36debugio_SOURCES = console/uart.c
    5237
    5338if HAS_NETWORKING
     
    6045
    6146noinst_LIBRARIES = libbsp.a
    62 libbsp_a_SOURCES =
    63 libbsp_a_LIBADD =  console.rel debugio.rel simple_abort.rel
     47libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) \
     48  $(simple_abort_SOURCES) $(debugio_SOURCES)
     49
     50libbsp_a_LIBADD =  \
     51    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
     52    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
     53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
    6454if HAS_NETWORKING
    6555libbsp_a_LIBADD += network.rel
    6656endif
    6757
    68 libbsp_a_LIBADD +=  \
    69     ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
    70     ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
    71     ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
    72 
    73 libbsp_a_LIBADD +=  \
    74 startup_rel-bootcard.o \
    75 startup_rel-bspclean.o \
    76 startup_rel-bsplibc.o \
    77 startup_rel-bsppost.o \
    78 startup_rel-bsppredriverhook.o \
    79 startup_rel-bspstart.o \
    80 startup_rel-sbrk.o
    81 
    8258include $(srcdir)/preinstall.am
    8359include $(top_srcdir)/../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.