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:
- 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:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH=@srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | PGM=${ARCH}/startup.rel |
---|
12 | |
---|
13 | # C source names, if any, go here -- minus the .c |
---|
14 | C_PIECES=bsplibc bsppost bspstart bspclean sbrk main |
---|
15 | C_FILES=$(C_PIECES:%=%.c) |
---|
16 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
17 | |
---|
18 | H_FILES= |
---|
19 | |
---|
20 | # Assembly source names, if any, go here -- minus the .s |
---|
21 | S_PIECES= |
---|
22 | S_FILES=$(S_PIECES:%=%.s) |
---|
23 | S_O_FILES=$(S_FILES:%.s=${ARCH}/%.o) |
---|
24 | |
---|
25 | SRCS=linkcmds $(C_FILES) $(H_FILES) $(S_FILES) |
---|
26 | OBJS=$(C_O_FILES) $(S_O_FILES) |
---|
27 | |
---|
28 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
29 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
30 | |
---|
31 | # |
---|
32 | # (OPTIONAL) Add local stuff here using += |
---|
33 | # |
---|
34 | |
---|
35 | DEFINES += |
---|
36 | CPPFLAGS += |
---|
37 | CFLAGS += |
---|
38 | |
---|
39 | LD_PATHS += |
---|
40 | LD_LIBS += |
---|
41 | LDFLAGS += |
---|
42 | |
---|
43 | # |
---|
44 | # Add your list of files to delete here. The config files |
---|
45 | # already know how to delete some stuff, so you may want |
---|
46 | # to just run 'make clean' first to see what gets missed. |
---|
47 | # 'make clobber' already includes 'make clean' |
---|
48 | # |
---|
49 | |
---|
50 | CLEAN_ADDITIONS += |
---|
51 | CLOBBER_ADDITIONS += |
---|
52 | |
---|
53 | ${PGM}: ${SRCS} ${OBJS} |
---|
54 | $(make-rel) |
---|
55 | |
---|
56 | all: ${ARCH} $(SRCS) $(PGM) |
---|
57 | $(INSTALL) $(srcdir)/linkcmds ${PROJECT_RELEASE}/lib |
---|
58 | |
---|
59 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.