4.104.114.84.95
Last change
on this file since f1ccfde 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:
- Add preinstall to libbsp/bare/include/Makefile.in
- Removed FORCEIT, add preinstall to
libbsp/sh/gensh1/include/Makefile.in
- 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:
- Support of spin-delays in bare bsp
- 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:
534 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH=@srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | H_FILES = $(wildcard $(srcdir)/*.h) |
---|
12 | |
---|
13 | SRCS=$(H_FILES) |
---|
14 | |
---|
15 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
16 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
17 | |
---|
18 | CLEAN_ADDITIONS += |
---|
19 | CLOBBER_ADDITIONS += |
---|
20 | |
---|
21 | all: install |
---|
22 | |
---|
23 | # NOTE: Unlike other CPUS, we install into a subdirectory to avoid |
---|
24 | # file name conflicts |
---|
25 | |
---|
26 | install: |
---|
27 | test -d $(PROJECT_INCLUDE)/sh || $(MKDIR) $(PROJECT_INCLUDE)/sh |
---|
28 | $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/sh |
---|
Note: See
TracBrowser
for help on using the repository browser.