source: rtems/c/src/lib/libcpu/powerpc/mpc821/clock/Makefile.in @ 9572c41

4.104.114.84.95
Last change on this file since 9572c41 was 3084de2, checked in by Joel Sherrill <joel.sherrill@…>, on 04/07/99 at 15:57:05

MPC821 support and PPC patches from Andrew Bray <andy@…>:

In c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:

A lot of hardware interrupts were omitted. Patch enclosed.
I have also added the 821.

In c/src/exec/score/cpu/powerpc/rtems/score/cpu.h:

My patch adds the 821.

In c/src/exec/score/cpu/powerpc/cpu.c:

I have added the MPC821, and also fixed up for the missing hardware
interrupts. It is also inconsistent with
c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S. This has been fixed.

In c/src/lib/libcpu/powerpc/mpc860/vectors/vectors.S:

Fixed an inconsistency with cpu.c.

I also include some new files to go with the above patches. These are the
cpu library rtems-19990331/c/src/lib/libcpu/powerpc/mpc821/* and
c/src/exec/score/cpu/powerpc/mpc821.h which are minor modifications of
the 860 equivalents.

Other comments:

The various accesses to the DPRAM on the 860 are done with a linktime
symbol. This could be done dynamically at run time by reading the immr
register, and masking off the lower 16 bits. This takes the same amount
of time as loading an address constant, and the same number of
instructions as well (2).

In c/src/lib/libcpu/powerpc/mpc860/console-generic/console-generic.c:

This will silently fail if you attempt to use SCC1. This is only relevant
if you are not using SCC1 for ethernet.

This file also sets one of port B output pins for each port. This is NOT
generic, it should be in the BSP specific console driver.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../../../..
9subdir = c/src/lib/libcpu/powerpc/mpc821/clock
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18PGM=${ARCH}/clock.rel
19
20# C source names, if any, go here -- minus the .c
21C_PIECES=clock
22C_FILES=$(C_PIECES:%=%.c)
23C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
24
25H_FILES=
26
27# Assembly source names, if any, go here -- minus the .s
28S_PIECES=
29S_FILES=$(S_PIECES:%=%.s)
30S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o)
31
32SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
33OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
34
35include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
36include $(RTEMS_ROOT)/make/leaf.cfg
37
38#
39# (OPTIONAL) Add local stuff here using +=
40#
41
42DEFINES  +=
43CPPFLAGS +=
44CFLAGS   += $(CFLAGS_OS_V)
45
46LD_PATHS  +=
47LD_LIBS   +=
48LDFLAGS   +=
49
50#
51# Add your list of files to delete here.  The config files
52#  already know how to delete some stuff, so you may want
53#  to just run 'make clean' first to see what gets missed.
54#  'make clobber' already includes 'make clean'
55#
56
57CLEAN_ADDITIONS +=
58CLOBBER_ADDITIONS +=
59
60${PGM}: ${SRCS} ${OBJS}
61        $(make-rel)
62
63all:    ${ARCH} $(SRCS) $(PGM)
64
65# the .rel file built here will be put into libbsp.a by
66#    libbsp/hppa/BSP/wrapup/Makefile
67install:  all
68
69Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
70        cd $(top_builddir) \
71         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.