Changeset 155881a in rtems for c/src/lib/libbsp/m68k


Ignore:
Timestamp:
Jan 28, 2004, 11:31:53 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
57f360af
Parents:
86b448a
Message:

2004-01-28 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Merge-in console/Makefile.am, i2c/Makefile.am, nvram/Makefile.am, startup/Makefile.am, tod/Makefile.am, wrapup/Makefile.am. Use automake compilation rules.
  • console/Makefile.am, i2c/Makefile.am, nvram/Makefile.am, startup/Makefile.am, tod/Makefile.am, wrapup/Makefile.am: Remove.
  • configure.ac: Reflect changes above.
Location:
c/src/lib/libbsp/m68k/mcf5206elite
Files:
6 deleted
3 edited

Legend:

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

    r86b448a r155881a  
     12004-01-28      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Merge-in console/Makefile.am, i2c/Makefile.am,
     4        nvram/Makefile.am, startup/Makefile.am, tod/Makefile.am,
     5        wrapup/Makefile.am.
     6        Use automake compilation rules.
     7        * console/Makefile.am, i2c/Makefile.am, nvram/Makefile.am,
     8        startup/Makefile.am, tod/Makefile.am, wrapup/Makefile.am:
     9        Remove.
     10        * configure.ac: Reflect changes above.
     11
    1122004-01-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    213
  • c/src/lib/libbsp/m68k/mcf5206elite/Makefile.am

    r86b448a r155881a  
    88include $(top_srcdir)/../../bsp.am
    99
    10 # wrapup is the one that actually builds and installs the library
    11 # from the individual .rel files built in other directories
     10EXTRA_PROGRAMS =
     11CLEANFILES =
     12noinst_DATA =
    1213
    13 SUBDIRS = . startup console i2c tod nvram tools wrapup
     14SUBDIRS = . tools
    1415
    1516include_HEADERS += include/coverhd.h
     
    1819include_HEADERS += include/ds1307.h
    1920include_HEADERS += include/nvram.h
    20 nodist_include_HEADERS += $(top_srcdir)/../../shared/tod.h
     21nodist_include_HEADERS += ../../shared/tod.h
    2122
    2223EXTRA_DIST = times
    2324
    24 S_FILES = start/start.S
    25 $(ARCH)/%$(LIB_VARIANT).$(OBJEXT): start/start.S $(ARCH)/$(dirstamp)
     25EXTRA_DIST += start/start.S
     26start$(LIB_VARIANT).$(OBJEXT): start/start.S
    2627        $(CCASCOMPILE) -DASM -o $@ -c $<
    2728
    28 project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
     29project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
     30
     31dist_project_lib_DATA += startup/linkcmds startup/gdbinit \
     32    startup/linkcmds.flash
     33
     34EXTRA_PROGRAMS += startup.rel
     35CLEANFILES += startup.rel
     36startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
     37    ../../shared/bsppost.c ../shared/m68kpretaskinghook.c startup/bspstart.c \
     38    startup/init5206e.c ../../shared/bootcard.c ../../shared/main.c \
     39    ../../shared/sbrk.c ../shared/setvec.c \
     40    ../../shared/gnatinstallhandler.c
     41startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     42startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     43
     44EXTRA_PROGRAMS += startup_g.rel
     45CLEANFILES += startup_g.rel
     46startup_g_rel_SOURCES = $(startup_rel_SOURCES)
     47startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     48startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     49
     50noinst_DATA += startup$(LIB_VARIANT).rel
     51
     52EXTRA_PROGRAMS += console.rel
     53CLEANFILES += console.rel
     54console_rel_SOURCES = console/console.c
     55console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     56console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     57
     58EXTRA_PROGRAMS += console_g.rel
     59CLEANFILES += console_g.rel
     60console_g_rel_SOURCES = $(console_rel_SOURCES)
     61console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     62console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     63
     64noinst_DATA += console$(LIB_VARIANT).rel
     65
     66EXTRA_PROGRAMS += i2c.rel
     67CLEANFILES += i2c.rel
     68i2c_rel_SOURCES = i2c/i2c.c i2c/i2cdrv.c
     69i2c_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     70i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     71
     72EXTRA_PROGRAMS += i2c_g.rel
     73CLEANFILES += i2c_g.rel
     74i2c_g_rel_SOURCES = $(i2c_rel_SOURCES)
     75i2c_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     76i2c_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     77
     78noinst_DATA += i2c$(LIB_VARIANT).rel
     79
     80EXTRA_PROGRAMS += tod.rel
     81CLEANFILES += tod.rel
     82tod_rel_SOURCES = tod/ds1307.c tod/todcfg.c ../../shared/tod.c
     83tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     84tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     85
     86EXTRA_PROGRAMS += tod_g.rel
     87CLEANFILES += tod_g.rel
     88tod_g_rel_SOURCES = $(tod_rel_SOURCES)
     89tod_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     90tod_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     91
     92noinst_DATA += tod$(LIB_VARIANT).rel
     93
     94EXTRA_PROGRAMS += nvram.rel
     95CLEANFILES += nvram.rel
     96nvram_rel_SOURCES = nvram/nvram.c
     97nvram_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     98nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     99
     100EXTRA_PROGRAMS += nvram_g.rel
     101CLEANFILES += nvram_g.rel
     102nvram_g_rel_SOURCES = $(nvram_rel_SOURCES)
     103nvram_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     104nvram_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     105
     106noinst_DATA += nvram$(LIB_VARIANT).rel
     107
     108EXTRA_LIBRARIES = libbsp.a
     109CLEANFILES += libbsp.a
     110libbsp_a_SOURCES =
     111libbsp_a_LIBADD = startup$(LIB_VARIANT).rel console$(LIB_VARIANT).rel \
     112    i2c$(LIB_VARIANT).rel tod$(LIB_VARIANT).rel nvram$(LIB_VARIANT).rel
     113libbsp_a_LIBADD += \
     114    ../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
     115    ../../../libcpu/@RTEMS_CPU@/shared/misc$(LIB_VARIANT).rel \
     116    ../../../libcpu/@RTEMS_CPU@/mcf5206/clock$(LIB_VARIANT).rel \
     117    ../../../libcpu/@RTEMS_CPU@/mcf5206/console$(LIB_VARIANT).rel \
     118    ../../../libcpu/@RTEMS_CPU@/mcf5206/timer$(LIB_VARIANT).rel \
     119    ../../../libcpu/@RTEMS_CPU@/mcf5206/mbus$(LIB_VARIANT).rel
     120
     121EXTRA_LIBRARIES += libbsp_g.a
     122CLEANFILES += libbsp_g.a
     123libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
     124libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
     125
     126noinst_DATA += libbsp$(LIB_VARIANT).a
    29127
    30128all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     
    53151PREINSTALL_FILES += $(PROJECT_INCLUDE)/nvram.h
    54152
    55 $(PROJECT_INCLUDE)/tod.h: $(top_srcdir)/../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
     153$(PROJECT_INCLUDE)/tod.h: ../../shared/tod.h $(PROJECT_INCLUDE)/$(dirstamp)
    56154        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tod.h
    57155PREINSTALL_FILES += $(PROJECT_INCLUDE)/tod.h
    58156
    59 $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     157$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    60158        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
    61159TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
    62160
    63 CLEANFILES = $(PREINSTALL_FILES)
     161$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     162        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
     163TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
     164
     165$(PROJECT_LIB)/gdbinit: startup/gdbinit $(PROJECT_LIB)/$(dirstamp)
     166        $(INSTALL_DATA) $< $(PROJECT_LIB)/gdbinit
     167TMPINSTALL_FILES += $(PROJECT_LIB)/gdbinit
     168
     169$(PROJECT_LIB)/linkcmds.flash: startup/linkcmds.flash $(PROJECT_LIB)/$(dirstamp)
     170        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.flash
     171TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.flash
     172
     173CLEANFILES += $(PREINSTALL_FILES)
    64174DISTCLEANFILES = $(PREINSTALL_DIRS)
    65175CLEANFILES += $(TMPINSTALL_FILES)
    66176
    67 include $(top_srcdir)/../../../../automake/subdirs.am
    68177include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/m68k/mcf5206elite/configure.ac

    r86b448a r155881a  
    1414RTEMS_PROG_CC_FOR_TARGET
    1515RTEMS_CANONICALIZE_TOOLS
     16RTEMS_PROG_CCAS
    1617
    1718RTEMS_CHECK_NETWORKING
     
    2021
    2122# Explicitly list all Makefiles here
    22 AC_CONFIG_FILES([Makefile
    23 startup/Makefile
    24 console/Makefile
    25 i2c/Makefile
    26 tod/Makefile
    27 nvram/Makefile
    28 wrapup/Makefile])
     23AC_CONFIG_FILES([Makefile])
    2924AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.