4.104.114.84.95
Last change
on this file since 4e36a2f was
4c3ab846,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/13/00 at 21:07:22
|
Patch rtems-rc-20000104-17.diff from Ralf Corsepius <corsepiu@…>
that addresses the librdbg/rpcgen related problems:
Changes:
- All rpcgen generated files are now kept inside of the source tree
- Fix librdbg/configure to correctly detect presence of rpcgen and awk
- Use rpcgen -m to generated remdeb_svc.c
- Remove msgout/_msgout from awk.svc
- minor cleanups to librdbg/configure.in
ATTENTION --- IMPORTANT:
- With keeping rpc-generated files pre-build inside of the source tree,
you as the packager of RTEMS have to ensure that timestamps are
correctly set up: The generated files must not be older than the *.x
files.
- This is extraordinarily important when
- putting the package on read-only media
- after checking out from CVS
- after modifications to the *.x files
- If one of the *.x files is modified you have to either
- build for i386/pc386 and powerpc/mcp750
- or to invoke the same rpcgen calls as the
librdbg/src/<cpu>/<bsp>/Makefile.am do manually
before checking-in the files to CVS.
Proposal:
We could add something to bootstrap for touching the rpcgen-generated
sources and/or to manually regenerate them.
NOTE FROM JOEL:
Ralf proposed modifying bootstrap to handle rpcgen. I think this
is the best solution as it is something already done in the
snapshot procedure.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(src/awk.svc) |
---|
7 | RTEMS_TOP(../../..) |
---|
8 | AC_CONFIG_AUX_DIR(../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | |
---|
12 | AM_INIT_AUTOMAKE(rtems-c-src-librdbg,$RTEMS_VERSION,no) |
---|
13 | AM_MAINTAINER_MODE |
---|
14 | |
---|
15 | RTEMS_ENABLE_NETWORKING |
---|
16 | RTEMS_ENABLE_RDBG |
---|
17 | RTEMS_ENABLE_LIBCDIR |
---|
18 | RTEMS_ENABLE_BARE |
---|
19 | |
---|
20 | RTEMS_ENV_RTEMSBSP |
---|
21 | |
---|
22 | RTEMS_CHECK_CPU |
---|
23 | RTEMS_CANONICAL_HOST |
---|
24 | |
---|
25 | dnl check target cc |
---|
26 | RTEMS_PROG_CC_FOR_TARGET |
---|
27 | RTEMS_CANONICALIZE_TOOLS |
---|
28 | |
---|
29 | AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen,no) |
---|
30 | AC_PROG_AWK |
---|
31 | |
---|
32 | if test "$RPCGEN" = "no"; then |
---|
33 | AC_MSG_WARN([** missing rpcgen, required to build librdbg **]) |
---|
34 | rpctools="no" |
---|
35 | fi |
---|
36 | if test "$AWK" = "no"; then |
---|
37 | AC_MSG_WARN([** missing awk, required to build librdbg **]) |
---|
38 | rpctools="no" |
---|
39 | fi |
---|
40 | |
---|
41 | AM_CONDITIONAL(RPCTOOLS, test "$rpctools" != "no") |
---|
42 | |
---|
43 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
44 | RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir) |
---|
45 | RTEMS_CHECK_NETWORKING(RTEMS_BSP) |
---|
46 | RTEMS_CHECK_RDBG(bspdir) |
---|
47 | |
---|
48 | AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes") |
---|
49 | |
---|
50 | RTEMS_PROJECT_ROOT |
---|
51 | |
---|
52 | # Try to explicitly list a Makefile here |
---|
53 | AC_OUTPUT( |
---|
54 | Makefile |
---|
55 | include/Makefile |
---|
56 | include/rdbg/Makefile |
---|
57 | include/rdbg/i386/Makefile |
---|
58 | include/rdbg/powerpc/Makefile |
---|
59 | src/Makefile |
---|
60 | src/i386/Makefile |
---|
61 | src/i386/any/Makefile |
---|
62 | src/powerpc/Makefile |
---|
63 | src/powerpc/mcp750/Makefile |
---|
64 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.