| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Update #3375.
|
|
|
|
|
| |
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
|
|
|
|
|
| |
Install the network headers only if --enable-networking is specified.
Update #3254.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
| |
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
|
| |
|
|
|
|
|
| |
* libnetworking/Makefile.am: Reformat.
* librpc/Makefile.am: Reformat.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt_soc.h, librpc/include/rpc/svc_soc.h:
New (Partial update from FreeBSD).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* librpc/include/rpc/des.h: Remove (Unused, unsupported).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
| |
* librpc/include/rpc/des.h: Remove (Unused, unsupported).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* librpc/src/rpc/auth_des.c,
librpc/src/rpc/auth_time.c,
librpc/src/rpc/authdes_prot.c,
librpc/src/rpc/clnt_unix.c,
librpc/src/rpc/crypt_client.c,
librpc/src/rpc/des_crypt.c,
librpc/src/rpc/des_soft.c,
librpc/src/rpc/getpublickey.c,
librpc/src/rpc/key_call.c,
librpc/src/rpc/key_prot_xdr.c,
librpc/src/rpc/svc_auth_des.c,
librpc/src/rpc/svc_unix.c: Remove (Unused, obsolete).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
|
|
|
| |
* librpc/src/rpc/PSD.doc/rpc.prog.ms,
librpc/src/rpc/PSD.doc/rpcgen.ms,
librpc/src/rpc/PSD.doc/nfs.rfc.ms,
librpc/src/rpc/PSD.doc/xdr.rfc.ms,
librpc/src/rpc/PSD.doc/rpc.rfc.ms,
librpc/src/rpc/PSD.doc/xdr.nts.ms:
Remove (Unused, obsolete).
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
| |
* librpc/Makefile.am: Split preinstallation rules in to separate
preinstall.am-files.
* librpc/preinstall.am: New (Generated from corresponding Makefile.am).
|
|
|
|
|
|
|
| |
* librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h:
New (From FreeBSD).
* librpc/include/rpc/rpc.h: Partial update from FreeBSD.
* librpc/Makefile.am: Reflect changes above.
|
|
|
|
|
|
|
|
| |
* httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am,
libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am,
libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am,
rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am:
Eliminate CFLAGS_OPTIMIZE_V.
|
|
|
|
|
|
|
|
|
| |
* automake/compile.am, httpd/Makefile.am, itron/Makefile.am,
libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am,
libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am,
posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am,
score/Makefile.am, wrapup/Makefile.am:
Remove build-variant support.
|
|
|
|
| |
* Makefile.am: Add PREINSTALL_DIRS.
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
Add PREINSTALL_FILES to CLEANFILES.
|
|
|
|
|
|
|
| |
* Makefile.am: Include compile.am, again.
Put man-pages into EXTRA_DIST to work around automake not
distributing conditionally installed *_MANS.
Distribute include/rpcsvc.
|
|
|
|
|
| |
* Makefile.am: Add libs to CLEANFILES
Set lib*_g_a_SOURCES = lib*_a_SOURCES.
|
|
|
|
|
| |
* Makefile.am: Build lib*$(LIB_VARIANT).a instead of
$(ARCH)/lib*.a.
|
|
|
|
| |
* Makefile.am: Build library using EXTRA_LIBRARIES and automake rules.
|
|
|
|
| |
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
|
|
| |
* Makefile.am: Add $(dirstamp) to compilation rules.
|
|
|
|
| |
* Makefile.am: Add $(dirstamp) to preinstallation rules.
|
|
|
|
|
|
|
|
| |
* src/rpc/Makefile.am, src/xdr/Makefile.am, src/Makefile.am:
Removed.
* Makefile.am: Merge-in src/rpc/Makefile.am, src/xdr/Makefile.am,
src/Makefile.am.
Various fixes. Reformat.
|
|
|
|
|
| |
* Makefile.am: Merge-in include/Makefile.am.
* include/Makefile.am: Remove.
|
|
|
|
|
|
|
| |
* configure.ac: Remove (Merged-in into ../configure.ac)
* Makefile.am, include/Makefile.am, src/Makefile.am,
src/rpc/Makefile.am, src/xdr/Makefile.am:
Reflect having merged configure.ac into ../configure.ac.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: RTEMS_TOP(../../../..).
AC_CONFIG_AUX_DIR(../../../..).
Remove RTEMS_CANONICAL_HOST.
Use RTEMS_ENV_RTEMSCPU.
Add AC_PROG_RANLIB.
* include/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* include/rpcsvc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* Makefile.am: Include $(top_srcdir)/../automake/*.am.
ACLOCAL_AMFLAGS = -I ../aclocal.
* src/rpc/PSD.doc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/xdr/Makefile.am: Include $(top_srcdir)/../automake/*.am.
* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
* include/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
* include/rpcsvc/Makefile.am: Remove AUTOMAKE_OPTIONS.
* Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/rpc/PSD.doc/Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/xdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
|
|
|
| |
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
|
|
|
| |
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
|
|
|
|
| |
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
Switch to GNU canonicalization.
|
|
|
|
| |
* src/rpc/Makefile.am, src/xdr/Makefile.am: Include compile.am
|
|
|
|
|
|
|
|
|
|
|
| |
a BSP (c4xsim) supporting the simulator included with gdb. This port
was done by Joel Sherrill and Jennifer Averett of OAR Corporation.
Also included with this port is a space/time optimization to eliminate
FP context switch management on CPUs without hardware or software FP.
An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8)
on this CPU. This required addressing alignment checks and assumptions
as well as fixing code that assumed sizeof(unsigned32) == 4.
|
| |
|
|
The patch below actuallly consists of two patches:
1) moving librpc to c/src/librpc similar to what has been done to librtems++
2) reworked configure scripts, many safety and dependency checks added to
aclocal/*.m4 macros + configuration fixes.
To apply:
mkdir c/src/librpc
mkdir c/src/librpc/src
cp c/src/lib/librpc/*.c c/src/librpc/src
cp c/src/lib/librpc/Makefile.in c/src/librpc/src
mkdir c/src/librpc/include
mkdir c/src/librpc/include/rpc
cp c/src/lib/include/rpc/* c/src/librpc/include/rpc
patch -p1 < ../rtems-rc-19990820-7.diff
rm -rf c/src/lib/librpc
rm -rf c/src/lib/include/rpc
./autogen
The additional checks in aclocal/*m4 macros add rather restrictive, sometimes
unnecessarily restrictive constraints on the sequence of how macros can be
used in a configure.in script. Adding them has let my problems with some more
complicated configuration options vanish. Apparently some macros had not been
in the required order .
----
Now I still get some linking errors for some cpus and bsps, esp when linking
cdtest, but also at other locations:
e.g. this happens for mips64orion/p4600:
# make[5]: Entering directory
`/lfs/poseidon/users/rtems/src/multi/build/mips64orion-rtems/c/p4600/tests/samples/hello'
/opt/rtems/bin/mips64orion-rtems-gcc --pipe -B../../../../../../p4600/lib/
-specs bsp_specs -qrtems -DP4000 -DCPU_R4000 -DP3_DIAG -D_R4000 -D__mips=3
-mcpu=4600 -G0 -I../../../../../../p4600/lib/include/networking -g -Wall
-ansi -fasm -O4 -fomit-frame-pointer -o o-p4600/hello.exe
o-p4600/init.o ../../../../../../p4600/lib/no-dpmem.rel
../../../../../../p4600/lib/no-event.rel
../../../../../../p4600/lib/no-msg.rel ../../../../../../p4600/lib/no-mp.rel
../../../../../../p4600/lib/no-part.rel
../../../../../../p4600/lib/no-signal.rel
../../../../../../p4600/lib/no-timer.rel
../../../../../../p4600/lib/no-rtmon.rel
/opt/rtems/mips64orion-rtems/lib/libc.a(dtoa.o): In function `_dtoa_r':
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
/opt/hermes/embedded/build/build-mips64orion-tools/mips64orion-rtems/newlib/libc/stdlib/../../../../../src/newlib/libc/stdlib/dtoa.c:348: relocation truncated to fit: R_MIPS_LITERAL no symbol
collect2: ld returned 1 exit status
# mips64orion-rtems-gcc -v
Reading specs from /opt/rtems/lib/gcc-lib/mips64orion-rtems/2.95.1/specs
gcc version 2.95.1 19990816 (release)
# mips64orion-rtems-ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
|