source: rtems/c/src/lib/libbsp/sh/gensh1/include/Makefile.in @ 21bfd93

4.104.114.84.95
Last change on this file since 21bfd93 was 21bfd93, checked in by Joel Sherrill <joel.sherrill@…>, on 09/29/98 at 12:40:33

Patch from Ralf Corsepius <corsepiu@…>:

Please find enclosed a patch which enables me to build the bare-bsp for
sh-rtems.

Changes:

  1. Add preinstall to libbsp/bare/include/Makefile.in
  2. Removed FORCEIT, add preinstall to libbsp/sh/gensh1/include/Makefile.in
  3. Disabled support of set_vector from sh code (shared/setvec.c is still present but isn't used anymore), set_vector replaced with standard rtems functions.

Problems still present:

  1. Support of spin-delays in bare bsp
  2. Proper support of cpu frequency

To configure I used:

<srcdir>/configure \
--target=sh-rtems \
--prefix=<instdir>/sh-bare \
--enable-bare-cpu-model=sh7032 \
--enable-bare-cpu-cflags='-Wall -m1 -DMHZ=20
-DCPU_CONSOLE_DEVNAME="\"/dev/null\""'
--enable-rtemsbsp=bare \
--disable-networking \
--disable-cxx \
--disable-posix \
--disable-tests

IMO, if there are no objections to this patch, a similar approach should
be applied to all CPUs/BSPs (esp. hppa1.1, mips64orion, ppc403, because
they apply set_vector inside of libcpu).

  • Property mode set to 100644
File size: 705 bytes
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH=@srcdir@
8RTEMS_ROOT=@top_srcdir@
9PROJECT_ROOT=@PROJECT_ROOT@
10
11H_FILES = \
12        $(srcdir)/bsp.h \
13        $(srcdir)/coverhd.h
14
15#
16#  Equate files are for including from assembly preprocessed by
17#  gm4 or gasp.  No examples are provided except for those for
18#  other CPUs.  The best way to generate them would be to
19#  provide a program which generates the constants used based
20#  on the C equivalents.
21#
22
23EQ_FILES =
24
25SRCS=$(H_FILES) $(EQ_FILES)
26
27include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
28include $(RTEMS_ROOT)/make/leaf.cfg
29
30CLEAN_ADDITIONS +=
31CLOBBER_ADDITIONS +=
32
33all:    preinstall
34
35preinstall: $(SRCS)
36        @INSTALL@ $(INSTINCFLAGS) $(H_FILES) $(PROJECT_INCLUDE)
Note: See TracBrowser for help on using the repository browser.