Changeset 5466140 in rtems


Ignore:
Timestamp:
Jan 30, 2004, 3:59:23 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ac73276b
Parents:
f439d61e
Message:

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

  • Makefile.am: Merge-in canbus/Makefile.am, clock/Makefile.am, console/Makefile.am, irq/Makefile.am, network/Makefile.am, startup/Makefile.am, vectors/Makefile.am. Use automake compilation rules.
  • canbus/Makefile.am, clock/Makefile.am, console/Makefile.am, irq/Makefile.am, network/Makefile.am, startup/Makefile.am, vectors/Makefile.am: Remove.
  • configure.ac: Reflect changes above.
Location:
c/src/lib/libbsp/powerpc/eth_comm
Files:
14 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/eth_comm/ChangeLog

    rf439d61e r5466140  
     12004-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * Makefile.am: Merge-in canbus/Makefile.am, clock/Makefile.am,
     4        console/Makefile.am, irq/Makefile.am, network/Makefile.am,
     5        startup/Makefile.am, vectors/Makefile.am. Use automake compilation rules.
     6        * canbus/Makefile.am, clock/Makefile.am, console/Makefile.am,
     7        irq/Makefile.am, network/Makefile.am, startup/Makefile.am,
     8        vectors/Makefile.am: Remove.
     9        * configure.ac: Reflect changes above.
     10
    1112004-01-30      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    212
  • c/src/lib/libbsp/powerpc/eth_comm/Makefile.am

    rf439d61e r5466140  
    77# wrapup is the one that actually builds and installs the library
    88# from the individual .rel files built in other directories
    9 SUBDIRS = . clock startup canbus console irq network vectors @exceptions@ \
    10     wrapup
     9SUBDIRS = . @exceptions@ wrapup
    1110
    1211include $(top_srcdir)/../../../../automake/compile.am
     
    2625        ${CCASCOMPILE} -DASM -o $@ -c $<
    2726project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
     27
     28dist_project_lib_DATA += startup/linkcmds
     29
     30EXTRA_PROGRAMS += startup.rel
     31CLEANFILES += startup.rel
     32startup_rel_SOURCES = startup/bspstart.c startup/cpuinit.c \
     33    startup/mmutlbtab.c ../../shared/bootcard.c ../../shared/bsplibc.c \
     34    ../../shared/bsppost.c ../../shared/main.c ../../shared/sbrk.c \
     35    ../../shared/bspclean.c ../../shared/gnatinstallhandler.c
     36startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     37startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     38
     39EXTRA_PROGRAMS += startup_g.rel
     40CLEANFILES += startup_g.rel
     41startup_g_rel_SOURCES = $(startup_rel_SOURCES)
     42startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     43startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     44
     45noinst_DATA += startup$(LIB_VARIANT).rel
     46
     47EXTRA_PROGRAMS += canbus.rel
     48CLEANFILES += canbus.rel
     49canbus_rel_SOURCES = canbus/canbus.c
     50canbus_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     51canbus_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     52
     53EXTRA_PROGRAMS += canbus_g.rel
     54CLEANFILES += canbus_g.rel
     55canbus_g_rel_SOURCES = $(canbus_rel_SOURCES)
     56canbus_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     57canbus_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     58
     59noinst_DATA += canbus$(LIB_VARIANT).rel
     60
     61EXTRA_PROGRAMS += console.rel
     62CLEANFILES += console.rel
     63console_rel_SOURCES = console/console.c
     64console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     65console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     66
     67EXTRA_PROGRAMS += console_g.rel
     68CLEANFILES += console_g.rel
     69console_g_rel_SOURCES = $(console_rel_SOURCES)
     70console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     71console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     72
     73noinst_DATA += console$(LIB_VARIANT).rel
     74
     75EXTRA_PROGRAMS += pclock.rel
     76CLEANFILES += pclock.rel
     77pclock_rel_SOURCES = clock/p_clock.c
     78pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     79pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     80
     81EXTRA_PROGRAMS += pclock_g.rel
     82CLEANFILES += pclock_g.rel
     83pclock_g_rel_SOURCES = $(pclock_rel_SOURCES)
     84pclock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     85pclock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     86
     87noinst_DATA += pclock$(LIB_VARIANT).rel
     88
     89include_bsp_HEADERS += irq/irq.h
     90
     91EXTRA_PROGRAMS += irq.rel
     92CLEANFILES += irq.rel
     93irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq_asm.S
     94irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     95irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     96
     97EXTRA_PROGRAMS += irq_g.rel
     98CLEANFILES += irq_g.rel
     99irq_g_rel_SOURCES = $(irq_rel_SOURCES)
     100irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     101irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     102
     103noinst_DATA += irq$(LIB_VARIANT).rel
     104
     105include_bsp_HEADERS += vectors/vectors.h
     106
     107EXTRA_PROGRAMS += vectors.rel
     108CLEANFILES += vectors.rel
     109vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.S \
     110    vectors/vectors.h
     111vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
     112vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     113
     114EXTRA_PROGRAMS += vectors_g.rel
     115CLEANFILES += vectors_g.rel
     116vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
     117vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
     118vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     119
     120noinst_DATA += vectors$(LIB_VARIANT).rel
     121
     122if HAS_NETWORKING
     123network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
     124EXTRA_PROGRAMS += network.rel
     125CLEANFILES += network.rel
     126network_rel_SOURCES = network/network.c
     127network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
     128    $(network_CPPFLAGS)
     129network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     130
     131EXTRA_PROGRAMS += network_g.rel
     132CLEANFILES += network_g.rel
     133network_g_rel_SOURCES = $(network_rel_SOURCES)
     134network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
     135    $(network_CPPFLAGS)
     136network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     137
     138noinst_DATA += network$(LIB_VARIANT).rel
     139endif
    28140
    29141all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     
    63175TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
    64176
     177$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
     178        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
     179TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
     180
     181$(PROJECT_INCLUDE)/bsp/irq.h: irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     182        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
     183PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
     184
     185$(PROJECT_INCLUDE)/bsp/vectors.h: vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     186        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
     187PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
     188
    65189CLEANFILES += $(PREINSTALL_FILES)
    66190DISTCLEANFILES = $(PREINSTALL_DIRS)
  • c/src/lib/libbsp/powerpc/eth_comm/configure.ac

    rf439d61e r5466140  
    4040# Explicitly list all Makefiles here
    4141AC_CONFIG_FILES([Makefile
    42 clock/Makefile
    43 canbus/Makefile
    44 console/Makefile
    45 irq/Makefile
    46 network/Makefile
    47 startup/Makefile
    48 vectors/Makefile
    4942wrapup/Makefile])
    5043
  • c/src/lib/libbsp/powerpc/eth_comm/wrapup/Makefile.am

    rf439d61e r5466140  
    33##
    44
    5 # We only build the networking device driver if HAS_NETWORKING was defined
     5OBJS = ../startup$(LIB_VARIANT).rel ../canbus$(LIB_VARIANT).rel \
     6    ../console$(LIB_VARIANT).rel ../irq$(LIB_VARIANT).rel \
     7    ../pclock$(LIB_VARIANT).rel ../vectors$(LIB_VARIANT).rel
    68if HAS_NETWORKING
    7 NETWORKING = network
     9OBJS += ../network$(LIB_VARIANT).rel
    810endif
    9 
    10 BSP_PIECES = clock irq startup start canbus vectors console $(NETWORKING)
    11 # pieces to pick up out of libcpu/ppc
    12 # CPU_PIECES = mpc860/clock mpc860/timer mpc860/console-generic \
    13 #    mpc860/vectors
    14 
    15 # bummer; have to use $foreach since % pattern subst rules only replace 1x
    16 OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
    17     ../../../../libcpu/@RTEMS_CPU@/shared/cpuIdent$(LIB_VARIANT).rel \
     11OBJS += ../../../../libcpu/@RTEMS_CPU@/shared/cpuIdent$(LIB_VARIANT).rel \
    1812    ../../../../libcpu/@RTEMS_CPU@/shared/cache$(LIB_VARIANT).rel \
    1913    ../@exceptions@/rtems-cpu$(LIB_VARIANT).rel \
Note: See TracChangeset for help on using the changeset viewer.