source: rtems/c/src/lib/libbsp/sh/gensh1/wrapup/Makefile.in @ 4a238002

4.104.114.84.95
Last change on this file since 4a238002 was 4a238002, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 18, 1999 at 9:22:58 PM

Patch from "John M. Mills" <jmills@…> with subsequent cleanup from
Ralf Corsepius <corsepiu@…> that adds initial Hitachi SH-2
support to RTEMS. Ralf's comments are:

Changes:
------

  1. SH-Port:
  • Many files renamed.
  • CONSOLE_DEVNAME and MHZ defines removed from libcpu.
  • console.c moved to libbsp/sh/shared, build in libbsp/sh/<BSP>/console applying VPATH.
  • CONSOLE_DEVNAME made BSP-specific, replacement is defined in bsp.h
  • MHZ define replaced with HZ (extendent resolution) in custom/*.cfg
  • -DHZ=HZ used in bspstart.c, only
  • Makefile variable HZ used in bsp-dependent directories only.
  1. SH1-Port
  • clock-driver rewritten to provide better resolution for odd CPU frequencies. This driver is only partially tested on hardware, ie. sightly experimental, but I don't expect severe problems with it.
  • Polling SCI-driver added. This driver is experimental and completly untested yet. Therefore it is not yet used for the console (/dev/console is still pointing to /dev/null, cf. gensh1/bsp.h).
  • minor changes to the timer driver
  • SH1 specific delay()/CPU_delay() now is implemented as a function
  1. SH2-Port
  • Merged
  • IMO, the code is still in its infancy. Therefore I have interspersed comments (FIXME) it for items which I think John should look after.
  • sci and console drivers partially rewritten and extended (John, I hope you don't mind).
  • Copyright notices are not yet adapted
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  $Id$
3#
4#  build and install libbsp
5#
6
7@SET_MAKE@
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10top_builddir = ../../..
11subdir = sh/gensh1/wrapup
12
13RTEMS_ROOT = @RTEMS_ROOT@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18BSP_PIECES = startup scitab console
19GENERIC_PIECES =
20
21# pieces to pick up out of libcpu/sh
22CPU_PIECES = sh7032/null sh7032/clock sh7032/timer sh7032/sci sh7032/delay
23
24# bummer; have to use $foreach since % pattern subst rules only replace 1x
25OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
26    $(foreach piece, $(CPU_PIECES), \
27    ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(notdir $(piece)).rel) \
28    $(foreach piece, $(GENERIC_PIECES), \
29    ../../../../$(piece)/$(ARCH)/$(piece).rel)
30
31LIB = $(ARCH)/libbsp.a
32
33include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
34include $(RTEMS_ROOT)/make/lib.cfg
35
36INSTALL = @INSTALL@
37INSTALL_CHANGE = @INSTALL_CHANGE@
38
39#
40# (OPTIONAL) Add local stuff here using +=
41#
42
43DEFINES +=
44CPPFLAGS +=
45CFLAGS +=
46
47LD_PATHS +=
48LD_LIBS +=
49LDFLAGS +=
50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS +=
59CLOBBER_ADDITIONS +=
60
61$(LIB): ${OBJS}
62        $(make-library)
63
64$(PROJECT_RELEASE)/lib/libbsp$(LIBSUFFIX_VA): $(LIB)
65        $(INSTALL_DATA) $^ $@
66
67all: ${ARCH} $(SRCS) $(PROJECT_RELEASE)/lib/libbsp$(LIBSUFFIX_VA)
68
69install: all
70
71$(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs
72        $(INSTALL_DATA) $< $@
73
74Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
75        cd $(top_builddir) \
76         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.