4.104.114.84.95
Last change
on this file since ed46b47 was
43283456,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/02/99 at 17:45:14
|
Patch rtems-rc-19991123-rc-2.diff from Ralf Corsepius
<corsepiu@…>:
The patch below provides
- automake support for score/cpu/powerpc
- The hack to propagate values from *.cfg to automake configuration
- A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted
before)
- Fixes some files which apparently where missing in
rtems-rc-19991123-rc-2.diff
- some minor configuration related patches
To apply:
rm -rf ./c/src/exec/score/cpu/powerpc/wrap
patch -p1 < rtems-rc-19991123-rc-3.diff
Attention:
c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be
removed after applying the patch.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | # C source names |
---|
8 | C_FILES = cpu.c ppccache.c |
---|
9 | C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) |
---|
10 | |
---|
11 | ROOT_H_FILES = |
---|
12 | RTEMS_SCORE_H_FILES = cpu.h c_isr.inl |
---|
13 | noinst_HEADERS = $(ROOT_H_FILES) $(RTEMS_SCORE_H_FILES) |
---|
14 | |
---|
15 | # Assembly source names |
---|
16 | S_FILES = cpu_asm.S |
---|
17 | S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
21 | |
---|
22 | PREINSTALL_FILES = \ |
---|
23 | $(PROJECT_INCLUDE) \ |
---|
24 | $(PROJECT_INCLUDE)/rtems/score \ |
---|
25 | $(ROOT_H_FILES:%=$(PROJECT_INCLUDE)/%) \ |
---|
26 | $(RTEMS_SCORE_H_FILES:%=$(PROJECT_INCLUDE)/rtems/score/%) |
---|
27 | |
---|
28 | TMPINSTALL_FILES += \ |
---|
29 | $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o |
---|
30 | |
---|
31 | $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o |
---|
32 | $(INSTALL_DATA) $< $@ |
---|
33 | |
---|
34 | $(PROJECT_INCLUDE): |
---|
35 | $(mkinstalldirs) $@ |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/rtems/score: |
---|
38 | $(mkinstalldirs) $@ |
---|
39 | |
---|
40 | $(PROJECT_INCLUDE)/rtems/score/%: % |
---|
41 | $(INSTALL_DATA) $< $@ |
---|
42 | |
---|
43 | $(PROJECT_INCLUDE)/%: % |
---|
44 | $(INSTALL_DATA) $< $@ |
---|
45 | |
---|
46 | REL = ../$(ARCH)/rtems-cpu.rel |
---|
47 | |
---|
48 | $(REL): $(C_O_FILES) $(S_O_FILES) |
---|
49 | test -d ../$(ARCH) || mkdir ../$(ARCH) |
---|
50 | $(make-rel) |
---|
51 | |
---|
52 | all-local: $(ARCH) $(PREINSTALL_FILES) $(REL) |
---|
53 | all-local: $(ARCH)/rtems.o |
---|
54 | all-local: $(TMPINSTALL_FILES) |
---|
55 | |
---|
56 | clean-local: |
---|
57 | $(RM) -r ../o-optimize ../o-debug ../o-profile |
---|
58 | |
---|
59 | UNUSED_FILES = irq_stub.S |
---|
60 | |
---|
61 | EXTRA_DIST = \ |
---|
62 | TODO \ |
---|
63 | rtems.S \ |
---|
64 | $(C_FILES) $(S_FILES) $(UNUSED_FILES) |
---|
65 | |
---|
66 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.