forked from Imagelibrary/rtems
Compare commits
300 Commits
4.6.1
...
4.5.1-pre3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b5b5deffe | ||
|
|
636ef9a103 | ||
|
|
b09580859c | ||
|
|
09b3a2facd | ||
|
|
f3dc8e62bc | ||
|
|
21766bd609 | ||
|
|
1fd366130f | ||
|
|
a637c087f4 | ||
|
|
3fe8f44b92 | ||
|
|
ec1e4f4f87 | ||
|
|
f883132802 | ||
|
|
410b18c1f3 | ||
|
|
7d573e9e15 | ||
|
|
e7585ed517 | ||
|
|
2b1d6de02c | ||
|
|
7f62220428 | ||
|
|
7307d94354 | ||
|
|
fda1996850 | ||
|
|
710b4e09b4 | ||
|
|
7ec48c0511 | ||
|
|
a0ef1069ca | ||
|
|
6343f19b5b | ||
|
|
b9adf9b180 | ||
|
|
a3ab6ab6de | ||
|
|
c48d648576 | ||
|
|
388cf1286f | ||
|
|
7a5dbdd33d | ||
|
|
09b663b38c | ||
|
|
a7b8de0589 | ||
|
|
3efa52954d | ||
|
|
36d90eec36 | ||
|
|
2b31cc882c | ||
|
|
b68cc333d3 | ||
|
|
6f1118a0c5 | ||
|
|
ca739de315 | ||
|
|
770f6e99fb | ||
|
|
45e1417c51 | ||
|
|
cbdb14497c | ||
|
|
b3a6713265 | ||
|
|
5ccb03b887 | ||
|
|
6559511b4e | ||
|
|
256226b87e | ||
|
|
3bb9542cd6 | ||
|
|
b748fff9c5 | ||
|
|
ca4c387054 | ||
|
|
079b1f4c2c | ||
|
|
99cfdc2dea | ||
|
|
e5aeae7b30 | ||
|
|
0b18036afc | ||
|
|
74835d7880 | ||
|
|
289f822131 | ||
|
|
d7d1096c78 | ||
|
|
36f910cdbe | ||
|
|
cadf485057 | ||
|
|
2d722f996d | ||
|
|
356a74b69d | ||
|
|
3df0c1e9ff | ||
|
|
b167323ddb | ||
|
|
9717739f27 | ||
|
|
8465866651 | ||
|
|
a5c67bc66d | ||
|
|
a4c731f6aa | ||
|
|
c1956b5952 | ||
|
|
21555cba2d | ||
|
|
822d6b4799 | ||
|
|
6d19b7edd4 | ||
|
|
7f51092d10 | ||
|
|
1d51c45deb | ||
|
|
e734e57635 | ||
|
|
0f4bfda992 | ||
|
|
6d3279acea | ||
|
|
5aac7bc83e | ||
|
|
14b4125f3c | ||
|
|
5f3ad6a89d | ||
|
|
f782320813 | ||
|
|
0a8a4c128d | ||
|
|
d33b901755 | ||
|
|
1dc9286f8b | ||
|
|
b96734cdd0 | ||
|
|
380b2231e0 | ||
|
|
c243c4923e | ||
|
|
19c6e495d3 | ||
|
|
930c1c8dc9 | ||
|
|
6a62bceb23 | ||
|
|
f18d2e7432 | ||
|
|
531cbf9a4a | ||
|
|
f981326efc | ||
|
|
e88f497884 | ||
|
|
98165e21b7 | ||
|
|
c5fe7cf65c | ||
|
|
c580598529 | ||
|
|
8b9aa32d5b | ||
|
|
423fb5ac8c | ||
|
|
b790e3990f | ||
|
|
b24ef52626 | ||
|
|
68638f0519 | ||
|
|
1a632e8e73 | ||
|
|
259397cc88 | ||
|
|
bdf9a99415 | ||
|
|
19f4540ee5 | ||
|
|
fd16f5b587 | ||
|
|
e89694ee7e | ||
|
|
322c894c08 | ||
|
|
3081446337 | ||
|
|
db07e68798 | ||
|
|
0adfb21347 | ||
|
|
fe4edc8ccf | ||
|
|
6a8700de5f | ||
|
|
75061954c1 | ||
|
|
a3f5b6be31 | ||
|
|
63cf252f31 | ||
|
|
22095e222d | ||
|
|
559cf7684d | ||
|
|
5bd07d40e3 | ||
|
|
19de118930 | ||
|
|
d102375e79 | ||
|
|
dd72009e4e | ||
|
|
1d89b75c96 | ||
|
|
f8d3664510 | ||
|
|
9c948846fa | ||
|
|
96efaf679b | ||
|
|
3704a9a149 | ||
|
|
cfca5dba95 | ||
|
|
9d05d68fe6 | ||
|
|
05ff78ab00 | ||
|
|
09c16269d9 | ||
|
|
3050704fa5 | ||
|
|
fa9b9f512b | ||
|
|
a12793743a | ||
|
|
60a3213b13 | ||
|
|
f3b1664f51 | ||
|
|
c94c2518de | ||
|
|
64bddf48af | ||
|
|
646decbd61 | ||
|
|
09b6a0938e | ||
|
|
9a03459c44 | ||
|
|
d38427f158 | ||
|
|
77989a586e | ||
|
|
9cad6a0214 | ||
|
|
1296960168 | ||
|
|
978b21bd73 | ||
|
|
d7bf62566d | ||
|
|
95df6137e9 | ||
|
|
bef66a669f | ||
|
|
9b3cdfe85f | ||
|
|
70f1f1d971 | ||
|
|
2c8485b663 | ||
|
|
2fbdbd4f14 | ||
|
|
1a9006a68a | ||
|
|
8fe36e1c4d | ||
|
|
625f1a61a1 | ||
|
|
7c1a82facd | ||
|
|
1b6969373d | ||
|
|
58271f676d | ||
|
|
f9c0574793 | ||
|
|
9f2e6c6c7d | ||
|
|
e22e30858e | ||
|
|
6174e27e89 | ||
|
|
ef0126bba2 | ||
|
|
9064ad45e1 | ||
|
|
fb4541be87 | ||
|
|
459d051bcf | ||
|
|
d88b46fe00 | ||
|
|
00b772a3a1 | ||
|
|
580c7a94f9 | ||
|
|
0632b75420 | ||
|
|
2936e9721f | ||
|
|
a93350a415 | ||
|
|
f48cad9cec | ||
|
|
250edf6f78 | ||
|
|
8531dceb87 | ||
|
|
72988cd968 | ||
|
|
aaf44d495a | ||
|
|
055b7d5fe1 | ||
|
|
078280e025 | ||
|
|
ba4b9ffe55 | ||
|
|
51e4268d73 | ||
|
|
017cb2be68 | ||
|
|
01e0e43f7f | ||
|
|
405990a70c | ||
|
|
b6206ccbad | ||
|
|
a4cb8f0d28 | ||
|
|
6c30cc6f4d | ||
|
|
3673fbd84f | ||
|
|
405543d683 | ||
|
|
a2a0c9eabd | ||
|
|
b12d10b4e0 | ||
|
|
b76a825478 | ||
|
|
e612d75205 | ||
|
|
0921e6917a | ||
|
|
66d9d03690 | ||
|
|
9d216de2ae | ||
|
|
120adc209f | ||
|
|
3a0218ed0b | ||
|
|
57ca6d09f9 | ||
|
|
11a46a0dfd | ||
|
|
a1a19f6c40 | ||
|
|
c6883bda03 | ||
|
|
af9b39e269 | ||
|
|
f74de9c028 | ||
|
|
f747eca890 | ||
|
|
5a6d98e43b | ||
|
|
d123a04b09 | ||
|
|
de01ce7dea | ||
|
|
a4b7b82e8a | ||
|
|
45e8d6c1ad | ||
|
|
4d42c4394f | ||
|
|
9c8d1edf6a | ||
|
|
57b6590b1b | ||
|
|
9fb78b8039 | ||
|
|
45e4cc77c6 | ||
|
|
305f03339c | ||
|
|
fee06c867b | ||
|
|
180126d2fe | ||
|
|
2033706715 | ||
|
|
c7b43795b6 | ||
|
|
8e743b739b | ||
|
|
be363a2dd3 | ||
|
|
b797468c04 | ||
|
|
cd7024d520 | ||
|
|
d554ca0bf9 | ||
|
|
a06c5f5b22 | ||
|
|
a974d6a0c9 | ||
|
|
42b7ffaeb6 | ||
|
|
92bc357886 | ||
|
|
2f82b35cee | ||
|
|
6ff83a45b0 | ||
|
|
ccbbfe3be2 | ||
|
|
fc1459f560 | ||
|
|
92ba047699 | ||
|
|
8812023ee9 | ||
|
|
8f5da34c1c | ||
|
|
a17495450f | ||
|
|
97ad1a52e4 | ||
|
|
dda3dc9ae7 | ||
|
|
fe8e18a98d | ||
|
|
e283b9098a | ||
|
|
48e40a33a0 | ||
|
|
0e136bed14 | ||
|
|
e0d1ba5fa5 | ||
|
|
a7d5b16341 | ||
|
|
dddbc444a0 | ||
|
|
6c48c6eec8 | ||
|
|
f3fea8685f | ||
|
|
2e34e9f106 | ||
|
|
206ca3ae79 | ||
|
|
09652b9ff2 | ||
|
|
f50952c9d3 | ||
|
|
cc655a57ef | ||
|
|
755c630210 | ||
|
|
6e48c9b206 | ||
|
|
0315b79ba6 | ||
|
|
35ff211959 | ||
|
|
bb734ccaa8 | ||
|
|
ce70a16674 | ||
|
|
cbbc442efc | ||
|
|
0c67e4aca6 | ||
|
|
12edad69e3 | ||
|
|
a899433e54 | ||
|
|
ad3c8e860e | ||
|
|
a7c46db906 | ||
|
|
c34eb10f55 | ||
|
|
cc2ccd6e71 | ||
|
|
562f5c8591 | ||
|
|
7f02ee73ff | ||
|
|
33677ef548 | ||
|
|
effc2c4e6b | ||
|
|
0d744abbcc | ||
|
|
52448f35e9 | ||
|
|
d2d4372da0 | ||
|
|
7ea9f1dc08 | ||
|
|
969525fe2f | ||
|
|
94795bbda6 | ||
|
|
96cf181204 | ||
|
|
776d6963ae | ||
|
|
af7a0ed984 | ||
|
|
05a346681d | ||
|
|
abbf55b924 | ||
|
|
6f921ba886 | ||
|
|
67077a1b46 | ||
|
|
15b6e46f70 | ||
|
|
d56669456a | ||
|
|
d6b047703d | ||
|
|
218103dd35 | ||
|
|
477f3471f8 | ||
|
|
89fbb94136 | ||
|
|
ac11adeb5b | ||
|
|
0ac819756c | ||
|
|
02c31b9c10 | ||
|
|
99eb5852f5 | ||
|
|
77b2b0ec5b | ||
|
|
06f190b9b6 | ||
|
|
7209360a09 | ||
|
|
f362fa7698 | ||
|
|
06383557e0 | ||
|
|
2de8b1b2fa | ||
|
|
1509336283 | ||
|
|
56616af310 | ||
|
|
319d298851 | ||
|
|
d5e3931159 |
21
.cvsignore
21
.cvsignore
@@ -1,17 +1,8 @@
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
install.sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
mdate-sh
|
||||
missing
|
||||
mkinstalldirs
|
||||
texinfo.tex
|
||||
aclocal.m4
|
||||
config.cache
|
||||
config.log
|
||||
config.status
|
||||
configure
|
||||
depcomp
|
||||
|
||||
63
LICENSE.NET
63
LICENSE.NET
@@ -1,63 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
The RTEMS TCP/IP stack is a port of the FreeBSD TCP/IP stack. The following
|
||||
copyright and licensing information applies to this code.
|
||||
|
||||
This code is found under the c/src/libnetworking directory but does not
|
||||
constitute the entire contents of that subdirectory.
|
||||
|
||||
=============================================================================
|
||||
|
||||
Copyright (c) 1980, 1983, 1988, 1993
|
||||
The Regents of the University of California. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
1. Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
3. All advertising materials mentioning features or use of this software
|
||||
must display the following acknowledgment:
|
||||
This product includes software developed by the University of
|
||||
California, Berkeley and its contributors.
|
||||
4. Neither the name of the University nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGE.
|
||||
|
||||
-
|
||||
Portions Copyright (c) 1993 by Digital Equipment Corporation.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies, and that
|
||||
the name of Digital Equipment Corporation not be used in advertising or
|
||||
publicity pertaining to distribution of the document or software without
|
||||
specific, written prior permission.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
|
||||
CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
||||
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
||||
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
|
||||
SOFTWARE.
|
||||
|
||||
=============================================================================
|
||||
@@ -1,44 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
The RTEMS RPC/XDR support is a port of the freely distributed
|
||||
Sun Microsystems implementation. The following copyright and
|
||||
licensing information applies to this code.
|
||||
|
||||
This code is in the c/src/librpc directory.
|
||||
|
||||
=============================================================================
|
||||
|
||||
Copyright (C) 1984, Sun Microsystems, Inc.
|
||||
|
||||
Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
unrestricted use provided that this legend is included on all tape
|
||||
media and as a part of the software program in whole or part. Users
|
||||
may copy or modify Sun RPC without charge, but are not authorized
|
||||
to license or distribute it to anyone else except as part of a product or
|
||||
program developed by the user.
|
||||
|
||||
SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
|
||||
WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
|
||||
|
||||
Sun RPC is provided with no support and without any obligation on the
|
||||
part of Sun Microsystems, Inc. to assist in its use, correction,
|
||||
modification or enhancement.
|
||||
|
||||
SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
|
||||
INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
|
||||
OR ANY PART THEREOF.
|
||||
|
||||
In no event will Sun Microsystems, Inc. be liable for any lost revenue
|
||||
or profits or other special, indirect and consequential damages, even if
|
||||
Sun has been advised of the possibility of such damages.
|
||||
|
||||
Sun Microsystems, Inc.
|
||||
2550 Garcia Avenue
|
||||
Mountain View, California 94043
|
||||
|
||||
=============================================================================
|
||||
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
The source code in c/src/libnetworking/rtems_webserver is a port
|
||||
of the Go Ahead Software, Inc. WebServer. Their copyright and
|
||||
licensing terms apply. See c/src/libnetworking/rtems_webserver/license.txt
|
||||
for details.
|
||||
41
Makefile.am
41
Makefile.am
@@ -6,36 +6,37 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I aclocal
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
SUBDIRS = make $(build_SUBDIRS) $(host_SUBDIRS) $(target_SUBDIRS)
|
||||
SUBDIRS = doc make tools @TARGET_SUBDIRS@
|
||||
|
||||
AUTOMAKE_FILES = automake/compile.am automake/host.am automake/lib.am \
|
||||
automake/local.am automake/subdirs.am \
|
||||
automake/leaf.am automake/force-preinstall.am
|
||||
AUTOMAKE_FILES = automake/subdirs.am automake/local.am automake/lib.am
|
||||
|
||||
ACLOCAL_FILES = aclocal/bsp-alias.m4 aclocal/canonical-host.m4 \
|
||||
aclocal/canonical-target-name.m4 aclocal/canonicalize-tools.m4 \
|
||||
aclocal/check-bsp-cache.m4 aclocal/check-bsps.m4 aclocal/check-cpu.m4 \
|
||||
aclocal/check-cxx.m4 aclocal/check-itron.m4 \
|
||||
aclocal/check-multiprocessing.m4 aclocal/check-networking.m4 \
|
||||
aclocal/check-newlib.m4 aclocal/check-posix.m4 aclocal/check-rdbg.m4 \
|
||||
aclocal/enable-bare.m4 aclocal/enable-cxx.m4 \
|
||||
ACLOCAL_FILES += aclocal/ar-s.m4 aclocal/bsp-alias.m4 \
|
||||
aclocal/canonical-host.m4 aclocal/canonical-target-name.m4 \
|
||||
aclocal/canonicalize-tools.m4 aclocal/check-bsps.m4 \
|
||||
aclocal/check-bsp-cache.m4 aclocal/check-cpu.m4 aclocal/check-cxx.m4 \
|
||||
aclocal/check-itron.m4 aclocal/check-multiprocessing.m4 \
|
||||
aclocal/check-networking.m4 aclocal/check-newlib.m4 \
|
||||
aclocal/check-posix.m4 aclocal/check-rdbg.m4 aclocal/enable-bare.m4 \
|
||||
aclocal/enable-cxx.m4 aclocal/enable-gcc28.m4 aclocal/enable-hwapi.m4 \
|
||||
aclocal/enable-inlines.m4 aclocal/enable-itron.m4 \
|
||||
aclocal/enable-multiprocessing.m4 aclocal/enable-networking.m4 \
|
||||
aclocal/enable-posix.m4 aclocal/enable-rdbg.m4 aclocal/enable-rtemsbsp.m4 \
|
||||
aclocal/enable-libcdir.m4 aclocal/enable-multiprocessing.m4 \
|
||||
aclocal/enable-networking.m4 aclocal/enable-posix.m4 \
|
||||
aclocal/enable-rdbg.m4 aclocal/enable-rtemsbsp.m4 \
|
||||
aclocal/enable-tests.m4 aclocal/gcc-pipe.m4 aclocal/gcc-specs.m4 \
|
||||
aclocal/i386-gas-code16.m4 aclocal/multilib.m4 aclocal/path-ksh.m4 \
|
||||
aclocal/path-perl.m4 aclocal/prog-cc.m4 aclocal/prog-cxx.m4 \
|
||||
aclocal/project-root.m4 aclocal/rtems-debug.m4 \
|
||||
aclocal/rtems-test-no-pause.m4 aclocal/rtems-top.m4 \
|
||||
aclocal/target.m4 aclocal/tool-paths.m4 aclocal/bspopts.m4 \
|
||||
aclocal/ppc.m4 aclocal/bsp-configure.m4 aclocal/gcc-isystem.m4
|
||||
aclocal/i386-gas-code16.m4 aclocal/path-ksh.m4 aclocal/path-perl.m4 \
|
||||
aclocal/prog-cc.m4 aclocal/prog-cxx.m4 aclocal/project-root.m4 \
|
||||
aclocal/rtems-top.m4 aclocal/sysv-ipc.m4 aclocal/target.m4 \
|
||||
aclocal/tool-paths.m4 aclocal/tool-prefix.m4
|
||||
|
||||
noinst_SCRIPTS = bootstrap
|
||||
|
||||
EXTRA_DIST = $(AUTOMAKE_FILES) $(ACLOCAL_FILES) README.configure SUPPORT \
|
||||
VERSION LICENSE $(noinst_SCRIPTS)
|
||||
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(ACLOCAL_FILES)
|
||||
|
||||
include $(top_srcdir)/automake/subdirs.am
|
||||
include $(top_srcdir)/automake/host.am
|
||||
|
||||
2
README
2
README
@@ -39,7 +39,7 @@ Ada versus C
|
||||
There are two implementations of RTEMS in this source tree --
|
||||
in Ada and in C. These two implementations are functionally
|
||||
and structurally equivalent. The C implementation follows
|
||||
the packaging conventions and hierarchical nature of the Ada
|
||||
the packaging conventions and hiearchical nature of the Ada
|
||||
implementation. In addition, a style has been followed which
|
||||
allows one to easily find the corresponding Ada and C
|
||||
implementations.
|
||||
|
||||
73
README.cdn-X
73
README.cdn-X
@@ -1,73 +0,0 @@
|
||||
Building RTEMS Canadian Cross
|
||||
=============================
|
||||
|
||||
RTEMS now contains experimental and yet incomplete support for building
|
||||
it Canadian Cross.
|
||||
|
||||
1. Introduction
|
||||
---------------
|
||||
If you don't know what Canadian Cross Building means, you probably don't want
|
||||
to apply it and should consider stop reading here.
|
||||
|
||||
Interested readers might want to read Ian Lance Taylor's article at
|
||||
http://www.airs.com/ian/configure for underlaying details and working
|
||||
principles.
|
||||
|
||||
|
||||
2. RTEMS
|
||||
--------
|
||||
Example: Building RTEMS for sparc-rtems under i386-pc-linux-gnu to be hosted
|
||||
on a i386-cygwin platform.
|
||||
|
||||
2.1 Required tools
|
||||
------------------
|
||||
* A i386-pc-linux-gnu cross sparc-rtems toolchain.
|
||||
* A i386-pc-linux-gnu cross i386-cygwin toolchain.
|
||||
* A i386-pc-linux-gnu native toolchain.
|
||||
|
||||
We further on assume these to be installed to these locations:
|
||||
/opt/rtems .. linux cross sparc-rtems toolchain
|
||||
/opt/cygwin .. linux cross i386-cygwin cross-toolchain
|
||||
/usr .. linux native toolchain and further tools.
|
||||
|
||||
2.2 Building sparc-rtems
|
||||
------------------------
|
||||
The first step is to build RTEMS for sparc-rtems under linux.
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
<path>/rtems/configure [options] \
|
||||
--target=sparc-rtems \
|
||||
--prefix=/opt/cygwin
|
||||
make
|
||||
make install
|
||||
|
||||
This will build a standard sparc-rtems RTEMS and install it to the given
|
||||
PREFIX.
|
||||
|
||||
2.3 Building i386-cygwin host support
|
||||
-------------------------------------
|
||||
The next step is to build RTEMS host support for i386-cygwin.
|
||||
This basically means to cross-build the host tools contained in RTEMS.
|
||||
|
||||
mkdir host
|
||||
cd host
|
||||
<path>/rtems/configure [options] \
|
||||
--target=sparc-rtems \
|
||||
--build=`<path>/rtems/config.guess` \
|
||||
--host=i386-cygwin \
|
||||
--prefix=/opt/cygwin
|
||||
make
|
||||
make install
|
||||
|
||||
This will build RTEMS host-tools for i386-cygwin and install them to the given
|
||||
PREFIX.
|
||||
|
||||
|
||||
3. Known issues
|
||||
---------------
|
||||
|
||||
* At present time, building RTEMS Canadian Cross is known to be immature, and
|
||||
to require additional work. Do not expect this to work.
|
||||
|
||||
* The <toplevel>/make/ directory hierarchy is not treated correctly.
|
||||
150
README.configure
150
README.configure
@@ -10,9 +10,6 @@ configured and built either standalone or together with the compiler
|
||||
tools in the Cygnus one-tree structure. Using autoconf also means
|
||||
that RTEMS now can be built in a separate build directory.
|
||||
|
||||
To re-generate auto*tool generated files (configure, Makefile.in etc),
|
||||
autoconf-2.57 and automake-1.7.2 are required.
|
||||
|
||||
2. Installation
|
||||
===============
|
||||
|
||||
@@ -29,16 +26,18 @@ RTEMS-specific option are supported:
|
||||
--enable-cxx
|
||||
--enable-bare-cpu-model=<MODEL>
|
||||
--enable-bare-cpu-cflags=<FLAGS>
|
||||
--enable-gcc28 (also use enable-libcdir when disabled)
|
||||
--enable-libcdir=<DIRECTORY> (do not use if gcc 2.8 is enabled)
|
||||
--enable-multiprocessing
|
||||
--enable-rtemsbsp="bsp1 bsp2 ..."
|
||||
--enable-tests
|
||||
--enable-rdbg (only valid for i386 and some PowerPC BSPs)
|
||||
--enable-docs
|
||||
|
||||
In addition, the following standard autoconf options are frequently
|
||||
used when configuring RTEMS installations:
|
||||
|
||||
--prefix=INSTALL_DIRECTORY
|
||||
--program-prefix=
|
||||
|
||||
By default, inline routines are used instead of macros where possible.
|
||||
Macros can be selected using the --disable-inlines option. [NOTE:
|
||||
@@ -64,50 +63,49 @@ with the --enable-cxx option. If the rtems++ C++ library is installed
|
||||
it will also be build.
|
||||
|
||||
By default, the RTEMS test suites are NOT configured -- only the
|
||||
sample tests are built. --enable-tests will configure
|
||||
sample tests are built. The --enable-tests will not configure
|
||||
the RTEMS test suite. The default speeds up the build
|
||||
and configure process when the tests are not desired.
|
||||
|
||||
By default, RTEMS is built using arguments and build rules which require a
|
||||
gcc supporting the -specs option, ie. a gcc >= 2.8.
|
||||
[The --disable-gcc28 option, which has been present in former releases, has
|
||||
been removed.]
|
||||
By default, RTEMS is built using arguments and build rules which are
|
||||
NOT compatible with gcc 2.7.2.2. If using a gcc which supports the
|
||||
-specs option, then the --enable-gcc28 option may be used to enable
|
||||
this feature. You should use the --enable-gcc28 option when using
|
||||
either the egcs source tree, testgcc snapshots, or gcc 2.8.0 or newer.
|
||||
If you --disable-gcc28, then you MUST specify the location of the
|
||||
Standard C Library with the --enable-libcdir option. [NOTE: These
|
||||
options are considered obsolete and may be removed in a future
|
||||
RTEMS release.]
|
||||
|
||||
By default, multiprocessing is is not built. It can be enabled
|
||||
for those BSPs supporting it by the --enable-multiprocessing option.
|
||||
|
||||
By default, all bsps for a target are built. The bare BSP is not built
|
||||
unless directly specified. There are two ways of changing this:
|
||||
unless directlty specified. There are two ways of changing this:
|
||||
|
||||
+ use the --enable-rtemsbsp option which will set the specified
|
||||
+ use the --enable-rtemsbsp otion which will set the specified
|
||||
bsps as the default bsps, or
|
||||
+ set the RTEMS_BSP variable during make (see below).
|
||||
|
||||
The --enable-rtemsbsp= option configures RTEMS for a specific board
|
||||
within a target architecture. Remember that the target specifies the
|
||||
CPU family while the BSP specifies the precise board you will be using.
|
||||
The following targets are supported:
|
||||
The --enable-rtemsbsp= option configures RTEMS for a specific target
|
||||
architecture. The following targets are supported:
|
||||
|
||||
(none) will build the host-based version on Linux,
|
||||
Solaris and HPUX.
|
||||
|
||||
a29k-rtems only standalone, uses non-gnu compiler
|
||||
arm-rtems
|
||||
h8300-rtems
|
||||
i386-rtems
|
||||
i960-rtems
|
||||
hppa1.1-rtems
|
||||
m68k-rtems
|
||||
mips-rtems
|
||||
mips64orion-rtems
|
||||
no_cpu-rtems
|
||||
powerpc-rtems
|
||||
sh-rtems
|
||||
sparc-rtems
|
||||
bare see notes
|
||||
|
||||
|
||||
The cross-compiler is set to $(target)-gcc by default. This can be
|
||||
overridden by:
|
||||
overriden by:
|
||||
|
||||
+ using the --program-prefix option to configure to specify the
|
||||
string which will prepended to the tool names. Be sure to include
|
||||
@@ -131,12 +129,8 @@ As an example, to build and install the mvme136 and dmv152 bsps for m68k do:
|
||||
The sample tests are built by 'make all', do a 'make test' to build the full
|
||||
test suite.
|
||||
|
||||
By default, --enable-docs is disabled and documentation is not built.
|
||||
|
||||
2.2 Build with Cygnus one-tree release
|
||||
|
||||
[NOTE: This section does not apply anymore.]
|
||||
|
||||
To build and install RTEMS with the one-tree structure, just copy the rtems
|
||||
directory to the tree. The one-tree configure.in and Makefile.in has to be
|
||||
replaced with the RTEMS-aware versions. The build options are the same as
|
||||
@@ -176,101 +170,81 @@ following:
|
||||
|
||||
The following bsps are supported:
|
||||
|
||||
host-based : posix (on Linux, FreeBSD, Cygwin, Solaris, and HPUX)
|
||||
|
||||
arm : arm_bare_bsp armulator edb7312 vegaplus
|
||||
|
||||
c4x : c4xsim
|
||||
|
||||
h8300 : h8sim
|
||||
|
||||
i386 : i386ex pc386 pc386dx pc486 pc586 pc686 pck6 ts_386ex
|
||||
NOTE: The "pc386" BSP can be compiled to support a
|
||||
variety of PC configurations including PC-104
|
||||
based solutions.
|
||||
|
||||
i960 : cvme961 i960sim rxgen960
|
||||
|
||||
m68k : dmv152 efi332 efi68k gen68302 gen68340 gen68360
|
||||
gen68360_040 idp mcf5206elite mrm332 mvme136 mvme147
|
||||
mvme147s mvme162 mvme162lx ods68302
|
||||
|
||||
no_cpu : no_bsp (porting example)
|
||||
|
||||
mips : p4600 p4650 (p4000 port with either R4600 or R4650)
|
||||
jmr3904 genmongoosev
|
||||
|
||||
or32: : orp
|
||||
|
||||
powerpc : dmv177 eth_comm gen405 helas403 mcp750 mbx8xx mtx603e
|
||||
mvme230x ppcn_60x psim score603e
|
||||
|
||||
NOTE: The "motorola_powerpc" BSP is a single BSP which
|
||||
can be conditionally compiled to support most Motorola
|
||||
VMEbus, CompactPCI, and MTX boards.)
|
||||
|
||||
sh : gensh1 gensh2 shsim simsh4 gensh4
|
||||
|
||||
sparc : erc32 erc32nfp leon1 leon2
|
||||
|
||||
any : bare
|
||||
|
||||
The following ports are considered deprecated and will be removed in
|
||||
a future release:
|
||||
host-based : posix (on linux, solaris and hpux)
|
||||
|
||||
a29k : portsw
|
||||
|
||||
i386 : i386ex pc386
|
||||
i960 : cvme961
|
||||
hppa1.1 : simhppa
|
||||
|
||||
mips64orion : (deprecated)
|
||||
p4600 p4650 (p4000 port with either R4600 or R4650)
|
||||
|
||||
NOTE: MIPS support is NOT being dropped. This is a clean up
|
||||
effort and the mips64orion BSPs and CPUs will be
|
||||
supported by the mips port.
|
||||
m68k : dmv152 efi332 efi68k gen68302 gen68340 gen68360
|
||||
gen68360_040 idp mvme136 mvme147 mvme147s mvme162 ods68302
|
||||
no_cpu : no_bsp
|
||||
mips64orion : p4600 p4650 (p4000 port with either R4600 or R4650)
|
||||
powerpc : papyrus psim helas403
|
||||
sh : gensh1
|
||||
sparc : erc32
|
||||
any : bare
|
||||
|
||||
5. Makefile structure
|
||||
=====================
|
||||
|
||||
The makefiles have been re-organized. Most gnu-based bsps now use three
|
||||
The makefiles have been re-organised. Most gnu-based bsps now use three
|
||||
main makefiles:
|
||||
+ custom/default.cfg,
|
||||
+ custom/bsp.cfg and
|
||||
+ compilers/gcc-target-default.cfg.
|
||||
+ ompilers/gcc-target-default.cfg.
|
||||
|
||||
Default.cfg sets the default values of certain common build options.
|
||||
Default.cfg sets the deafult values of certain common build options.
|
||||
|
||||
Bsp.cfg set bsp-specific build options and can also override the
|
||||
default settings.
|
||||
|
||||
Gcc-target-default.cfg contains the common gcc definitions.
|
||||
Gcc-target-default.cfg contains the common gcc definitions. Some targets
|
||||
(a29k, no_cpu, and posix) still use the old structure.
|
||||
|
||||
6. Adding a bsp
|
||||
===============
|
||||
|
||||
Please refer to the BSP and Device Driver Guide.
|
||||
|
||||
The top-level configure.in has to be modified if a new target is added
|
||||
or if a new bsp is to be built by default. The additions required is
|
||||
basically to add which makefiles are to be created by configure and
|
||||
to add the target to the selection statement. To re-generate
|
||||
configure, autoconf-2.12 is needed.
|
||||
|
||||
7. Tested configurations
|
||||
========================
|
||||
|
||||
All gnu-based bsps have been built on Linux.
|
||||
|
||||
The native (posix) ports have been built and run only on Linux.
|
||||
|
||||
The following configurations have NOT been tested:
|
||||
|
||||
+ Anything on Nextstep, HPUX and Irix.
|
||||
+ The a29k port
|
||||
+ The C4x and OR32 ports (requires specially patched toolchain)
|
||||
+ The a29k port.
|
||||
|
||||
8. Prerequisites
|
||||
================
|
||||
8. Pre-requisites
|
||||
=================
|
||||
|
||||
Gawk version 2 or higher.
|
||||
GNU make version 3.72 or higher.
|
||||
Bash.
|
||||
gcc version > 2.8
|
||||
gcc version ???
|
||||
|
||||
TODO
|
||||
====
|
||||
|
||||
The install-if-change script requires bash. On solaris systems, this should
|
||||
be changed to ksh, since ksh is provided with solaris (bash not).
|
||||
|
||||
A fairly rescent version of gawk is needed to build RTEMS. This should be
|
||||
changed so that a plain vanilla awk also works. [NOTE: This dependency
|
||||
should disappear when the "gcc 2.8 -specs" is finished.]
|
||||
|
||||
'make install' should only install necessary files, not the full
|
||||
PROJECT_RELEASE directory as now.
|
||||
|
||||
Posix port on solaris-2.5 fails due to undefined built-in functions
|
||||
(gcc-2.7.2, might be my installation).
|
||||
|
||||
Improve support for 'make CFLAGS=xxx'.
|
||||
|
||||
NOTE: These prerequisites are probably out of date but autoconf should detect
|
||||
any problems.
|
||||
|
||||
2
SUPPORT
2
SUPPORT
@@ -8,7 +8,7 @@ includes porting RTEMS to new processors and the development of custom board
|
||||
support packages and device drivers. In addition, OAR is available
|
||||
to assist in the development of your real-time embedded application.
|
||||
|
||||
For more information, email Mark Johannes at mark.johannes@OARcorp.com
|
||||
For more information, email Mark Johannes at mark@OARcorp.com
|
||||
or contact OAR at:
|
||||
|
||||
On-Line Applications Research Corporation
|
||||
|
||||
395
acinclude.m4
395
acinclude.m4
@@ -1,395 +0,0 @@
|
||||
## All directories belong in one of 3 categories.
|
||||
## ${HOST_CONFIGDIRS_LIST} is directories we build using the host tools.
|
||||
## ${TARGET_CONFIGDIRS_LIST} is directories we build using the target tools.
|
||||
## ${BUILD_CONFIGDIRS_LIST} is directories we build using the build tools
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
|
||||
dnl RTEMS_ARG_VAR(VAR,HELP-STRING)
|
||||
dnl An internal macros to have help strings pretty
|
||||
dnl printed with configure --help, without letting autoconf spoil config subdir
|
||||
dnl environments by trying to propagate them
|
||||
dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
|
||||
|
||||
AC_DEFUN([_RTEMS_ARG_VAR],
|
||||
[
|
||||
m4_expand_once([m4_divert_once([HELP_VAR],
|
||||
[AC_HELP_STRING([$1], [$2], [ ])])],
|
||||
[$0($1)])dnl
|
||||
])
|
||||
|
||||
AC_DEFUN([_RTEMS_SUBST_IFNOT],
|
||||
[AS_IF([`echo " [$]$1 " | grep " $2 " > /dev/null`],
|
||||
[],
|
||||
[AC_SUBST([$1],["[$]$1 $2"])])
|
||||
])
|
||||
|
||||
AC_DEFUN([_RTEMS_TOOLS],
|
||||
[
|
||||
m4_ifdef([_RTEMS_$2_CONFIGDIRS_LIST],
|
||||
[
|
||||
_RTEMS_ARG_VAR([CC_FOR_$2],
|
||||
[c-compiler to be used for $1 subdirs (default: auto-detected)])
|
||||
_RTEMS_ARG_VAR([CFLAGS_FOR_$2],
|
||||
[c-flags to be used for $1 subdirs (default: provided by autoconf)])
|
||||
_RTEMS_ARG_VAR([CXX_FOR_$2],
|
||||
[c++-compiler to be used for $1 subdirs (default: auto-detected)])
|
||||
_RTEMS_ARG_VAR([CXXFLAGS_FOR_$2],
|
||||
[c++-flags to be used for $1 subdirs (default: provided by autoconf)])
|
||||
])
|
||||
])
|
||||
|
||||
AC_DEFUN([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS],
|
||||
[
|
||||
AC_CONFIG_COMMANDS_PRE([
|
||||
|
||||
if test -z "${build_alias}"; then
|
||||
# build_alias is empty
|
||||
if test -z "${host_alias}"; then
|
||||
# host_alias is empty
|
||||
if test -z "${target_alias}"; then
|
||||
: target_alias is empty
|
||||
else
|
||||
: target_alias is not empty
|
||||
fi
|
||||
else
|
||||
# host_alias is not empty
|
||||
if test -z "${target_alias}"; then
|
||||
: target_alias is empty
|
||||
target_alias="${host_alias}"
|
||||
else
|
||||
: target_alias is not empty
|
||||
fi
|
||||
fi
|
||||
else
|
||||
# build_alias is not empty
|
||||
if test -z "${host_alias}"; then
|
||||
# host_alias is empty
|
||||
if test -z "${target_alias}"; then
|
||||
: target_alias is empty
|
||||
else
|
||||
: target_alias is not empty
|
||||
fi
|
||||
else
|
||||
# host_alias is not empty
|
||||
if test -z "${target_alias}"; then
|
||||
: target_alias is empty
|
||||
target_alias="${host_alias}"
|
||||
else
|
||||
: target_alias is not empty
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
_RTEMS_BUILD_CONFIG_PREPARE
|
||||
_RTEMS_HOST_CONFIG_PREPARE
|
||||
_RTEMS_TARGET_CONFIG_PREPARE
|
||||
|
||||
build_subdir="."
|
||||
build_SUBDIRS="${build_configdirs}"
|
||||
build_configdirs="${build_configdirs}"
|
||||
|
||||
AS_IF([test $build != $host],
|
||||
[dnl
|
||||
host_subdir="${host_alias-$host}"
|
||||
host_SUBDIRS=`echo "${host_configdirs}" | \
|
||||
sed -e "s%\([[^ ]][[^ ]]*\)%$host_subdir/\1%g"`
|
||||
host_configdirs="${host_configdirs}"
|
||||
],[dnl
|
||||
host_SUBDIRS="${host_configdirs}"
|
||||
host_configdirs="${host_configdirs}"
|
||||
])
|
||||
|
||||
AS_IF([test $build != $target],
|
||||
[dnl
|
||||
target_subdir="${target_alias-$target}"
|
||||
target_SUBDIRS=`echo "${target_configdirs}" | \
|
||||
sed -e "s%\([[^ ]][[^ ]]*\)%$target_subdir/\1%g"`
|
||||
target_configdirs="${target_configdirs}"
|
||||
],[dnl
|
||||
target_SUBDIRS="${target_configdirs}"
|
||||
target_configdirs="${target_configdirs}"
|
||||
])
|
||||
|
||||
AC_SUBST(host_SUBDIRS)
|
||||
AC_SUBST(target_SUBDIRS)
|
||||
AC_SUBST(build_SUBDIRS)
|
||||
])
|
||||
|
||||
AC_CONFIG_COMMANDS_POST([
|
||||
_RTEMS_OUTPUT_SUBDIRS([build],[BUILD])
|
||||
_RTEMS_OUTPUT_SUBDIRS([host],[HOST])
|
||||
_RTEMS_OUTPUT_SUBDIRS([target],[TARGET])
|
||||
])
|
||||
])
|
||||
|
||||
dnl _RTEMS_SRCPATHS(BUILD-DIR-NAME)
|
||||
dnl ----------------------------
|
||||
dnl Inputs:
|
||||
dnl - BUILD-DIR-NAME is `top-build -> build' and `top-src -> src'
|
||||
dnl - `$srcdir' is `top-build -> top-src'
|
||||
dnl
|
||||
dnl Outputs:
|
||||
dnl - `ac_builddir' is `.', for symmetry only.
|
||||
dnl - `ac_top_builddir' is `build -> top_build'.
|
||||
dnl If not empty, has a trailing slash.
|
||||
dnl - `ac_srcdir' is `build -> src'.
|
||||
dnl - `ac_top_srcdir' is `build -> top-src'.
|
||||
dnl
|
||||
dnl and `ac_buildpath' etc., the absolute paths.
|
||||
m4_define([_RTEMS_SRCPATHS],
|
||||
[
|
||||
m4_if([$2],,
|
||||
[dstdir=$1],
|
||||
[case "$2" in
|
||||
"." | "" ) # No subdir was given
|
||||
dstdir=$1;;
|
||||
* ) # A subdir was given
|
||||
dstdir=$2/$1;;
|
||||
esac])
|
||||
ac_builddir=.
|
||||
|
||||
AS_IF([test $dstdir != .],
|
||||
[ # Strip off leading ./
|
||||
ac_builddir_suffix=/`echo $dstdir | sed 's,^\.[[\\/]],,'`
|
||||
ac_srcdir_suffix=/`echo $1 | sed 's,^\.[[\\/]],,'`
|
||||
# A "../" for each directory in $ac_dir_suffix.
|
||||
ac_top_builddir=`echo "$ac_builddir_suffix" | sed 's,/[[^\\/]]*,../,g'`
|
||||
],[
|
||||
ac_dir_suffix= ac_top_builddir=
|
||||
])
|
||||
|
||||
case $srcdir in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_srcdir=.
|
||||
if test -z "$ac_top_builddir"; then
|
||||
ac_top_srcdir=.
|
||||
else
|
||||
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
||||
fi ;;
|
||||
[[\\/]]* | ?:[[\\/]]* ) # Absolute path.
|
||||
ac_srcdir=$srcdir$ac_srcdir_suffix;
|
||||
ac_top_srcdir=$srcdir;
|
||||
;;
|
||||
*) # Relative path.
|
||||
ac_srcdir=$ac_top_builddir$srcdir$ac_srcdir_suffix;
|
||||
ac_top_srcdir=$ac_top_builddir$srcdir;
|
||||
;;
|
||||
esac
|
||||
dnl Don't blindly perform a `cd $1/$ac_foo && pwd` since $ac_foo can be
|
||||
dnl absolute.
|
||||
|
||||
ac_buildpath=`cd $dstdir && cd $ac_builddir && pwd`
|
||||
ac_top_buildpath=`cd $dstdir && cd $ac_top_builddir && pwd`
|
||||
ac_srcpath=`cd $dstdir && cd $ac_srcdir && pwd`
|
||||
ac_top_srcpath=`cd $dstdir && cd $ac_top_srcdir && pwd`
|
||||
])# _AC_SRCPATHS
|
||||
|
||||
dnl _RTEMS_OUTPUT_SUBDIRS([host|target|build],[HOST|TARGET|BUILD])
|
||||
AC_DEFUN([_RTEMS_OUTPUT_SUBDIRS],[
|
||||
m4_ifdef([_RTEMS_$2_CONFIGDIRS_LIST],
|
||||
[
|
||||
if test "$no_recursion" != yes; then
|
||||
|
||||
if test -n "${$1_SUBDIRS}"; then
|
||||
ac_sub_configure_args="[$]$1args"
|
||||
|
||||
# Always prepend --prefix to ensure using the same prefix
|
||||
# in subdir configurations.
|
||||
ac_sub_configure_args="'--prefix=$prefix' $ac_sub_configure_args"
|
||||
|
||||
# make sure that $1_subdir is not empty
|
||||
test -n "$$1_subdir" || $1_subdir="."
|
||||
|
||||
case "$$1_subdir" in
|
||||
"." ) ;;
|
||||
* )
|
||||
ac_sub_configure_args="$ac_sub_configure_args '--with-target-subdir=$$1_subdir' '--exec-prefix=${prefix}/$$1_subdir'"
|
||||
;;
|
||||
esac
|
||||
|
||||
ac_popdir=`pwd`
|
||||
for ac_dir in $$1_configdirs; do
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
test -d $srcdir/$ac_dir || continue
|
||||
|
||||
AC_MSG_NOTICE([configuring in $$1_subdir/$ac_dir])
|
||||
AS_MKDIR_P(["$$1_subdir/$ac_dir"])
|
||||
_RTEMS_SRCPATHS(["$ac_dir"],["$$1_subdir"])
|
||||
|
||||
cd $$1_subdir/$ac_dir
|
||||
|
||||
# Check for guested configure; otherwise get Cygnus style configure.
|
||||
if test -f $ac_srcdir/configure.gnu; then
|
||||
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
|
||||
elif test -f $ac_srcdir/configure; then
|
||||
ac_sub_configure="$SHELL '$ac_srcdir/configure'"
|
||||
elif test -f $ac_srcdir/configure.in; then
|
||||
ac_sub_configure=$ac_configure
|
||||
else
|
||||
AC_MSG_WARN([no configuration information is in $ac_dir])
|
||||
ac_sub_configure=
|
||||
fi
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case $cache_file in
|
||||
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
|
||||
esac
|
||||
|
||||
ac_sub_configure_vars=
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars '--cache-file=$ac_sub_cache_file'"
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars '--srcdir=$ac_srcdir'"
|
||||
|
||||
test -n "[$]CC_FOR_$2" && \
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars 'CC=[$]CC_FOR_$2'"
|
||||
test -n "[$]CXX_FOR_$2" && \
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars 'CXX=[$]CXX_FOR_$2'"
|
||||
test -n "[$]CFLAGS_FOR_$2" && \
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars 'CFLAGS=[$]CFLAGS_FOR_$2'"
|
||||
test -n "[$]CXXFLAGS_FOR_$2" && \
|
||||
ac_sub_configure_vars="$ac_sub_configure_vars 'CXXFLAGS=[$]CXXFLAGS_FOR_$2'"
|
||||
|
||||
# The eval makes quoting arguments work.
|
||||
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars])
|
||||
eval $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars ||
|
||||
AC_MSG_ERROR([$ac_sub_configure failed for $ac_dir])
|
||||
fi
|
||||
|
||||
cd $ac_popdir
|
||||
done
|
||||
fi
|
||||
fi
|
||||
])
|
||||
])
|
||||
|
||||
AC_DEFUN([_RTEMS_CONFIGURE_ARGS_PRUNE],
|
||||
[
|
||||
$1_prune()
|
||||
{
|
||||
$1=
|
||||
for ac_arg
|
||||
do
|
||||
if test -n "$ac_prev"; then
|
||||
ac_prev=
|
||||
continue
|
||||
fi
|
||||
case $ac_arg in
|
||||
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
||||
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
||||
ac_prev=cache_file ;;
|
||||
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
||||
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
||||
| --c=*)
|
||||
;;
|
||||
--config-cache | -C)
|
||||
;;
|
||||
|
||||
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
||||
ac_prev=srcdir ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
|
||||
-host* | --host* );;
|
||||
-host | --host )
|
||||
ac_prev=host_alias;;
|
||||
-target* | --target* );;
|
||||
-target | --target )
|
||||
ac_prev=target_alias;;
|
||||
-build* | --build* );;
|
||||
-build | --build )
|
||||
ac_prev=build_alias;;
|
||||
|
||||
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
||||
ac_prev=prefix ;;
|
||||
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
||||
;;
|
||||
|
||||
*_alias=* );;
|
||||
|
||||
m4_if([$2],,,[$2])
|
||||
*) $1="$$1 '$ac_arg'" ;;
|
||||
esac
|
||||
done
|
||||
export $1
|
||||
}
|
||||
])
|
||||
|
||||
## PUBLIC: RTEMS_BUILD_CONFIG_SUBDIRS(build_subdir)
|
||||
# subdirs to be built for the build environment
|
||||
AC_DEFUN([RTEMS_BUILD_CONFIG_SUBDIRS],[
|
||||
m4_append([_RTEMS_BUILD_CONFIGDIRS_LIST],[ $1])
|
||||
dnl Always append to build_configdirs
|
||||
AC_SUBST(build_configdirs,"$build_configdirs $1")
|
||||
|
||||
m4_divert_text([DEFAULTS],
|
||||
[ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
|
||||
m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
|
||||
])
|
||||
|
||||
AC_DEFUN(_RTEMS_BUILD_CONFIG_PREPARE,[
|
||||
## # Record the configure arguments in Makefile.
|
||||
m4_ifdef([_RTEMS_BUILD_CONFIGDIRS_LIST],
|
||||
[
|
||||
m4_expand_once([_RTEMS_TOOLS([build],[BUILD])])
|
||||
m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([buildargs])])
|
||||
eval buildargs_prune $ac_configure_args
|
||||
buildargs="'--host=${build_alias-$build}' '--build=${build_alias-$build}' ${buildargs}"
|
||||
buildargs="${buildargs} '--target=${target_alias-$target}'"
|
||||
],[])
|
||||
AC_SUBST(buildargs)
|
||||
AC_SUBST(build_subdir)
|
||||
])
|
||||
|
||||
## PUBLIC: RTEMS_HOST_CONFIG_SUBDIRS(host_subdir)
|
||||
# subdirs to be build for the host environment
|
||||
AC_DEFUN([RTEMS_HOST_CONFIG_SUBDIRS],[
|
||||
m4_append([_RTEMS_HOST_CONFIGDIRS_LIST],[ $1])dnl
|
||||
|
||||
_RTEMS_SUBST_IFNOT([host_configdirs],[$1])
|
||||
|
||||
m4_divert_text([DEFAULTS],
|
||||
[ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
|
||||
m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
|
||||
])
|
||||
|
||||
AC_DEFUN(_RTEMS_HOST_CONFIG_PREPARE,[
|
||||
m4_ifdef([_RTEMS_HOST_CONFIGDIRS_LIST],
|
||||
[
|
||||
m4_expand_once([_RTEMS_TOOLS([host],[HOST])])
|
||||
m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([hostargs])])
|
||||
eval hostargs_prune $ac_configure_args
|
||||
hostargs="'--host=${host_alias-$host}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${hostargs}"
|
||||
],[])
|
||||
AC_SUBST(hostargs)
|
||||
AC_SUBST(host_subdir)
|
||||
])
|
||||
|
||||
## PUBLIC: RTEMS_TARGET_CONFIG_SUBDIRS(target_subdir)
|
||||
# subdirs to be build for the target environment
|
||||
AC_DEFUN([RTEMS_TARGET_CONFIG_SUBDIRS],[
|
||||
m4_append([_RTEMS_TARGET_CONFIGDIRS_LIST],[ $1])
|
||||
|
||||
_RTEMS_SUBST_IFNOT([target_configdirs],[$1])
|
||||
|
||||
m4_divert_text([DEFAULTS],
|
||||
[ac_subdirs_all="$ac_subdirs_all m4_normalize([$1])"])
|
||||
m4_expand_once([_RTEMS_COMMANDS_POST_CONFIG_SUBDIRS])
|
||||
])
|
||||
|
||||
AC_DEFUN(_RTEMS_TARGET_CONFIG_PREPARE,[
|
||||
m4_ifdef([_RTEMS_TARGET_CONFIGDIRS_LIST],
|
||||
[
|
||||
m4_expand_once([_RTEMS_TOOLS([target],[TARGET])])
|
||||
m4_expand_once([_RTEMS_CONFIGURE_ARGS_PRUNE([targetargs])])
|
||||
eval targetargs_prune $ac_configure_args
|
||||
targetargs="'--host=${target_alias-$target}' '--build=${build_alias-$build}' '--target=${target_alias-$target}' ${targetargs}"
|
||||
],[])
|
||||
AC_SUBST(targetargs)
|
||||
AC_SUBST(target_subdir)
|
||||
])
|
||||
25
aclocal/ar-s.m4
Normal file
25
aclocal/ar-s.m4
Normal file
@@ -0,0 +1,25 @@
|
||||
dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
AC_DEFUN(RTEMS_AR_FOR_TARGET_S,
|
||||
[
|
||||
AC_CACHE_CHECK(whether $AR_FOR_TARGET -s works,
|
||||
rtems_cv_AR_FOR_TARGET_S,
|
||||
[
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
int foo( int b )
|
||||
{ return b; }
|
||||
EOF
|
||||
if AC_TRY_COMMAND($CC_FOR_TARGET -o conftest.o -c conftest.$ac_ext) \
|
||||
&& AC_TRY_COMMAND($AR_FOR_TARGET -sr conftest.a conftest.o) \
|
||||
&& test -s conftest.a ; \
|
||||
then
|
||||
rtems_cv_AR_FOR_TARGET_S="yes"
|
||||
else
|
||||
rtems_cv_AR_FOR_TARGET_S="no"
|
||||
fi
|
||||
rm -f conftest*
|
||||
])
|
||||
])
|
||||
|
||||
@@ -2,39 +2,21 @@ dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl _RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl Internal subroutine to RTEMS_BSP_ALIAS
|
||||
AC_DEFUN(_RTEMS_BSP_ALIAS,
|
||||
[# account for "aliased" bsps which share source code
|
||||
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,BSP_RETURNED)
|
||||
dnl convert a bsp alias $1 into its bsp directory $2
|
||||
AC_DEFUN(RTEMS_BSP_ALIAS,
|
||||
[
|
||||
# account for "aliased" bsps which share source code
|
||||
case $1 in
|
||||
simcpu32) $2=sim68000 ;; # BSVC CPU32 variant
|
||||
c3xsim) $2=c4xsim ;; # TI C3x Simulator in gdb
|
||||
mcp750) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mvme2307) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mtx603e) $2=motorola_powerpc ;; # Motorola PPC board variant
|
||||
mvme162lx) $2=mvme162 ;; # m68k - mvme162 board variant
|
||||
gen68360_040) $2=gen68360 ;; # m68k - 68360 in companion mode
|
||||
p4600) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4600
|
||||
p4650) $2=p4000 ;; # mips64orion - p4000 board w/IDT 4650
|
||||
mbx8*) $2=mbx8xx ;; # MBX821/MBX860 board
|
||||
pc386dx) $2=pc386 ;; # i386 - PC w/o FPU
|
||||
pc486) $2=pc386 ;; # i386 - PC with i486DX
|
||||
pc586) $2=pc386 ;; # i386 - PC with Pentium
|
||||
pc686) $2=pc386 ;; # i386 - PC with PentiumPro
|
||||
pck6) $2=pc386 ;; # i386 - PC with K6
|
||||
bare*) $2=bare ;; # EXP: bare-aliases
|
||||
erc32nfp) $2=erc32 ;; # erc32 without fpu
|
||||
leon1) $2=leon ;; # leon without fpu
|
||||
leon2) $2=leon ;; # leon with fpu
|
||||
simsh7032) $2=shsim ;; # SH7032 simulator
|
||||
simsh7045) $2=shsim ;; # SH7045 simulator
|
||||
*) $2=$1;;
|
||||
esac]
|
||||
)
|
||||
|
||||
dnl RTEMS_BSP_ALIAS(BSP_ALIAS,RTEMS_BSP_FAMILY)
|
||||
dnl convert a bsp alias $1 into its bsp directory RTEMS_BSP_FAMILY
|
||||
AC_DEFUN(RTEMS_BSP_ALIAS,
|
||||
[_RTEMS_BSP_ALIAS(m4_if([$1],,[$RTEMS_BSP],[$1]),
|
||||
m4_if([$2],,[RTEMS_BSP_FAMILY],[$2]))]
|
||||
)
|
||||
esac
|
||||
])
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
dnl RTEMS_BSP_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])
|
||||
dnl
|
||||
dnl Accept --enable-FEATURE=<RTEMS_BSP>:<bsp-value> and
|
||||
dnl --enable-FEATURE=<value> in BSP-configure scripts.
|
||||
dnl
|
||||
dnl Configure scripts will receive <bsp-value> if <RTEMS_BSP> matches the
|
||||
dnl actual value of the shell variable RTEMS_BSP (cf. RTEMS_ENV_RTEMSBSP),
|
||||
dnl and the raw value passed to --enable-FEATURE otherwise.
|
||||
dnl
|
||||
AC_DEFUN(RTEMS_BSP_ARG_ENABLE,
|
||||
[AC_REQUIRE([RTEMS_ENV_RTEMSBSP])
|
||||
AC_ARG_ENABLE([$1],[$2],
|
||||
[enableval=`echo "[$enable_]patsubst([$1], -, _)" | sed -e "s%^${RTEMS_BSP}:%%"`
|
||||
eval "[enable_]patsubst([$1], -, _)='$enableval'"
|
||||
$3],[$4])
|
||||
])
|
||||
@@ -1,35 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
dnl RTEMS_BSP_CONFIGURE
|
||||
dnl Common macro to be included by all bsp-configure.acs
|
||||
AC_DEFUN([RTEMS_BSP_CONFIGURE],
|
||||
[
|
||||
AC_PREREQ([2.52])
|
||||
AM_MAINTAINER_MODE
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
|
||||
RTEMS_CANONICAL_HOST
|
||||
AM_CONFIG_HEADER([include/bspopts.tmp:include/bspopts.h.in],[
|
||||
echo "/* BSP dependent options file */" >$tmp/config.h
|
||||
echo "/* automatically generated -- DO NOT EDIT!! */" >>$tmp/config.h
|
||||
echo >>$tmp/config.h
|
||||
echo "#ifndef __BSP_OPTIONS_h" >>$tmp/config.h
|
||||
echo "#define __BSP_OPTIONS_h" >>$tmp/config.h
|
||||
echo >>$tmp/config.h
|
||||
sed -e '/.*PACKAGE.*/d' include/bspopts.tmp >> $tmp/config.h
|
||||
echo >>$tmp/config.h
|
||||
echo "#endif" >>$tmp/config.h
|
||||
AS_IF([cmp -s include/bspopts.h $tmp/config.h 2>/dev/null],[
|
||||
AC_MSG_NOTICE([include/bspopts.h is unchanged])
|
||||
rm -f $tmp/config.h],[
|
||||
AC_MSG_NOTICE([creating include/bspopts.h])
|
||||
rm -f include/bspopts.h
|
||||
mv $tmp/config.h include/bspopts.h
|
||||
])
|
||||
])
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
RTEMS_CHECK_MULTIPROCESSING
|
||||
])
|
||||
@@ -1,66 +0,0 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl RTEMS_BSPOPTS_* - some autoconf voodoo to handle default values and
|
||||
dnl help-strings for per-BSP-environment variables.
|
||||
|
||||
dnl To be used in bsp-configure scripts
|
||||
|
||||
|
||||
dnl Example:
|
||||
dnl
|
||||
dnl RTEMS_BSPOPTS_SET([foo],[bar],[0])
|
||||
dnl RTEMS_BSPOPTS_SET([foo],[baz*],[hello])
|
||||
dnl RTEMS_BSPOPTS_SET([foo],[*],[])
|
||||
dnl RTEMS_BSPOPTS_HELP([foo],[env. variable foo])
|
||||
dnl -> Add "0" as default value of variable "foo" for BSP "bar"
|
||||
dnl -> Add "hello" as default value of variable "foo" for all BSPs starting
|
||||
dnl with "baz" in their name.
|
||||
dnl -> Undefine foo as default clause for all BSP's.
|
||||
dnl
|
||||
dnl All this basically expands to a /bin/shell "case"-statement with
|
||||
dnl accompanying autoconf magic to propagate VAR to bspopts.h.
|
||||
|
||||
|
||||
dnl RTEMS_BSPOPTS_HELP(VAR,HELP-STRING)
|
||||
dnl Set up printing the HELP-STRING for bspopts.h's variable VAR and add
|
||||
dnl appropriate /bin/sh-magic to "configure" to have VAR set up.
|
||||
|
||||
AC_DEFUN([RTEMS_BSPOPTS_HELP],[
|
||||
RTEMS_ARG_VAR([$1],[$2])
|
||||
m4_ifdef([_$1],[
|
||||
case ${RTEMS_BSP} in
|
||||
_$1[]dnl
|
||||
esac],[])
|
||||
if test -n "[$]{$1}"; then[]dnl
|
||||
AC_DEFINE_UNQUOTED([$1],
|
||||
[[$]$1],
|
||||
[$2])dnl
|
||||
fi
|
||||
])
|
||||
|
||||
dnl RTEMS_BSPOPTS_SET(VAR,BSP,DEFAULT)
|
||||
dnl Set up a value DEFAULT to be used as default value for variable VAR for
|
||||
dnl BSP in RTEMS_BSPOPTS_HELP.
|
||||
|
||||
dnl MUST be use in front of exactly _one_ corresponding RTEMS_BSPOPTS_HELP
|
||||
|
||||
AC_DEFUN([RTEMS_BSPOPTS_SET],[dnl
|
||||
m4_append([_$1],
|
||||
[$2 )
|
||||
$1=[$]{$1-$3} ;;
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
dnl RTEMS_ARG_VAR(VAR,HELP-STRING)
|
||||
dnl An internal macros to have RTEMS_BSPOPTS_HELP's help string pretty
|
||||
dnl printed with configure --help.
|
||||
dnl Stripped down version of autoconf-2.52's AC_ARG_VAR.
|
||||
|
||||
AC_DEFUN([RTEMS_ARG_VAR],
|
||||
[
|
||||
m4_expand_once([m4_divert_once([HELP_VAR],
|
||||
[AC_HELP_STRING([$1], [$2], [ ])])],
|
||||
[$0($1)])dnl
|
||||
])
|
||||
@@ -4,15 +4,16 @@ AC_DEFUN(RTEMS_CANONICAL_HOST,
|
||||
[dnl
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
RTEMS_HOST=$host_os
|
||||
changequote(,)dnl
|
||||
case "${target}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-*linux*) # unix "simulator" port
|
||||
i[34567]86-*linux*) # unix "simulator" port
|
||||
RTEMS_HOST=Linux
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
i[34567]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HOST=FreeBSD
|
||||
;;
|
||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
RTEMS_HOST=Cygwin
|
||||
;;
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
@@ -21,5 +22,6 @@ case "${target}" in
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST(RTEMS_HOST)
|
||||
])dnl
|
||||
|
||||
@@ -10,17 +10,18 @@ dnl and we have to fix it for rtems ourselves
|
||||
|
||||
AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU,
|
||||
[
|
||||
AC_CANONICAL_TARGET
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_MSG_CHECKING(rtems target cpu)
|
||||
changequote(,)dnl
|
||||
case "${target}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-*linux*) # unix "simulator" port
|
||||
i[34567]86-*linux*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
i[34567]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :)
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
@@ -29,13 +30,11 @@ case "${target}" in
|
||||
sparc-sun-solaris*) # unix "simulator" port
|
||||
RTEMS_CPU=unix
|
||||
;;
|
||||
tic4x-*rtems*) # gcc changed the name
|
||||
RTEMS_CPU=c4x
|
||||
;;
|
||||
*)
|
||||
RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'`
|
||||
RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
|
||||
;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST(RTEMS_CPU)
|
||||
AC_MSG_RESULT($RTEMS_CPU)
|
||||
])
|
||||
|
||||
@@ -3,21 +3,87 @@ dnl $Id$
|
||||
dnl
|
||||
dnl Set target tools
|
||||
dnl
|
||||
dnl 98/06/23 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
dnl fixing cache/environment variable handling
|
||||
dnl adding checks for cygwin/egcs '\\'-bug
|
||||
dnl adding checks for ranlib/ar -s problem
|
||||
dnl
|
||||
dnl 98/02/12 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
dnl
|
||||
|
||||
AC_DEFUN(RTEMS_GCC_PRINT,
|
||||
[
|
||||
$1=`$CC_FOR_TARGET --print-prog-name=$2`
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_PATH_TOOL,
|
||||
[
|
||||
AC_MSG_CHECKING([target's $2])
|
||||
AC_CACHE_VAL(ac_cv_path_$1,:)
|
||||
AC_MSG_RESULT([$ac_cv_path_$1])
|
||||
|
||||
if test -n "$ac_cv_path_$1"; then
|
||||
dnl retrieve the value from the cache
|
||||
$1=$ac_cv_path_$1
|
||||
else
|
||||
dnl the cache was not set
|
||||
if test -z "[$]$1" ; then
|
||||
if test "$rtems_cv_prog_gcc" = "yes"; then
|
||||
# We are using gcc, ask it about its tool
|
||||
# NOTE: Necessary if gcc was configured to use the target's
|
||||
# native tools or uses prefixes for gnutools (e.g. gas instead of as)
|
||||
RTEMS_GCC_PRINT($1,$2)
|
||||
fi
|
||||
else
|
||||
# The user set an environment variable.
|
||||
# Check whether it is an absolute path, otherwise AC_PATH_PROG
|
||||
# will override the environment variable, which isn't what the user
|
||||
# intends
|
||||
AC_MSG_CHECKING([whether environment variable $1 is an absolute path])
|
||||
case "[$]$1" in
|
||||
/*) # valid
|
||||
AC_MSG_RESULT("yes")
|
||||
;;
|
||||
*) # invalid for AC_PATH_PROG
|
||||
AC_MSG_RESULT("no")
|
||||
AC_MSG_ERROR([***]
|
||||
[Environment variable $1 should either]
|
||||
[be unset (preferred) or contain an absolute path])
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AC_PATH_PROG($1,"$program_prefix"$2,$3)
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_CANONICALIZE_TOOLS,
|
||||
[AC_REQUIRE([RTEMS_PROG_CC])dnl
|
||||
|
||||
dnl FIXME: What shall be done if these tools are not available?
|
||||
RTEMS_CHECK_TOOL(AR,ar,no)
|
||||
RTEMS_CHECK_TOOL(AS,as,no)
|
||||
RTEMS_CHECK_TOOL(LD,ld,no)
|
||||
RTEMS_CHECK_TOOL(NM,nm,no)
|
||||
RTEMS_PATH_TOOL(AR_FOR_TARGET,ar,no)
|
||||
RTEMS_PATH_TOOL(AS_FOR_TARGET,as,no)
|
||||
RTEMS_PATH_TOOL(LD_FOR_TARGET,ld,no)
|
||||
RTEMS_PATH_TOOL(NM_FOR_TARGET,nm,no)
|
||||
|
||||
dnl special treatment of ranlib
|
||||
RTEMS_CHECK_TOOL(RANLIB,ranlib,:)
|
||||
RTEMS_PATH_TOOL(RANLIB_FOR_TARGET,ranlib,no)
|
||||
if test "$RANLIB_FOR_TARGET" = "no"; then
|
||||
# ranlib wasn't found; check if ar -s is available
|
||||
RTEMS_AR_FOR_TARGET_S
|
||||
if test $rtems_cv_AR_FOR_TARGET_S = "yes" ; then
|
||||
dnl override RANLIB_FOR_TARGET's cache
|
||||
ac_cv_path_RANLIB_FOR_TARGET="$AR_FOR_TARGET -s"
|
||||
RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
|
||||
else
|
||||
AC_MSG_ERROR([***]
|
||||
[Can't figure out how to build a library index]
|
||||
[Neither ranlib nor ar -s seem to be available] )
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl NOTE: These may not be available if not using gnutools
|
||||
RTEMS_CHECK_TOOL(OBJCOPY,objcopy,no)
|
||||
RTEMS_CHECK_TOOL(SIZE,size,no)
|
||||
RTEMS_CHECK_TOOL(STRIP,strip,:)
|
||||
RTEMS_PATH_TOOL(OBJCOPY_FOR_TARGET,objcopy,no)
|
||||
RTEMS_PATH_TOOL(SIZE_FOR_TARGET,size,no)
|
||||
RTEMS_PATH_TOOL(STRIP_FOR_TARGET,strip,no)
|
||||
])
|
||||
|
||||
@@ -1,39 +1,17 @@
|
||||
dnl $Id$
|
||||
|
||||
dnl RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
|
||||
AC_DEFUN([RTEMS_CHECK_BSP_CACHE],
|
||||
AC_DEFUN(RTEMS_CHECK_BSP_CACHE,
|
||||
[
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl sets RTEMS_CPU, target
|
||||
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl set RTEMS_BSP
|
||||
AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_CPU_MODEL], [rtems_cv_RTEMS_CPU_MODEL],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
AC_CACHE_CHECK("for RTEMS_CPU_MODEL", rtems_cv_RTEMS_CPU_MODEL,
|
||||
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
|
||||
RTEMS_CPU_MODEL=$rtems_cv_RTEMS_CPU_MODEL
|
||||
AC_SUBST(RTEMS_CPU_MODEL)
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_BSP_FAMILY],[rtems_cv_RTEMS_BSP_FAMILY],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
AC_CACHE_CHECK("for RTEMS_BSP_FAMILY", rtems_cv_RTEMS_BSP_FAMILY,
|
||||
. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache)
|
||||
RTEMS_BSP_FAMILY=$rtems_cv_RTEMS_BSP_FAMILY
|
||||
AC_SUBST(RTEMS_BSP_FAMILY)
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS],[rtems_cv_RTEMS_BSP_CFLAGS],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
RTEMS_BSP_CFLAGS=$rtems_cv_RTEMS_BSP_CFLAGS
|
||||
AC_SUBST(RTEMS_BSP_CFLAGS)
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_OPTIMIZE_V],[rtems_cv_RTEMS_BSP_CFLAGS_OPTIMIZE_V],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
RTEMS_BSP_CFLAGS_OPTIMIZE_V=$rtems_cv_RTEMS_BSP_CFLAGS_OPTIMIZE_V
|
||||
AC_SUBST(RTEMS_BSP_CFLAGS_OPTIMIZE_V)
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_DEBUG_V],[rtems_cv_RTEMS_BSP_CFLAGS_DEBUG_V],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
RTEMS_BSP_CFLAGS_DEBUG_V=$rtems_cv_RTEMS_BSP_CFLAGS_DEBUG_V
|
||||
AC_SUBST(RTEMS_BSP_CFLAGS_DEBUG_V)
|
||||
|
||||
AC_CACHE_CHECK([for RTEMS_BSP_CFLAGS_PROFILE_V],[rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V],
|
||||
[. $RTEMS_TOPdir/c/[$]$1/make/[$]$1.cache])
|
||||
RTEMS_BSP_CFLAGS_PROFILE_V=$rtems_cv_RTEMS_BSP_CFLAGS_PROFILE_V
|
||||
AC_SUBST(RTEMS_BSP_CFLAGS_PROFILE_V)
|
||||
])
|
||||
])dnl
|
||||
|
||||
@@ -11,23 +11,36 @@ AC_REQUIRE([RTEMS_TOP])dnl sets RTEMS_TOPdir
|
||||
AC_MSG_CHECKING([for bsps])
|
||||
files=`ls $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU`
|
||||
for file in $files; do
|
||||
if test -r $srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$RTEMS_CPU/$file/bsp_specs; then
|
||||
case $file in
|
||||
case $file in
|
||||
shared*);;
|
||||
Makefile*);;
|
||||
READ*);;
|
||||
CVS*);;
|
||||
pxfl*);;
|
||||
ac*);;
|
||||
config*);;
|
||||
# Now account for BSPs with build variants
|
||||
c4xsim) $1="[$]$1 c4xsim c3xsim";;
|
||||
gen68360) $1="[$]$1 gen68360 gen68360_040";;
|
||||
p4000) $1="[$]$1 p4600 p4650";;
|
||||
mvme162) $1="[$]$1 mvme162 mvme162lx";;
|
||||
mbx8xx) $1="[$]$1 mbx821_001 mbx860_002 mbx860_005b";;
|
||||
motorola_powerpc) $1="[$]$1 mvme2307 mcp750 mtx603e";;
|
||||
pc386) $1="[$]$1 pc386 pc386dx pc486 pc586 pc686 pck6";;
|
||||
erc32) $1="[$]$1 erc32 erc32nfp";;
|
||||
leon) $1="[$]$1 leon1 leon2";;
|
||||
sim68000) $1="[$]$1 sim68000 simcpu32";;
|
||||
shsim) $1="[$]$1 simsh7032 simsh7045";;
|
||||
*) $1="[$]$1 $file";;
|
||||
esac;
|
||||
fi
|
||||
gen68360) rtems_bsp="$rtems_bsp gen68360 gen68360_040";;
|
||||
p4000) rtems_bsp="$rtems_bsp p4600 p4650";;
|
||||
mvme162) rtems_bsp="$rtems_bsp mvme162 mvme162lx";;
|
||||
motorola_powerpc) rtems_bsp="$rtems_bsp mvme2307 mcp750";;
|
||||
pc386) rtems_bsp="$rtems_bsp pc386 pc486 pc586 pc686";;
|
||||
*) $1="[$]$1 $file";;
|
||||
esac;
|
||||
done
|
||||
dnl ;;
|
||||
dnl esac
|
||||
AC_MSG_RESULT([[$]$1 .. done])
|
||||
])dnl
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
|
||||
AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
|
||||
if test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_ERROR([no])
|
||||
fi
|
||||
])dnl
|
||||
|
||||
@@ -8,8 +8,7 @@ AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])
|
||||
|
||||
# Is this a supported CPU?
|
||||
AC_MSG_CHECKING([if cpu $RTEMS_CPU is supported])
|
||||
# FIXME: Temporary hack
|
||||
if test -d "$srcdir/$RTEMS_TOPdir/cpukit/score/cpu/$RTEMS_CPU"; then
|
||||
if test -d "$srcdir/$RTEMS_TOPdir/c/src/exec/score/cpu/$RTEMS_CPU"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_ERROR(no)
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,[
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
|
||||
AC_MSG_CHECKING([for make/custom/[$]$1.cfg])
|
||||
AS_IF([test -r "$srcdir/$RTEMS_TOPdir/make/custom/[$]$1.cfg"],
|
||||
[AC_MSG_RESULT([yes])],
|
||||
[AC_MSG_ERROR([no])])
|
||||
])
|
||||
@@ -8,7 +8,7 @@ AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
|
||||
AC_CACHE_CHECK([whether to build rtems++],
|
||||
rtems_cv_HAS_CPLUSPLUS,
|
||||
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
||||
if test -n "$CXX"; then
|
||||
if test -n "$CXX_FOR_TARGET"; then
|
||||
rtems_cv_HAS_CPLUSPLUS="yes"
|
||||
else
|
||||
rtems_cv_HAS_CPLUSPLUS="no"
|
||||
@@ -18,9 +18,4 @@ AC_CACHE_CHECK([whether to build rtems++],
|
||||
fi])
|
||||
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
||||
AC_SUBST(HAS_CPLUSPLUS)dnl
|
||||
|
||||
if test "$HAS_CPLUSPLUS" = "yes"; then
|
||||
CPLUS_LD_LIBS='$(PROJECT_RELEASE)/lib/librtems++$(LIB_VARIANT).a'
|
||||
fi
|
||||
AC_SUBST(CPLUS_LD_LIBS)
|
||||
])
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_CHECK_ITRON_API,
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl
|
||||
|
||||
AC_CACHE_CHECK([whether CPU supports libitron],
|
||||
AC_CACHE_CHECK([whether BSP supports libitron],
|
||||
rtems_cv_HAS_ITRON_API,
|
||||
[dnl
|
||||
case "$RTEMS_CPU" in
|
||||
@@ -27,11 +27,3 @@ else
|
||||
fi
|
||||
AC_SUBST(HAS_ITRON_API)dnl
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_DEFINE_ITRON_API,
|
||||
[AC_REQUIRE([RTEMS_CHECK_ITRON_API])dnl
|
||||
if test x"${HAS_ITRON_API}" = x"yes";
|
||||
then
|
||||
AC_DEFINE_UNQUOTED(RTEMS_ITRON_API,1,[if itron api is supported])
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -4,39 +4,28 @@ dnl
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl
|
||||
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
|
||||
AC_REQUIRE([RTEMS_TOP])dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_MULTIPROCESSING])dnl
|
||||
AC_REQUIRE([RTEMS_BSP_ALIAS])dnl
|
||||
|
||||
AC_CACHE_CHECK([if wanting multiprocessing],
|
||||
[rtems_cv_want_multiprocessing],
|
||||
[
|
||||
AS_IF([test x"$multilib" = x"no"],
|
||||
[# no cpukit
|
||||
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
||||
],[
|
||||
#HACK: Should check for RTEMS_MULTIPROCESSING in cpuopts.h, instead
|
||||
rtems_cv_want_multiprocessing="$enable_multiprocessing"
|
||||
])
|
||||
])
|
||||
|
||||
AS_IF([test "$rtems_cv_want_multiprocessing" = "yes"],
|
||||
[
|
||||
AC_CACHE_CHECK([whether BSP supports multiprocessing],
|
||||
[rtems_cv_HAS_MP],[
|
||||
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${RTEMS_BSP_FAMILY}/shmsupp"; then
|
||||
AC_CACHE_CHECK([whether BSP supports multiprocessing],
|
||||
rtems_cv_HAS_MP,
|
||||
[dnl
|
||||
RTEMS_BSP_ALIAS(${$1},bspdir)
|
||||
if test -d "$srcdir/${RTEMS_TOPdir}/c/src/lib/libbsp/${RTEMS_CPU}/${bspdir}/shmsupp"; then
|
||||
if test "$RTEMS_HAS_MULTIPROCESSING" = "yes"; then
|
||||
rtems_cv_HAS_MP="yes" ;
|
||||
else
|
||||
rtems_cv_HAS_MP="disabled";
|
||||
fi
|
||||
else
|
||||
rtems_cv_HAS_MP="no";
|
||||
fi
|
||||
])
|
||||
if test $rtems_cv_HAS_MP = "no"; then
|
||||
AC_MSG_ERROR([multiprocessing requested but not supported])
|
||||
rtems_cv_HAS_MP="no";
|
||||
fi])
|
||||
if test "$rtems_cv_HAS_MP" = "yes"; then
|
||||
HAS_MP="yes"
|
||||
else
|
||||
HAS_MP="no"
|
||||
fi
|
||||
],[rtems_cv_HAS_MP="no";])
|
||||
|
||||
AC_SUBST(HAS_MP,[$rtems_cv_HAS_MP])
|
||||
AC_SUBST(HAS_MP)
|
||||
])
|
||||
|
||||
@@ -4,27 +4,28 @@ AC_DEFUN(RTEMS_CHECK_NEWLIB,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
||||
AC_REQUIRE([RTEMS_CANONICALIZE_TOOLS])dnl
|
||||
AC_CACHE_CHECK([for RTEMS newlib],
|
||||
AC_CACHE_CHECK([for newlib],
|
||||
rtems_cv_use_newlib,
|
||||
[
|
||||
rtems_save_CC=$CC
|
||||
CC=$CC_FOR_TARGET
|
||||
|
||||
dnl some versions of newlib provide not_required_by_rtems
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[extern void not_required_by_rtems() ;]],
|
||||
[[not_required_by_rtems()]])],
|
||||
[rtems_cv_use_newlib="yes"],[])
|
||||
AC_TRY_LINK(
|
||||
[extern int not_required_by_rtems() ;],
|
||||
[not_required_by_rtems()],
|
||||
rtems_cv_use_newlib="yes")
|
||||
|
||||
dnl some versions of newlib provide rtems_provides_crt0()
|
||||
AS_IF([test -z "$rtems_cv_use_newlib"],
|
||||
[AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[extern void rtems_provides_crt0() ;]],
|
||||
[[rtems_provides_crt0()]])],
|
||||
[rtems_cv_use_newlib="yes"],[rtems_cv_use_newlib="no"])
|
||||
])
|
||||
])
|
||||
RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
|
||||
AC_SUBST(RTEMS_USE_NEWLIB)
|
||||
|
||||
AS_IF([test x"${RTEMS_USE_NEWLIB}" = x"yes"],
|
||||
[ AC_DEFINE_UNQUOTED(RTEMS_NEWLIB,1,[if using newlib])]
|
||||
)
|
||||
dnl older versions of newlib provided rtems_provides_crt0
|
||||
if test -z "$rtems_cv_use_newlib"; then
|
||||
AC_TRY_LINK(
|
||||
[extern int rtems_provides_crt0 ;],
|
||||
[rtems_provides_crt0 = 0],
|
||||
rtems_cv_use_newlib="yes",
|
||||
rtems_cv_use_newlib="no")
|
||||
fi
|
||||
CC=$rtems_save_CC])
|
||||
RTEMS_USE_NEWLIB="$rtems_cv_use_newlib"
|
||||
AC_SUBST(RTEMS_USE_NEWLIB)
|
||||
])
|
||||
|
||||
|
||||
@@ -2,10 +2,11 @@ dnl $Id$
|
||||
dnl
|
||||
AC_DEFUN(RTEMS_CHECK_POSIX_API,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl
|
||||
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl
|
||||
|
||||
AC_CACHE_CHECK([whether CPU supports libposix],
|
||||
AC_CACHE_CHECK([whether BSP supports libposix],
|
||||
rtems_cv_HAS_POSIX_API,
|
||||
[dnl
|
||||
case "$RTEMS_CPU" in
|
||||
@@ -27,10 +28,3 @@ else
|
||||
fi
|
||||
AC_SUBST(HAS_POSIX_API)dnl
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_DEFINE_POSIX_API,
|
||||
[AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl
|
||||
AS_IF(
|
||||
[test x"${HAS_POSIX_API}" = x"yes"],
|
||||
[AC_DEFINE_UNQUOTED(RTEMS_POSIX_API,1,[if posix api is supported])])
|
||||
])
|
||||
|
||||
@@ -15,23 +15,6 @@ AC_CACHE_CHECK([whether BSP supports librdbg],
|
||||
elif test -d "$srcdir/${RTEMS_TOPdir}/c/src/librdbg/src/${RTEMS_CPU}/any";
|
||||
then
|
||||
rtems_cv_HAS_RDBG="yes" ;
|
||||
elif test "${RTEMS_CPU}" = "powerpc";
|
||||
then
|
||||
A=`grep -l RTEMS_PPC_EXCEPTION_PROCESSING_MODEL $srcdir/${RTEMS_TOPdir}/make/custom/* 2>/dev/null`;
|
||||
C=""
|
||||
for i in ${A} ;
|
||||
do
|
||||
B=`basename ${i} .cfg`;
|
||||
C="${C} ${B}";
|
||||
done
|
||||
rtems_cv_HAS_RDBG="no";
|
||||
for j in ${C} ;
|
||||
do
|
||||
if test "${$1}" = "${j}" ;
|
||||
then
|
||||
rtems_cv_HAS_RDBG="yes";
|
||||
fi
|
||||
done
|
||||
else
|
||||
rtems_cv_HAS_RDBG="no";
|
||||
fi
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to
|
||||
## the un-prefixed version of PROG-TO-CHECK-FOR.
|
||||
dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]])
|
||||
AC_DEFUN(RTEMS_CHECK_TOOL,
|
||||
[
|
||||
AS_IF([test "x$build_alias" != "x$host_alias"],
|
||||
[rtems_tool_prefix=${ac_tool_prefix}])
|
||||
AC_CHECK_PROG($1, ${rtems_tool_prefix}$2, ${rtems_tool_prefix}$2, $3, $4)
|
||||
])
|
||||
@@ -1,34 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
dnl
|
||||
dnl Misc utility macros for subdir handling to work around missing abilities
|
||||
dnl in autoconf, automake and structural issues with RTEMS
|
||||
dnl
|
||||
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
|
||||
dnl configure.in.
|
||||
dnl
|
||||
|
||||
dnl
|
||||
dnl _AC_DOTS(PATH)
|
||||
dnl
|
||||
AC_DEFUN(_AC_DOTS,[
|
||||
# A "../" for each directory in $1.
|
||||
ac_dots=`echo $1 | \
|
||||
sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
|
||||
])
|
||||
|
||||
dnl
|
||||
dnl _RTEMS_ADJUST_SRCDIR(REVAR,CONFIG_DIR[,TARGET_SUBDIR])
|
||||
dnl
|
||||
AC_DEFUN(_RTEMS_ADJUST_SRCDIR,[
|
||||
_AC_DOTS(ifelse([$3], ,[$2],[$3/$2]))
|
||||
|
||||
case "$srcdir" in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
$1=$srcdir ;;
|
||||
[[\\/]]* | ?:[[\\/]]*) # Absolute path.
|
||||
$1=$srcdir/$2 ;;
|
||||
*) # Relative path.
|
||||
$1=$ac_dots$srcdir/$2 ;;
|
||||
esac
|
||||
])
|
||||
@@ -1,8 +1,8 @@
|
||||
AC_DEFUN(RTEMS_ENABLE_BARE,
|
||||
[
|
||||
AC_ARG_ENABLE(bare-cpu-cflags,
|
||||
[AC_HELP_STRING([--enable-bare-cpu-cflags],
|
||||
[specify a particular cpu cflag (bare bsp specific)])],
|
||||
[ --enable-bare-cpu-cflags specify a particular cpu cflag]
|
||||
[ (bare bsp specific)],
|
||||
[case "${enableval}" in
|
||||
no) BARE_CPU_CFLAGS="" ;;
|
||||
*) BARE_CPU_CFLAGS="${enableval}" ;;
|
||||
@@ -10,8 +10,8 @@ esac],
|
||||
[BARE_CPU_CFLAGS=""])
|
||||
|
||||
AC_ARG_ENABLE(bare-cpu-model,
|
||||
[AC_HELP_STRING([--enable-bare-cpu-model],
|
||||
[specify a particular cpu model (bare bsp specific)])],
|
||||
[ --enable-bare-cpu-model specify a particular cpu model]
|
||||
[ (bare bsp specific)],
|
||||
[case "${enableval}" in
|
||||
no) BARE_CPU_MODEL="" ;;
|
||||
*) BARE_CPU_MODEL="${enableval}" ;;
|
||||
|
||||
@@ -3,9 +3,9 @@ dnl $Id$
|
||||
AC_DEFUN(RTEMS_ENABLE_CXX,
|
||||
[
|
||||
AC_ARG_ENABLE(cxx,
|
||||
[AC_HELP_STRING([--enable-cxx],
|
||||
[enable C++ support and build the rtems++ library])],
|
||||
[case "${enable_cxx}" in
|
||||
[ --enable-cxx enable C++ support,]
|
||||
[ and build the rtems++ library],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_CPLUSPLUS=yes ;;
|
||||
no) RTEMS_HAS_CPLUSPLUS=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-cxx option) ;;
|
||||
|
||||
12
aclocal/enable-gcc28.m4
Normal file
12
aclocal/enable-gcc28.m4
Normal file
@@ -0,0 +1,12 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_GCC28,
|
||||
[
|
||||
AC_ARG_ENABLE(gcc28,
|
||||
[ --enable-gcc28 enable use of gcc 2.8.x features],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_USE_GCC272=no ;;
|
||||
no) RTEMS_USE_GCC272=yes ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for gcc-28 option) ;;
|
||||
esac],[RTEMS_USE_GCC272=no])
|
||||
])
|
||||
15
aclocal/enable-hwapi.m4
Normal file
15
aclocal/enable-hwapi.m4
Normal file
@@ -0,0 +1,15 @@
|
||||
dnl $Id$
|
||||
dnl
|
||||
dnl FIXME: this needs to be reworked
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_HWAPI,
|
||||
[dnl
|
||||
AC_ARG_ENABLE(hwapi, \
|
||||
[ --enable-hwapi enable hardware API library],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_HWAPI=yes ;;
|
||||
no) RTEMS_HAS_HWAPI=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for hwapi option) ;;
|
||||
esac],[RTEMS_HAS_HWAPI=no])
|
||||
AC_SUBST(RTEMS_HAS_HWAPI)dnl
|
||||
])dnl
|
||||
@@ -2,16 +2,12 @@ dnl $Id$
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_INLINES,
|
||||
[AC_ARG_ENABLE(rtems-inlines,
|
||||
[AC_HELP_STRING([--enable-rtems-inlines],
|
||||
[enable RTEMS inline functions (default:enabled, disable to use macros)])],
|
||||
[ --enable-rtems-inlines enable RTEMS inline functions]
|
||||
[ (default:enabled, disable to use macros)],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_USE_MACROS=no ;;
|
||||
no) RTEMS_USE_MACROS=yes ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for disable-rtems-inlines option) ;;
|
||||
esac],[RTEMS_USE_MACROS=no])
|
||||
AC_SUBST(RTEMS_USE_MACROS)dnl
|
||||
|
||||
AS_IF([test x"${RTEMS_USE_MACROS}" = x"yes"],
|
||||
[AC_DEFINE_UNQUOTED(USE_MACROS,1,[if using macros])],
|
||||
[AC_DEFINE_UNQUOTED(USE_INLINES,1,[if using inlines])])
|
||||
])
|
||||
|
||||
@@ -5,19 +5,20 @@ AC_DEFUN(RTEMS_ENABLE_ITRON,
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
|
||||
|
||||
AC_ARG_ENABLE(itron,
|
||||
[AC_HELP_STRING([--enable-itron],[enable itron interface])],
|
||||
[ --enable-itron enable itron interface],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_ITRON_API=yes ;;
|
||||
no) RTEMS_HAS_ITRON_API=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-itron option) ;;
|
||||
esac],[RTEMS_HAS_ITRON_API=yes])
|
||||
|
||||
case "${host}" in
|
||||
changequote(,)dnl
|
||||
case "${target}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
||||
i[34567]86-pc-linux*) # unix "simulator" port
|
||||
RTEMS_HAS_ITRON_API=no
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
i[34567]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HAS_ITRON_API=no
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
@@ -29,5 +30,6 @@ case "${host}" in
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST(RTEMS_HAS_ITRON_API)
|
||||
])
|
||||
|
||||
10
aclocal/enable-libcdir.m4
Normal file
10
aclocal/enable-libcdir.m4
Normal file
@@ -0,0 +1,10 @@
|
||||
dnl $Id$
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_LIBCDIR,
|
||||
[
|
||||
AC_ARG_ENABLE(libcdir,
|
||||
[ --enable-libcdir=directory set the directory for the C library],
|
||||
[ RTEMS_LIBC_DIR="${enableval}" ; \
|
||||
test -d ${enableval} || AC_MSG_ERROR("$enableval is not a directory" ) ] )
|
||||
AC_SUBST(RTEMS_LIBC_DIR)dnl
|
||||
])
|
||||
@@ -3,11 +3,11 @@ dnl $Id$
|
||||
AC_DEFUN(RTEMS_ENABLE_MULTIPROCESSING,
|
||||
[
|
||||
AC_ARG_ENABLE(multiprocessing,
|
||||
[AC_HELP_STRING([--enable-multiprocessing],
|
||||
[enable multiprocessing interface])],
|
||||
[case "${enable_multiprocessing}" in
|
||||
yes) ;;
|
||||
no) ;;
|
||||
[ --enable-multiprocessing enable multiprocessing interface],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_MULTIPROCESSING=yes ;;
|
||||
no) RTEMS_HAS_MULTIPROCESSING=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-multiprocessing option) ;;
|
||||
esac],[enable_multiprocessing=no])
|
||||
esac],[RTEMS_HAS_MULTIPROCESSING=no])
|
||||
AC_SUBST(RTEMS_HAS_MULTIPROCESSING)dnl
|
||||
])
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_ENABLE_NETWORKING,
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
|
||||
|
||||
AC_ARG_ENABLE(networking,
|
||||
[AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])],
|
||||
[ --enable-networking enable TCP/IP stack],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_NETWORKING=yes ;;
|
||||
no) RTEMS_HAS_NETWORKING=no ;;
|
||||
|
||||
@@ -5,19 +5,20 @@ AC_DEFUN(RTEMS_ENABLE_POSIX,
|
||||
## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
|
||||
|
||||
AC_ARG_ENABLE(posix,
|
||||
[AC_HELP_STRING([--enable-posix],[enable posix interface])],
|
||||
[ --enable-posix enable posix interface],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_POSIX_API=yes ;;
|
||||
no) RTEMS_HAS_POSIX_API=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for enable-posix option) ;;
|
||||
esac],[RTEMS_HAS_POSIX_API=yes])
|
||||
|
||||
case "${host}" in
|
||||
changequote(,)dnl
|
||||
case "${target}" in
|
||||
# hpux unix port should go here
|
||||
i[[34567]]86-pc-linux*) # unix "simulator" port
|
||||
i[34567]86-pc-linux*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
i[[34567]]86-*freebsd*) # unix "simulator" port
|
||||
i[34567]86-*freebsd*) # unix "simulator" port
|
||||
RTEMS_HAS_POSIX_API=no
|
||||
;;
|
||||
no_cpu-*rtems*)
|
||||
@@ -29,5 +30,6 @@ case "${host}" in
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
changequote([,])dnl
|
||||
AC_SUBST(RTEMS_HAS_POSIX_API)
|
||||
])
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_ENABLE_RDBG,
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_RDBG])dnl
|
||||
|
||||
AC_ARG_ENABLE(rdbg,
|
||||
[AC_HELP_STRING([--enable-rdbg],[enable remote debugger])],
|
||||
[ --enable-rdbg enable remote debugger],
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_HAS_RDBG=yes ;;
|
||||
no) RTEMS_HAS_RDBG=no ;;
|
||||
|
||||
@@ -5,12 +5,32 @@ dnl used by the toplevel configure script
|
||||
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list)
|
||||
AC_DEFUN(RTEMS_ENABLE_RTEMSBSP,
|
||||
[
|
||||
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])
|
||||
AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP])dnl
|
||||
AC_ARG_ENABLE(rtemsbsp,
|
||||
[AC_HELP_STRING([--enable-rtemsbsp="bsp1 bsp2 .."],
|
||||
[BSPs to include in build])],
|
||||
[ --enable-rtemsbsp=bsp1 bsp2 .. BSPs to include in build],
|
||||
[case "${enableval}" in
|
||||
yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp="bsp1 bsp2"]);;
|
||||
yes|no) AC_MSG_ERROR([missing argument to --enable-rtemsbsp=\"bsp1 bsp2\"]);;
|
||||
*) $1=$enableval;;
|
||||
esac],[$1=""])
|
||||
])
|
||||
|
||||
dnl Pass a single BSP via an environment variable
|
||||
dnl used by per BSP configure scripts
|
||||
AC_DEFUN(RTEMS_ENV_RTEMSBSP,
|
||||
[dnl
|
||||
AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
|
||||
AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
|
||||
|
||||
AC_MSG_CHECKING([for RTEMS_BSP])
|
||||
AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
|
||||
[dnl
|
||||
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
||||
])dnl
|
||||
if test -z "$rtems_cv_RTEMS_BSP"; then
|
||||
AC_MSG_ERROR([Missing RTEMS_BSP])
|
||||
fi
|
||||
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
||||
AC_MSG_RESULT(${RTEMS_BSP})
|
||||
AC_SUBST(RTEMS_BSP)
|
||||
])
|
||||
|
||||
@@ -5,7 +5,7 @@ AC_DEFUN(RTEMS_ENABLE_TESTS,
|
||||
# If the tests are enabled, then find all the test suite Makefiles
|
||||
AC_MSG_CHECKING([if the test suites are enabled? ])
|
||||
AC_ARG_ENABLE(tests,
|
||||
[AC_HELP_STRING([--enable-tests],[enable tests (default:disabled)])],
|
||||
[ --enable-tests enable tests (default:disabled)],
|
||||
[case "${enableval}" in
|
||||
yes) tests_enabled=yes ;;
|
||||
no) tests_enabled=no ;;
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
dnl $Id$
|
||||
|
||||
dnl Pass a single BSP via an environment variable
|
||||
dnl used by per BSP configure scripts
|
||||
AC_DEFUN(RTEMS_ENV_RTEMSBSP,
|
||||
[dnl
|
||||
AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl
|
||||
AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CHECK_CUSTOM_BSP])dnl
|
||||
|
||||
AC_ARG_VAR([CPU_CFLAGS],[CFLAGS specifying CPU-dependent features])
|
||||
AC_ARG_VAR([CFLAGS_OPTIMIZE_V],[CFLAGS for building the OPTIMIZE variant])
|
||||
AC_ARG_VAR([CFLAGS_DEBUG_V],[CFLAGS for building the DEBUG variant])
|
||||
AC_ARG_VAR([CFLAGS_PROFILE_V],[CFLAGS for building the PROFILE variant])
|
||||
AC_ARG_VAR([RTEMS_BSP_FAMILY],[RTEMS's BSP directory])
|
||||
AC_ARG_VAR([RTEMS_CPU_MODEL],[RTEMS's cpu model])
|
||||
|
||||
AC_ARG_VAR([RTEMS_BSP],[RTEMS_BSP to build])
|
||||
AC_MSG_CHECKING([for RTEMS_BSP])
|
||||
AC_CACHE_VAL(rtems_cv_RTEMS_BSP,
|
||||
[dnl
|
||||
test -n "${RTEMS_BSP}" && rtems_cv_RTEMS_BSP="$RTEMS_BSP";
|
||||
])dnl
|
||||
if test -z "$rtems_cv_RTEMS_BSP"; then
|
||||
AC_MSG_ERROR([Missing RTEMS_BSP])
|
||||
fi
|
||||
RTEMS_BSP="$rtems_cv_RTEMS_BSP"
|
||||
AC_MSG_RESULT(${RTEMS_BSP})
|
||||
AC_SUBST(RTEMS_BSP)
|
||||
|
||||
RTEMS_BSP_SPECS="-specs bsp_specs -qrtems"
|
||||
AC_SUBST(RTEMS_BSP_SPECS)
|
||||
|
||||
GCC_SPECS="-B\$(PROJECT_ROOT)/lib/ -B\$(PROJECT_ROOT)/$RTEMS_BSP/lib/"
|
||||
AC_SUBST(GCC_SPECS)
|
||||
|
||||
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
||||
AC_SUBST(PROJECT_INCLUDE)
|
||||
|
||||
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
||||
AC_SUBST(PROJECT_RELEASE)
|
||||
|
||||
RTEMS_ROOT="\$(PROJECT_ROOT)/c/$RTEMS_BSP"
|
||||
AC_SUBST(RTEMS_ROOT)
|
||||
|
||||
RTEMS_ENABLE_BARE
|
||||
AC_SUBST(BARE_CPU_MODEL)
|
||||
AC_SUBST(BARE_CPU_CFLAGS)
|
||||
|
||||
AM_CONDITIONAL([MULTILIB],[false])
|
||||
|
||||
includedir="\${exec_prefix}/${RTEMS_BSP}/lib/include"
|
||||
libdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
||||
|
||||
bsplibdir="\${exec_prefix}/${RTEMS_BSP}/lib"
|
||||
AC_SUBST(bsplibdir)
|
||||
])
|
||||
@@ -1,25 +0,0 @@
|
||||
dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
dnl Check whether the gcc accepts -isystem
|
||||
dnl
|
||||
|
||||
AC_DEFUN(RTEMS_GCC_ISYSTEM,
|
||||
[AC_REQUIRE([RTEMS_PROG_CC])
|
||||
AC_CACHE_CHECK(whether $CC accepts -isystem,rtems_cv_gcc_isystem,
|
||||
[
|
||||
rtems_cv_gcc_isystem=no
|
||||
if test x"$GCC" = x"yes"; then
|
||||
cat << EOF > conftest.h
|
||||
int conftest123();
|
||||
EOF
|
||||
cat << EOF > conftest.c
|
||||
#include <conftest.h>
|
||||
int conftest123() {}
|
||||
EOF
|
||||
if test -z "`${CC} -isystem./ -c conftest.c 2>&1`";then
|
||||
rtems_cv_gcc_isystem=yes
|
||||
fi
|
||||
fi
|
||||
rm -f conftest*
|
||||
])])
|
||||
@@ -7,12 +7,12 @@ dnl
|
||||
AC_DEFUN(RTEMS_GCC_PIPE,
|
||||
[AC_REQUIRE([RTEMS_PROG_CC])
|
||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe,
|
||||
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts --pipe,rtems_cv_gcc_pipe,
|
||||
[
|
||||
rtems_cv_gcc_pipe=no
|
||||
if test x"$GCC" = x"yes"; then
|
||||
if test "$rtems_cv_prog_gcc" = "yes"; then
|
||||
echo 'void f(){}' >conftest.c
|
||||
if test -z "`${CC} --pipe -c conftest.c 2>&1`";then
|
||||
if test -z "`${CC_FOR_TARGET} --pipe -c conftest.c 2>&1`";then
|
||||
rtems_cv_gcc_pipe=yes
|
||||
fi
|
||||
rm -f conftest*
|
||||
|
||||
@@ -6,13 +6,13 @@ dnl
|
||||
|
||||
AC_DEFUN(RTEMS_GCC_SPECS,
|
||||
[AC_REQUIRE([RTEMS_PROG_CC])
|
||||
AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs,
|
||||
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs,
|
||||
[
|
||||
rtems_cv_gcc_specs=no
|
||||
if test x"$GCC" = x"yes"; then
|
||||
if test "$rtems_cv_prog_gcc" = "yes"; then
|
||||
touch confspec
|
||||
echo 'void f(){}' >conftest.c
|
||||
if test -z "`${CC} -specs confspec -c conftest.c 2>&1`";then
|
||||
if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then
|
||||
rtems_cv_gcc_specs=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -6,7 +6,7 @@ dnl check for i386 gas supporting 16 bit mode
|
||||
dnl - binutils 2.9.1.0.7 and higher
|
||||
|
||||
AC_DEFUN(RTEMS_I386_GAS_CODE16,
|
||||
[ if test "${host_cpu}" = "i386"; then
|
||||
[ if test "${target_cpu}" = "i386"; then
|
||||
AC_CACHE_CHECK([for 16 bit mode assembler support],
|
||||
rtems_cv_prog_gas_code16,
|
||||
[cat > conftest.s << EOF
|
||||
@@ -15,7 +15,7 @@ AC_DEFUN(RTEMS_I386_GAS_CODE16,
|
||||
addr32
|
||||
lgdt 0
|
||||
EOF
|
||||
if AC_TRY_COMMAND($AS -o conftest.o conftest.s); then
|
||||
if AC_TRY_COMMAND($AS_FOR_TARGET -o conftest.o conftest.s); then
|
||||
rtems_cv_prog_gas_code16=yes
|
||||
else
|
||||
rtems_cv_prog_gas_code16=no
|
||||
@@ -23,9 +23,5 @@ EOF
|
||||
RTEMS_GAS_CODE16="$rtems_cv_prog_gas_code16"
|
||||
fi
|
||||
AC_SUBST(RTEMS_GAS_CODE16)
|
||||
if test x"${RTEMS_GAS_CODE16}" = x"yes";
|
||||
then
|
||||
AC_DEFINE_UNQUOTED(NEW_GAS,1,[if using 16 bit mode assembler support])
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
dnl This provides configure definitions used for multilib support
|
||||
|
||||
dnl parts of these macros are derived from newlib-1.8.2's multilib support
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_MULTILIB,
|
||||
[
|
||||
AC_ARG_ENABLE(multilib,
|
||||
AC_HELP_STRING([--enable-multilib],
|
||||
[build many library versions (default=no)]),
|
||||
[case "${enableval}" in
|
||||
yes) multilib=yes ;;
|
||||
no) multilib=no ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
|
||||
esac], [multilib=no])dnl
|
||||
|
||||
AM_CONDITIONAL(MULTILIB,test x"${multilib}" = x"yes")
|
||||
])
|
||||
@@ -1,87 +0,0 @@
|
||||
# $Id$
|
||||
#
|
||||
# Some hacks for handling powerpc-exception subdirectories
|
||||
#
|
||||
# Note: Consider this file a temporary band-aid until a better, more general
|
||||
# subdirectory handling solution is introduced to RTEMS.
|
||||
|
||||
AC_DEFUN([RTEMS_PPC_EXCEPTIONS],
|
||||
[
|
||||
exceptions="$1_exception_processing"
|
||||
AC_SUBST(exceptions)
|
||||
|
||||
AC_CONFIG_COMMANDS_POST(
|
||||
[
|
||||
exceptions_subdirs="$1_exception_processing"
|
||||
updir=/../support
|
||||
|
||||
if test "$no_recursion" != yes; then
|
||||
|
||||
RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args])
|
||||
|
||||
for ac_subdir in : $exceptions_subdirs; do test "x$ac_subdir" = x: && continue
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
test -d $srcdir${updir}/$ac_subdir || continue
|
||||
|
||||
AC_MSG_NOTICE([configuring in $ac_subdir])
|
||||
case $srcdir in
|
||||
.) ;;
|
||||
*) AS_MKDIR_P(["./$ac_subdir"])
|
||||
if test -d ./$ac_subdir; then :;
|
||||
else
|
||||
AC_MSG_ERROR([cannot create `pwd`/$ac_subdir])
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
ac_popdir=`pwd`
|
||||
cd $ac_subdir
|
||||
|
||||
# A "../" for each directory in /$ac_subdir.
|
||||
ac_dots=`echo $ac_subdir |
|
||||
sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
|
||||
|
||||
case $srcdir in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_sub_srcdir=$srcdir${updir} ;;
|
||||
[[\\/]]* | ?:[[\\/]]* ) # Absolute path.
|
||||
ac_sub_srcdir=$srcdir${updir}/$ac_subdir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir${updir}/$ac_subdir ;;
|
||||
esac
|
||||
|
||||
# Check for guested configure; otherwise get Cygnus style configure.
|
||||
if test -f $ac_sub_srcdir/configure.gnu; then
|
||||
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
|
||||
elif test -f $ac_sub_srcdir/configure; then
|
||||
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
|
||||
elif test -f $ac_sub_srcdir/configure.in; then
|
||||
ac_sub_configure=$ac_configure
|
||||
else
|
||||
AC_MSG_WARN([no configuration information is in $ac_subdir])
|
||||
ac_sub_configure=
|
||||
fi
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case $cache_file in
|
||||
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file=$ac_dots$cache_file ;;
|
||||
esac
|
||||
|
||||
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
|
||||
# The eval makes quoting arguments work.
|
||||
eval $ac_sub_configure $ac_sub_configure_args \
|
||||
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
|
||||
AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
|
||||
fi
|
||||
|
||||
cd $ac_popdir
|
||||
done
|
||||
fi
|
||||
])
|
||||
])
|
||||
@@ -3,46 +3,90 @@ dnl $Id$
|
||||
dnl
|
||||
dnl Check for target gcc
|
||||
dnl
|
||||
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
dnl Completely reworked
|
||||
|
||||
AC_DEFUN(RTEMS_PROG_CC,
|
||||
[
|
||||
AC_BEFORE([$0], [AC_PROG_CPP])dnl
|
||||
AC_BEFORE([$0], [AC_PROG_CC])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
|
||||
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
|
||||
|
||||
_RTEMS_FLAGS([CFLAGS],
|
||||
["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
|
||||
dnl Only accept gcc and cc
|
||||
dnl NOTE: This might be too restrictive for native compilation
|
||||
AC_PATH_PROGS(CC_FOR_TARGET, "$program_prefix"gcc "$program_prefix"cc )
|
||||
test -z "$CC_FOR_TARGET" \
|
||||
&& AC_MSG_ERROR([no acceptable cc found in \$PATH])
|
||||
|
||||
RTEMS_CHECK_TOOL(CC,gcc)
|
||||
test -z "$CC" && \
|
||||
AC_MSG_ERROR([no acceptable cc found in \$PATH])
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
dnl backup
|
||||
rtems_save_CC=$CC
|
||||
rtems_save_CFLAGS=$CFLAGS
|
||||
|
||||
AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes")
|
||||
dnl temporarily set CC
|
||||
CC=$CC_FOR_TARGET
|
||||
|
||||
AC_PROG_CC_WORKS
|
||||
AC_PROG_CC_GNU
|
||||
|
||||
if test $ac_cv_prog_gcc = yes; then
|
||||
GCC=yes
|
||||
dnl Check whether -g works, even if CFLAGS is set, in case the package
|
||||
dnl plays around with CFLAGS (such as to build both debugging and
|
||||
dnl normal versions of a library), tasteless as that idea is.
|
||||
ac_test_CFLAGS="${CFLAGS+set}"
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
CFLAGS=
|
||||
AC_PROG_CC_G
|
||||
if test "$ac_test_CFLAGS" = set; then
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
elif test $ac_cv_prog_cc_g = yes; then
|
||||
CFLAGS="-g -O2"
|
||||
else
|
||||
CFLAGS="-O2"
|
||||
fi
|
||||
else
|
||||
GCC=
|
||||
test "${CFLAGS+set}" = set || CFLAGS="-g"
|
||||
fi
|
||||
|
||||
rtems_cv_prog_gcc=$ac_cv_prog_gcc
|
||||
rtems_cv_prog_cc_g=$ac_cv_prog_cc_g
|
||||
rtems_cv_prog_cc_works=$ac_cv_prog_cc_works
|
||||
rtems_cv_prog_cc_cross=$ac_cv_prog_cc_cross
|
||||
|
||||
dnl restore initial values
|
||||
CC=$rtems_save_CC
|
||||
CFLAGS=$rtems_save_CFLAGS
|
||||
|
||||
unset ac_cv_prog_gcc
|
||||
unset ac_cv_prog_cc_g
|
||||
unset ac_cv_prog_cc_works
|
||||
unset ac_cv_prog_cc_cross
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET,
|
||||
[
|
||||
dnl check target cc
|
||||
RTEMS_PROG_CC
|
||||
dnl check if the compiler supports -isystem
|
||||
RTEMS_GCC_ISYSTEM
|
||||
dnl check if the target compiler may use --pipe
|
||||
RTEMS_GCC_PIPE
|
||||
test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
|
||||
|
||||
dnl check if the compiler supports --specs
|
||||
RTEMS_GCC_SPECS
|
||||
|
||||
if test "$GCC" = yes; then
|
||||
RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall"
|
||||
m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"])
|
||||
dnl check if the target compiler may use --pipe
|
||||
RTEMS_GCC_PIPE
|
||||
dnl check if the compiler supports --specs if gcc28 is requested
|
||||
if test "$RTEMS_USE_GCC272" != "yes" ; then
|
||||
if test "$rtems_cv_gcc_specs" = "no"; then
|
||||
AC_MSG_WARN([*** disabling --enable-gcc28])
|
||||
RTEMS_USE_GCC272=yes
|
||||
fi
|
||||
fi
|
||||
test "$rtems_cv_gcc_pipe" = "yes" && CC_FOR_TARGET="$CC_FOR_TARGET --pipe"
|
||||
|
||||
AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[
|
||||
RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[
|
||||
RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)"
|
||||
])
|
||||
AC_SUBST(RTEMS_CPPFLAGS)
|
||||
dnl FIXME: HACK for egcs/cygwin mixing '\\' and '/' in gcc -print-*
|
||||
case $host_os in
|
||||
*cygwin*) GCCSED="| sed 's%\\\\%/%g'" ;;
|
||||
*) ;;
|
||||
esac
|
||||
AC_SUBST(GCCSED)
|
||||
])
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
## $Id$
|
||||
|
||||
AC_DEFUN([RTEMS_PROG_CCAS],
|
||||
[
|
||||
AC_REQUIRE([RTEMS_PROG_CC])
|
||||
AC_SUBST(CCAS,["$CC \$(GCCSPECS)"])
|
||||
AC_SUBST(CCASFLAGS,["-DASM \$(CFLAGS) \$(INCLUDES)"])
|
||||
])
|
||||
@@ -3,33 +3,79 @@ dnl $Id$
|
||||
dnl
|
||||
dnl Check for target g++
|
||||
dnl
|
||||
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
dnl Completely reworked
|
||||
|
||||
AC_DEFUN(RTEMS_PROG_CXX,
|
||||
[
|
||||
AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
|
||||
AC_BEFORE([$0], [AC_PROG_CXX])dnl
|
||||
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
|
||||
AC_REQUIRE([RTEMS_TOOL_PREFIX])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_LIBCDIR])dnl
|
||||
|
||||
dnl Only accept g++ and c++
|
||||
dnl NOTE: This might be too restrictive for native compilation
|
||||
AC_PATH_PROGS(CXX_FOR_TARGET, "$program_prefix"g++ "$program_prefix"c++)
|
||||
test -z "$CXX_FOR_TARGET" \
|
||||
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])
|
||||
|
||||
dnl backup
|
||||
rtems_save_CXX=$CXX
|
||||
rtems_save_CXXFLAGS=$CXXFLAGS
|
||||
|
||||
dnl temporarily set CXX
|
||||
CXX=$CXX_FOR_TARGET
|
||||
|
||||
AC_PROG_CXX_WORKS
|
||||
AC_PROG_CXX_GNU
|
||||
|
||||
if test $ac_cv_prog_gxx = yes; then
|
||||
GXX=yes
|
||||
dnl Check whether -g works, even if CXXFLAGS is set, in case the package
|
||||
dnl plays around with CXXFLAGS (such as to build both debugging and
|
||||
dnl normal versions of a library), tasteless as that idea is.
|
||||
ac_test_CXXFLAGS="${CXXFLAGS+set}"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS=
|
||||
AC_PROG_CXX_G
|
||||
if test "$ac_test_CXXFLAGS" = set; then
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
elif test $ac_cv_prog_cxx_g = yes; then
|
||||
CXXFLAGS="-g -O2"
|
||||
else
|
||||
CXXFLAGS="-O2"
|
||||
fi
|
||||
else
|
||||
GXX=
|
||||
test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
|
||||
fi
|
||||
|
||||
rtems_cv_prog_gxx=$ac_cv_prog_gxx
|
||||
rtems_cv_prog_cxx_g=$ac_cv_prog_cxx_g
|
||||
rtems_cv_prog_cxx_works=$ac_cv_prog_cxx_works
|
||||
rtems_cv_prog_cxx_cross=$ac_cv_prog_cxx_cross
|
||||
|
||||
CXX=$rtems_save_CXX
|
||||
CXXFLAGS=$rtems_save_CXXFLAGS
|
||||
|
||||
dnl restore initial values
|
||||
unset ac_cv_prog_gxx
|
||||
unset ac_cv_prog_cc_g
|
||||
unset ac_cv_prog_cxx_works
|
||||
unset ac_cv_prog_cxx_cross
|
||||
dnl somehow autoconf macros leave this file
|
||||
rm -f conftest.C
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
|
||||
[
|
||||
AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
|
||||
AC_REQUIRE([RTEMS_ENABLE_CXX])
|
||||
RTEMS_CHECK_TOOL(CXX,g++)
|
||||
if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
|
||||
then
|
||||
_RTEMS_FLAGS([CXXFLAGS],
|
||||
["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
|
||||
|
||||
dnl Only accept g++
|
||||
dnl NOTE: This might be too restrictive
|
||||
test -z "$CXX" \
|
||||
&& AC_MSG_ERROR([no acceptable c++ found in \$PATH])
|
||||
AC_PROG_CXX
|
||||
|
||||
if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
|
||||
RTEMS_PROG_CXX
|
||||
if test "$rtems_cv_prog_cc_cross" != "$rtems_cv_prog_cxx_cross"; then
|
||||
AC_MSG_ERROR([***]
|
||||
[Inconsistency in compiler configuration:]
|
||||
[Target C compiler and target C++ compiler]
|
||||
[Target C compiler and Target C++ compiler]
|
||||
[must both either be cross compilers or native compilers]
|
||||
[Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
|
||||
fi
|
||||
|
||||
else
|
||||
## Work-around to a bug in automake
|
||||
AM_CONDITIONAL([am__fastdepCXX],[false])
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
## $Id$
|
||||
##
|
||||
## WARNING: All the stuff below is pretty immature.
|
||||
|
||||
AC_DEFUN([RTEMS_PROG_GNAT],
|
||||
[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])
|
||||
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])
|
||||
|
||||
AC_ARG_VAR([GNATMAKE],[GNATMAKE compiler command])
|
||||
AC_ARG_VAR([ADAFLAGS],[ADA compiler flags])
|
||||
|
||||
RTEMS_CHECK_TOOL([GNATMAKE],[gnatmake],[])
|
||||
AS_IF([test -z "$GNATMAKE"],[AC_MSG_ERROR([No GNATMAKE found])])
|
||||
|
||||
AC_MSG_CHECKING([whether $GNATMAKE works])
|
||||
rm -f conftest.*
|
||||
cat >conftest.adb <<EOF
|
||||
procedure conftest is begin null; end conftest;
|
||||
EOF
|
||||
|
||||
AS_IF([$GNATMAKE -c conftest.adb 1>>config.log 2>&1],
|
||||
[HAVE_GNAT=yes],
|
||||
[HAVE_GNAT=no])
|
||||
AC_MSG_RESULT([$HAVE_GNAT])
|
||||
rm -f conftest.*
|
||||
])
|
||||
@@ -2,21 +2,26 @@ dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
|
||||
dnl
|
||||
dnl PROJECT_TOPdir .. relative path to the top of the build-tree
|
||||
dnl PROJECT_ROOT .. relative path to the top of the temporary
|
||||
dnl installation directory inside the build-tree
|
||||
dnl RTEMS_TOPdir .. relative path of a subpackage's configure.in to the
|
||||
dnl toplevel configure.in of the source-tree
|
||||
dnl RTEMS_ROOT .. path to the top of a bsp's build directory
|
||||
dnl [Applied by custom/*.cfg, depredicated otherwise]
|
||||
dnl
|
||||
|
||||
AC_DEFUN(RTEMS_PROJECT_ROOT,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_TOP])
|
||||
if test "$TARGET_SUBDIR" = "." ; then
|
||||
PROJECT_ROOT=$RTEMS_TOPdir/'$(top_builddir)';
|
||||
else
|
||||
PROJECT_ROOT=../$RTEMS_TOPdir/'$(top_builddir)'
|
||||
fi
|
||||
AC_SUBST(PROJECT_ROOT)
|
||||
|
||||
PACKHEX="\$(PROJECT_TOPdir)/tools/build/packhex"
|
||||
RTEMS_ROOT=$RTEMS_TOPdir/'$(top_builddir)'/c/$RTEMS_BSP
|
||||
AC_SUBST(RTEMS_ROOT)
|
||||
|
||||
PACKHEX="\$(PROJECT_ROOT)/tools/build/packhex"
|
||||
AC_SUBST(PACKHEX)
|
||||
|
||||
PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
|
||||
AC_SUBST(PROJECT_INCLUDE)
|
||||
|
||||
PROJECT_RELEASE="\$(PROJECT_ROOT)/$RTEMS_BSP"
|
||||
AC_SUBST(PROJECT_RELEASE)
|
||||
])
|
||||
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
dnl RTEMS_CONFIGURE_ARGS_QUOTE(dnl RETURN_VAR, [ADDITIONAL_CASES], [VAR_TO_PROCESS]])
|
||||
dnl
|
||||
AC_DEFUN([_RTEMS_CONFIGURE_ARGS_QUOTE],
|
||||
[
|
||||
$1_prune()
|
||||
{
|
||||
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
||||
$1=
|
||||
ac_prev=
|
||||
for ac_arg
|
||||
do
|
||||
if test -n "$ac_prev"; then
|
||||
ac_prev=
|
||||
continue
|
||||
fi
|
||||
case $ac_arg in
|
||||
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
||||
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
||||
ac_prev=cache_file ;;
|
||||
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
||||
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
||||
| --c=*)
|
||||
;;
|
||||
--config-cache | -C)
|
||||
;;
|
||||
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
||||
ac_prev=srcdir ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
m4_if([$2],,,[$2])
|
||||
*) $1="$$1 '$ac_arg'" ;;
|
||||
esac
|
||||
done
|
||||
export $1
|
||||
}
|
||||
])
|
||||
|
||||
AC_DEFUN([RTEMS_CONFIGURE_ARGS_QUOTE],[
|
||||
m4_expand_once([_RTEMS_CONFIGURE_ARGS_QUOTE([$1],[$2])])
|
||||
eval $1_prune m4_if([$3],,[$ac_configure_args],[[$]$3])
|
||||
])
|
||||
@@ -1,20 +0,0 @@
|
||||
AC_DEFUN([RTEMS_ENABLE_RPMPREFIX],[
|
||||
AC_ARG_ENABLE([rpmprefix],
|
||||
[ --enable-rpmprefix=<rpmprefix> prefix rpms],
|
||||
[case $enable_rpmprefix in
|
||||
yes ) rpmprefix="rtems-"]RTEMS_API["-";;
|
||||
no ) rpmprefix="%{nil}";;
|
||||
* ) AS_IF([test -z "$enable_rpmprefix"],
|
||||
[rpmprefix="%{nil}"],
|
||||
[rpmprefix="$enable_rpmprefix"]);;
|
||||
esac],
|
||||
[rpmprefix="rtems-"]RTEMS_API["-"])
|
||||
|
||||
AC_ARG_ENABLE([osversions],
|
||||
[ --enable-osversions whether to use version numbers in os-tripples],
|
||||
[case $enable_osversions in
|
||||
yes ) osversion=RTEMS_API;;
|
||||
* ) osversion=;;
|
||||
esac],
|
||||
[osversion=])
|
||||
])
|
||||
@@ -1,31 +0,0 @@
|
||||
AC_DEFUN([_RTEMS_CPU_SUBDIR],
|
||||
[
|
||||
$1 ) if test -d ${srcdir}/ifelse([$2],,[$1],[$2/$1]) ; then
|
||||
AC_CONFIG_SUBDIRS(ifelse([$2],,[$1],[$2/$1]))
|
||||
fi
|
||||
])
|
||||
|
||||
## RTEMS_CPU_SUBDIRS([PREFIX])
|
||||
AC_DEFUN([RTEMS_CPU_SUBDIRS],
|
||||
[
|
||||
## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
|
||||
case $RTEMS_CPU in
|
||||
_RTEMS_CPU_SUBDIR([a29k],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([arm],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([c4x],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([h8300],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([hppa1.1],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([i386],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([i960],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([m68k],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([mips],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([mips64orion],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([or32],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([sh],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([sparc],[$1]);;
|
||||
_RTEMS_CPU_SUBDIR([unix],[$1]);;
|
||||
*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
|
||||
esac
|
||||
])
|
||||
@@ -1,19 +0,0 @@
|
||||
## $Id$
|
||||
|
||||
AC_DEFUN(RTEMS_ENABLE_RTEMS_DEBUG,
|
||||
[
|
||||
AC_ARG_ENABLE(rtems-debug,
|
||||
AC_HELP_STRING([--enable-rtems-debug],[enable RTEMS_DEBUG]),
|
||||
[case "${enable_rtems_debug}" in
|
||||
yes) enable_rtems_debug=yes ;;
|
||||
no) enable_rtems_debug=no ;;
|
||||
*) AC_MSG_ERROR([bad value ${enable_rtems_debug} for RTEMS_DEBUG]) ;;
|
||||
esac],[enable_rtems_debug=no])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_RTEMS_DEBUG,
|
||||
[AC_REQUIRE([RTEMS_ENABLE_RTEMS_DEBUG])
|
||||
AS_IF([test x"${enable_rtems_debug}" = x"yes"]
|
||||
[AC_DEFINE_UNQUOTED(RTEMS_DEBUG,1,[if RTEMS_DEBUG is enabled])])
|
||||
])
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
## $Id$
|
||||
##
|
||||
## Some hacks to set up RTEMS_*FLAGS
|
||||
## Internal macro, not supposed to be explictly used in configure.ac's
|
||||
|
||||
AC_DEFUN([_RTEMS_FLAGS],[
|
||||
AS_IF([test -n "[$]{$1}"],
|
||||
[RTEMS_$1=[$]{$1}],
|
||||
[RTEMS_$1=$2])
|
||||
AC_SUBST([RTEMS_$1])
|
||||
])
|
||||
@@ -1,18 +0,0 @@
|
||||
AC_DEFUN(RTEMS_ENABLE_RTEMS_TEST_NO_PAUSE,
|
||||
[AC_ARG_ENABLE(test-no-pause,
|
||||
AC_HELP_STRING([--disable-test-no-pause],[disable RTEMS_TEST_NO_PAUSE]),
|
||||
[case "${enableval}" in
|
||||
yes) RTEMS_TEST_NO_PAUSE=yes ;;
|
||||
no) RTEMS_TEST_NO_PAUSE=no ;;
|
||||
*) AC_MSG_ERROR([bad value ${enableval} for RTEMS_TEST_NO_PAUSE]) ;;
|
||||
esac],[RTEMS_TEST_NO_PAUSE=yes])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_RTEMS_TEST_NO_PAUSE,
|
||||
[AC_REQUIRE([RTEMS_ENABLE_RTEMS_TEST_NO_PAUSE])
|
||||
if test x"${RTEMS_TEST_NO_PAUSE}" = x"yes";
|
||||
then
|
||||
AC_DEFINE_UNQUOTED(RTEMS_TEST_NO_PAUSE,1,[if RTEMS_TEST_NO_PAUSE is enabled])
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
dnl $Id$
|
||||
|
||||
m4_define([RTEMS_API],[4.6])
|
||||
|
||||
dnl
|
||||
dnl RTEMS_TOP($1)
|
||||
dnl
|
||||
@@ -9,12 +7,13 @@ dnl $1 .. relative path from this configure.in to the toplevel configure.in
|
||||
dnl
|
||||
AC_DEFUN(RTEMS_TOP,
|
||||
[dnl
|
||||
AC_REQUIRE([RTEMS_VERSIONING])
|
||||
AC_CONFIG_AUX_DIR([$1])
|
||||
AC_CHECK_PROGS(MAKE, gmake make)
|
||||
AC_BEFORE([$0], [AC_CONFIG_AUX_DIR])dnl
|
||||
AC_BEFORE([$0], [AM_INIT_AUTOMAKE])dnl
|
||||
|
||||
AC_PREFIX_DEFAULT([/opt/rtems-][RTEMS_API])
|
||||
AC_ARG_WITH(target-subdir,
|
||||
[ --with-target-subdir=DIR],
|
||||
TARGET_SUBDIR="$withval",
|
||||
TARGET_SUBDIR=".")
|
||||
|
||||
## HACK to allow gnu-make conditionals in automake-Makefiles.
|
||||
ENDIF=endif
|
||||
@@ -23,26 +22,19 @@ AC_SUBST(ENDIF)
|
||||
RTEMS_TOPdir="$1";
|
||||
AC_SUBST(RTEMS_TOPdir)
|
||||
|
||||
## with_target_subdirs is handled implicitly by autoconf
|
||||
test -n "$with_target_subdir" || with_target_subdir="."
|
||||
|
||||
if test "$with_target_subdir" = "." ; then
|
||||
# Native
|
||||
PROJECT_TOPdir=${RTEMS_TOPdir}/'$(top_builddir)'
|
||||
else
|
||||
# Cross
|
||||
dots=`echo $with_target_subdir|\
|
||||
sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'`
|
||||
PROJECT_TOPdir=${dots}${RTEMS_TOPdir}/'$(top_builddir)'
|
||||
fi
|
||||
AC_SUBST(PROJECT_TOPdir)
|
||||
|
||||
PROJECT_ROOT="${RTEMS_TOPdir}/\$(top_builddir)"
|
||||
AC_SUBST(PROJECT_ROOT)
|
||||
|
||||
dnl Determine RTEMS Version string from the VERSION file
|
||||
dnl Hopefully, Joel never changes its format ;-
|
||||
AC_MSG_CHECKING([for RTEMS Version])
|
||||
AS_IF([test -r "${srcdir}/${RTEMS_TOPdir}/aclocal/version.m4"],
|
||||
[],
|
||||
[AC_MSG_ERROR([Unable to find ${RTEMS_TOPdir}/aclocal/version.m4])])
|
||||
AC_MSG_RESULT([_RTEMS_VERSION])
|
||||
if test -r "${srcdir}/${RTEMS_TOPdir}/VERSION"; then
|
||||
changequote(,)dnl
|
||||
RTEMS_VERSION=`grep Version ${srcdir}/${RTEMS_TOPdir}/VERSION | \
|
||||
sed -e 's%RTEMS[ ]*Version[ ]*\(.*\)[ ]*%\1%g'`
|
||||
changequote([,])dnl
|
||||
else
|
||||
AC_MSG_ERROR(Unable to find ${RTEMS_TOPdir}/VERSION)
|
||||
fi
|
||||
if test -z "$RTEMS_VERSION"; then
|
||||
AC_MSG_ERROR(Unable to determine version)
|
||||
fi
|
||||
AC_MSG_RESULT($RTEMS_VERSION)
|
||||
])dnl
|
||||
|
||||
133
aclocal/sysv-ipc.m4
Normal file
133
aclocal/sysv-ipc.m4
Normal file
@@ -0,0 +1,133 @@
|
||||
dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
dnl Check for System V IPC calls used by Unix simulators
|
||||
dnl
|
||||
dnl 98/07/17 Dario Alcocer alcocer@netcom.com
|
||||
dnl Ralf Corsepius corsepiu@faw.uni-ulm.de
|
||||
dnl
|
||||
dnl Note: $host_os should probably *not* ever be used here to
|
||||
dnl determine if host supports System V IPC calls, since some
|
||||
dnl (e.g. FreeBSD 2.x) are configured by default to include only
|
||||
dnl a subset of the System V IPC calls. Therefore, to make sure
|
||||
dnl all of the required calls are found, test for each call explicitly.
|
||||
dnl
|
||||
dnl All of the calls use IPC_PRIVATE, so tests will not unintentionally
|
||||
dnl modify any existing key sets. See the man pages for semget, shmget,
|
||||
dnl msgget, semctl, shmctl and msgctl for details.
|
||||
|
||||
AC_DEFUN(RTEMS_UNION_SEMUN,
|
||||
[
|
||||
AC_CACHE_CHECK([whether $RTEMS_HOST defines union semun],
|
||||
rtems_cv_HAS_UNION_SEMUN,
|
||||
[AC_TRY_COMPILE([
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>],
|
||||
[union semun arg ;],
|
||||
[rtems_cv_HAS_UNION_SEMUN="yes"],
|
||||
[rtems_cv_HAS_UNION_SEMUN="no"])
|
||||
|
||||
if test "$rtems_cv_HAS_UNION_SEMUN" = "yes"; then
|
||||
AC_DEFINE(HAS_UNION_SEMUN)
|
||||
fi])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_SYSV_SEM,
|
||||
[AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([RTEMS_CANONICAL_HOST])
|
||||
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V semaphores,
|
||||
rtems_cv_sysv_sem,
|
||||
[
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
#if !HAS_UNION_SEMUN
|
||||
union semun {
|
||||
int val;
|
||||
struct semid_ds *buf;
|
||||
ushort *array;
|
||||
} ;
|
||||
#endif
|
||||
int main () {
|
||||
union semun arg ;
|
||||
|
||||
int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
|
||||
if (id == -1)
|
||||
exit(1);
|
||||
arg.val = 0; /* avoid implicit type cast to union */
|
||||
if (semctl(id, 0, IPC_RMID, arg) == -1)
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
],
|
||||
rtems_cv_sysv_sem="yes", rtems_cv_sysv_sem="no", :)
|
||||
])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_SYSV_SHM,
|
||||
[AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([RTEMS_CANONICAL_HOST])
|
||||
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V shared memory,
|
||||
rtems_cv_sysv_shm,
|
||||
[
|
||||
AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
int main () {
|
||||
int id=shmget(IPC_PRIVATE,1,IPC_CREAT|0400);
|
||||
if (id == -1)
|
||||
exit(1);
|
||||
if (shmctl(id, IPC_RMID, 0) == -1)
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
],
|
||||
rtems_cv_sysv_shm="yes", rtems_cv_sysv_shm="no", :)
|
||||
])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_SYSV_MSG,
|
||||
[AC_REQUIRE([AC_PROG_CC])
|
||||
AC_REQUIRE([RTEMS_CANONICAL_HOST])
|
||||
AC_CACHE_CHECK(whether $RTEMS_HOST supports System V messages,
|
||||
rtems_cv_sysv_msg,
|
||||
[
|
||||
AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/msg.h>
|
||||
int main () {
|
||||
int id=msgget(IPC_PRIVATE,IPC_CREAT|0400);
|
||||
if (id == -1)
|
||||
exit(1);
|
||||
if (msgctl(id, IPC_RMID, 0) == -1)
|
||||
exit(1);
|
||||
exit(0);
|
||||
}
|
||||
],
|
||||
rtems_cv_sysv_msg="yes", rtems_cv_sysv_msg="no", :)
|
||||
])
|
||||
])
|
||||
|
||||
AC_DEFUN(RTEMS_CHECK_SYSV_UNIX,
|
||||
[AC_REQUIRE([RTEMS_CANONICAL_HOST])
|
||||
if test "$RTEMS_CPU" = "unix" ; then
|
||||
RTEMS_UNION_SEMUN
|
||||
RTEMS_SYSV_SEM
|
||||
if test "$rtems_cv_sysv_sem" != "yes" ; then
|
||||
AC_MSG_ERROR([System V semaphores don't work, required by simulator])
|
||||
fi
|
||||
RTEMS_SYSV_SHM
|
||||
if test "$rtems_cv_sysv_shm" != "yes" ; then
|
||||
AC_MSG_ERROR([System V shared memory doesn't work, required by simulator])
|
||||
fi
|
||||
RTEMS_SYSV_MSG
|
||||
if test "$rtems_cv_sysv_msg" != "yes" ; then
|
||||
AC_MSG_ERROR([System V messages don't work, required by simulator])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
@@ -1,138 +1,129 @@
|
||||
dnl $Id$
|
||||
|
||||
## HACK: Work-around to structural issue with RTEMS
|
||||
## The macros below violate most autoconf and canonicalization standards
|
||||
AC_DEFUN(RTEMS_CONFIG_BUILD_SUBDIRS,
|
||||
[AC_REQUIRE([_RTEMS_OUTPUT_BUILD_SUBDIRS])
|
||||
RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS [$1]"
|
||||
AC_DEFUN(RTEMS_CONFIG_SUBDIRS,
|
||||
[
|
||||
define([RTEMS_TGT_SUBDIRS],
|
||||
ifdef([RTEMS_TGT_SUBDIRS], [RTEMS_TGT_SUBDIRS ],)[$1])dnl
|
||||
target_subdirs="RTEMS_TGT_SUBDIRS"
|
||||
AC_SUBST(target_subdirs)
|
||||
])
|
||||
|
||||
dnl Derived from automake-1.4's AC_OUTPUT_SUBDIRS
|
||||
AC_DEFUN([_RTEMS_OUTPUT_BUILD_SUBDIRS],
|
||||
[AC_CONFIG_COMMANDS([bsp-tools],
|
||||
dnl This is a subroutine of AC_OUTPUT.
|
||||
dnl It is called after running config.status.
|
||||
dnl AC_OUTPUT_SUBDIRS(DIRECTORY...)
|
||||
AC_DEFUN(RTEMS_OUTPUT_SUBDIRS,
|
||||
[
|
||||
# HACK: This is a blantant hack and breaks Canadian crosses
|
||||
build_alias="$build_alias"
|
||||
host_alias="$build_alias"
|
||||
if test "$no_recursion" != yes; then
|
||||
if test x"$build_alias" != x"$host_alias"; then
|
||||
target_subdir="$host_alias"
|
||||
if test $target_alias != $host_alias; then
|
||||
target_subdir="$target_alias"
|
||||
else
|
||||
target_subdir="."
|
||||
fi
|
||||
RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args],
|
||||
[
|
||||
-host* | --host* ) ;;
|
||||
--host ) ac_prev=host_alias;;
|
||||
-target* | --target* ) ;;
|
||||
-target ) ac_prev=target_alias ;;
|
||||
-build* | --build* ) ;;
|
||||
-build ) ac_prev_build_alias ;;
|
||||
*_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
|
||||
],
|
||||
[rtems_configure_args])
|
||||
# Remove --cache-file and --srcdir arguments so they do not pile up.
|
||||
ac_sub_configure_args=
|
||||
ac_prev=
|
||||
for ac_arg in $ac_configure_args; do
|
||||
if test -n "$ac_prev"; then
|
||||
ac_prev=
|
||||
continue
|
||||
fi
|
||||
case "$ac_arg" in
|
||||
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
||||
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
||||
ac_prev=cache_file ;;
|
||||
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
||||
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
||||
;;
|
||||
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
||||
ac_prev=srcdir ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
test -d $target_subdir || mkdir $target_subdir
|
||||
for ac_config_dir in $1; do
|
||||
|
||||
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
if test ! -d $srcdir/$rtems_config_dir; then
|
||||
if test ! -d $srcdir/$ac_config_dir; then
|
||||
continue
|
||||
fi
|
||||
|
||||
_RTEMS_PUSH_BUILDDIR([$rtems_config_dir])
|
||||
echo configuring in $target_subdir/$ac_config_dir
|
||||
|
||||
_RTEMS_SUB_SRCDIR([$rtems_config_dir])
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
# ac_sub_cache_file=./config.cache
|
||||
ac_sub_cache_file=/dev/null
|
||||
_RTEMS_GIVEN_INSTALL
|
||||
|
||||
echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
|
||||
# The eval makes quoting arguments work.
|
||||
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \
|
||||
$ac_sub_configure_args \
|
||||
--srcdir=$ac_sub_srcdir \
|
||||
--with-target-subdir=$target_subdir \
|
||||
--cache-file=$ac_sub_cache_file
|
||||
then :
|
||||
else
|
||||
AC_MSG_ERROR([$ac_sub_configure failed for $rtems_config_dir])
|
||||
fi
|
||||
fi
|
||||
|
||||
_RTEMS_POP_BUILDDIR
|
||||
done
|
||||
fi],
|
||||
[
|
||||
RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS"
|
||||
rtems_configure_args="$ac_configure_args"
|
||||
])
|
||||
])
|
||||
|
||||
## FIXME: This is obsolete. Only kept for backward compatibility
|
||||
AU_DEFUN([RTEMS_OUTPUT_BUILD_SUBDIRS],[])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Misc utility macros for subdir handling to work around missing abilities
|
||||
dnl in autoconf, automake and structural issues with RTEMS
|
||||
dnl
|
||||
dnl Contains parts derived from autoconf-2.13 AC_OUTPUT_SUBDIRS and Cygnus'
|
||||
dnl configure.in.
|
||||
dnl
|
||||
|
||||
dnl
|
||||
dnl _RTEMS_PUSH_BUILDDIR(SUBDIR)
|
||||
dnl
|
||||
AC_DEFUN(_RTEMS_PUSH_BUILDDIR,
|
||||
[
|
||||
# _RTEMS_PUSH_BUILDDIR
|
||||
echo configuring in $1
|
||||
case "$srcdir" in
|
||||
.) ;;
|
||||
*) AS_MKDIR_P([$1])
|
||||
## .) ;;
|
||||
*)
|
||||
if test -d $target_subdir/$ac_config_dir || mkdir $target_subdir/$ac_config_dir; then :;
|
||||
else
|
||||
AC_MSG_ERROR(can not create `pwd`/$target_subdir/$ac_config_dir)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
ac_popdir=`pwd`
|
||||
cd $1
|
||||
])
|
||||
cd $target_subdir/$ac_config_dir
|
||||
|
||||
dnl
|
||||
dnl _RTEMS_POP_BUILDDIR
|
||||
dnl
|
||||
AC_DEFUN(_RTEMS_POP_BUILDDIR,
|
||||
[
|
||||
cd $ac_popdir
|
||||
])
|
||||
changequote(, )dnl
|
||||
# A "../" for each directory in /$ac_config_dir.
|
||||
ac_dots=`echo $target_subdir/$ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
|
||||
changequote([, ])dnl
|
||||
|
||||
dnl
|
||||
dnl _RTEMS_GIVEN_INSTALL
|
||||
dnl
|
||||
AC_DEFUN(_RTEMS_GIVEN_INSTALL,
|
||||
[
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],[
|
||||
case "$ac_given_INSTALL" in
|
||||
[[\\/]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
])dnl
|
||||
])
|
||||
case "$srcdir" in
|
||||
## .) # No --srcdir option. We are building in place.
|
||||
## ac_sub_srcdir=$srcdir ;;
|
||||
/*) # Absolute path.
|
||||
ac_sub_srcdir=$srcdir/$ac_config_dir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
|
||||
esac
|
||||
|
||||
dnl
|
||||
dnl _RTEMS_SUB_SRCDIR(AC_CONFIG_DIR[,TARGET_SUBDIR])
|
||||
dnl
|
||||
AC_DEFUN(_RTEMS_SUB_SRCDIR,[
|
||||
# _RTEMS_SUB_SRCDIR
|
||||
_RTEMS_ADJUST_SRCDIR(ac_sub_srcdir,$1,$2)
|
||||
|
||||
# Check for configure
|
||||
# Check for guested configure; otherwise get Cygnus style configure.
|
||||
if test -f $ac_sub_srcdir/configure; then
|
||||
ac_sub_configure=$ac_sub_srcdir/configure
|
||||
elif test -f $ac_sub_srcdir/configure.in; then
|
||||
ac_sub_configure=$ac_configure
|
||||
else
|
||||
AC_MSG_WARN([no configuration information is in $1])
|
||||
AC_MSG_WARN(no configuration information is in $ac_config_dir)
|
||||
ac_sub_configure=
|
||||
fi
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
if test "$target_alias" != "$host_alias"; then
|
||||
ac_sub_cache_file=$cache_file
|
||||
else
|
||||
case "$cache_file" in
|
||||
/*) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file="$ac_dots$cache_file" ;;
|
||||
esac
|
||||
fi
|
||||
ifdef([AC_PROVIDE_AC_PROG_INSTALL],
|
||||
[ case "$ac_given_INSTALL" in
|
||||
changequote(, )dnl
|
||||
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
||||
changequote([, ])dnl
|
||||
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
||||
esac
|
||||
])dnl
|
||||
|
||||
echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir"
|
||||
# The eval makes quoting arguments work.
|
||||
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \
|
||||
$ac_sub_configure_args --srcdir=$ac_sub_srcdir \
|
||||
--with-target-subdir=$target_subdir --cache-file=$ac_sub_cache_file
|
||||
then :
|
||||
else
|
||||
AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir)
|
||||
fi
|
||||
fi
|
||||
|
||||
cd $ac_popdir
|
||||
done
|
||||
fi
|
||||
])
|
||||
|
||||
22
aclocal/tool-prefix.m4
Normal file
22
aclocal/tool-prefix.m4
Normal file
@@ -0,0 +1,22 @@
|
||||
dnl
|
||||
dnl $Id$
|
||||
dnl
|
||||
dnl Set program_prefix
|
||||
dnl
|
||||
dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de)
|
||||
dnl Extracted from configure
|
||||
|
||||
AC_DEFUN(RTEMS_TOOL_PREFIX,
|
||||
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
|
||||
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
|
||||
|
||||
changequote(,)dnl
|
||||
if [ "${program_prefix}" = "NONE" ] ; then
|
||||
if [ "${target}" = "${host}" ] ; then
|
||||
program_prefix=
|
||||
else
|
||||
program_prefix=${target}-
|
||||
fi
|
||||
fi
|
||||
changequote([,])dnl
|
||||
])
|
||||
@@ -1,2 +0,0 @@
|
||||
AC_DEFUN([RTEMS_VERSIONING],
|
||||
m4_define([_RTEMS_VERSION],[4.6.1]))
|
||||
@@ -1,231 +0,0 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
## -------------------------------------------------------------------------
|
||||
## NOTE: This file is rather immature and has to be considered to be
|
||||
## almost experimental.
|
||||
##
|
||||
## Expect frequent changes -- It deserves to be cleaned up :(
|
||||
## -------------------------------------------------------------------------
|
||||
|
||||
## The section below is based on make/compilers/gcc-target-default.cfg
|
||||
## used in former versions of RTEMS.
|
||||
|
||||
##
|
||||
## Set up the flags for the toolchains:
|
||||
##
|
||||
## We are considering 3 different building schemes here:
|
||||
## * Using gcc's being able to accept -specs (aka gcc-2.8 building scheme)
|
||||
## * Using gcc's not being able to accept -specs (aka gcc-2.7.2 building
|
||||
## scheme)
|
||||
## * Using third party toolchains (aka non-gcc building scheme)
|
||||
##
|
||||
## Automake conditionals in use:
|
||||
## RTEMS_USE_GCC .. if we are using GCC
|
||||
|
||||
## NOTES:
|
||||
## * The gcc-2.8 building scheme is the nominal building scheme and
|
||||
## is actively supported.
|
||||
## * The non-gcc building scheme requires manually setting up environment
|
||||
## variables and is hardly tested at all
|
||||
|
||||
## CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V are the values we
|
||||
## would want the corresponding macros to be set to.
|
||||
##
|
||||
## CFLAGS_OPTIMIZE, CFLAGS_DEBUG, CFLAGS_PROFILE are set by the
|
||||
## 'VARIANT=<OPTIMIZE|DEBUG|PROFILE>' targets to their _V values.
|
||||
|
||||
## XCPPFLAGS, XCFLAGS, XCXXFLAGS, XASFLAGS
|
||||
## are used to add flags from the shell
|
||||
## cf. make.info ("Implicit rules/variables" for details)
|
||||
|
||||
if RTEMS_USE_GCC
|
||||
## All the stuff below is specific to gcc
|
||||
|
||||
## gcc >= 2.8.x
|
||||
GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
|
||||
else
|
||||
## fall back to the old style compilers/*.cfg
|
||||
## CONFIG.CC is supposed to be provided by <BSP>.cfg
|
||||
include $(CONFIG.CC)
|
||||
endif # RTEMS_USE_GCC
|
||||
|
||||
DEFS = @DEFS@
|
||||
|
||||
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) $(DEFINES) $(XCPPFLAGS)
|
||||
CFLAGS = @RTEMS_CFLAGS@ $(XCFLAGS)
|
||||
## FIXME: This should be correct, but is not supported, yet
|
||||
# CXXFLAGS = @RTEMS_CXXFLAGS@ $(XCXXFLAGS)
|
||||
## Fall back to using RTEMS_CFLAGS for C++
|
||||
CXXFLAGS = @RTEMS_CFLAGS@ $(XCXXFLAGS)
|
||||
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
|
||||
|
||||
LINK_LIBS = $(LD_LIBS)
|
||||
|
||||
#
|
||||
# Client compiler and support tools
|
||||
#
|
||||
|
||||
#
|
||||
# How to compile stuff into ${ARCH} subdirectory
|
||||
#
|
||||
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
CXXLD = $(CXX)
|
||||
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
CCAS = $(CC)
|
||||
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
||||
|
||||
# OBSOLETE: Don't use
|
||||
AS = $(CC)
|
||||
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
|
||||
|
||||
${ARCH}/%.o: %.c
|
||||
${COMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.cc
|
||||
${CXXCOMPILE} -o $@ -c $<
|
||||
|
||||
${ARCH}/%.o: %.S
|
||||
${CCASCOMPILE} -DASM -o $@ -c $<
|
||||
|
||||
# Dependency files for use by gmake
|
||||
# NOTE: we don't put them into $(ARCH)
|
||||
# so that 'make clean' doesn't blow it away
|
||||
|
||||
DEPEND=Depends-${ARCH}
|
||||
|
||||
# We deliberately don't have anything depend on the
|
||||
# $(DEPEND) file; otherwise it will get rebuilt even
|
||||
# on 'make clean'
|
||||
#
|
||||
|
||||
if RTEMS_USE_GCC
|
||||
## HACK: Specific to gcc
|
||||
## FIXME: The approach below is known to be conceptionally broken.
|
||||
depend-gcc: $(C_FILES) $(CC_FILES) $(S_FILES)
|
||||
## Use gcc -M to generate dependencies
|
||||
## Replace foo.o with $(ARCH)/foo.o
|
||||
## Replace $(ARCH) value with string $(ARCH)
|
||||
## so that it will for debug and profile cases
|
||||
$(COMPILE) -M $^ | \
|
||||
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
||||
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
||||
mv $(DEPEND).tmp $(DEPEND)
|
||||
|
||||
# pull in dependencies if they exist
|
||||
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
||||
include ${DEPEND}
|
||||
@ENDIF@
|
||||
endif
|
||||
depend: depend-am
|
||||
|
||||
# spell out all the LINK_FILE's, rather than using -lbsp, so
|
||||
# that $(LINK_FILES) can be a dependency
|
||||
|
||||
LINK_OBJS = \
|
||||
$(OBJS) \
|
||||
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
|
||||
|
||||
LINK_FILES =\
|
||||
$(START_FILE) \
|
||||
$(OBJS) \
|
||||
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
|
||||
|
||||
if RTEMS_USE_GCC
|
||||
## gcc >= 2.8
|
||||
define make-rel
|
||||
$(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
|
||||
endef
|
||||
else
|
||||
## non-gcc
|
||||
define make-rel
|
||||
$(LINK) $(XLDFLAGS) $^
|
||||
endef
|
||||
endif
|
||||
|
||||
## -------------------------------------------------------------------------
|
||||
|
||||
## translate VARIANT into VARIANT_V
|
||||
VARIANT = OPTIMIZE
|
||||
|
||||
VARIANT_OPTIMIZE_V = OPTIMIZE
|
||||
VARIANT_DEBUG_V = DEBUG
|
||||
VARIANT_PROFILE_V = PROFILE
|
||||
VARIANT_optimize_V = OPTIMIZE
|
||||
VARIANT_debug_V = DEBUG
|
||||
VARIANT_profile_V = PROFILE
|
||||
|
||||
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
||||
|
||||
## Setup the variant build subdirectory
|
||||
ARCH_OPTIMIZE_V = o-optimize
|
||||
ARCH_DEBUG_V = o-debug
|
||||
ARCH_PROFILE_V = o-profile
|
||||
|
||||
ARCH__V = $(ARCH_OPTIMIZE_V)
|
||||
ARCH = $(ARCH_$(VARIANT_V)_V)
|
||||
|
||||
## Setup the library suffix
|
||||
LIBSUFFIX_OPTIMIZE_V =
|
||||
LIBSUFFIX_DEBUG_V = _g
|
||||
LIBSUFFIX_PROFILE_V = _p
|
||||
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
||||
|
||||
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
||||
|
||||
## These are supposed to be set in make/custom/<bsp>.cfg
|
||||
CPU_CFLAGS = @CPU_CFLAGS@
|
||||
CFLAGS_OPTIMIZE_V = @CFLAGS_OPTIMIZE_V@
|
||||
CFLAGS_DEBUG_V = @CFLAGS_DEBUG_V@
|
||||
CFLAGS_PROFILE_V = @CFLAGS_PROFILE_V@
|
||||
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
||||
|
||||
## ------------------------------------------------------------------------
|
||||
## Setup hard-coded flags
|
||||
if RTEMS_USE_GCC
|
||||
## gcc >= gcc-2.8
|
||||
RTEMS_CFLAGS_OPTIMIZE_V =
|
||||
RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
|
||||
RTEMS_CFLAGS_PROFILE_V = -pg
|
||||
|
||||
## non-gcc
|
||||
## We can't guess what flags might be required here.
|
||||
## Pass the values from the environment if you want to apply them.
|
||||
endif
|
||||
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
|
||||
|
||||
## -------------------------------------------------------------------------
|
||||
|
||||
CC = @CC@ $(GCCSPECS)
|
||||
CXX = @CXX@ $(GCCSPECS)
|
||||
CPP = @CPP@ $(GCCSPECS)
|
||||
|
||||
LD = @LD@
|
||||
OBJCOPY = @OBJCOPY@
|
||||
NM = @NM@
|
||||
SIZE = @SIZE@
|
||||
STRIP = @STRIP@
|
||||
|
||||
##
|
||||
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
|
||||
AM_CFLAGS =
|
||||
AM_CXXFLAGS =
|
||||
AM_CCASFLAGS = $(CPU_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_CCASFLAGS)
|
||||
|
||||
${ARCH}:
|
||||
mkdir ${ARCH}
|
||||
|
||||
clean-local:
|
||||
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
||||
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
||||
@@ -1,4 +0,0 @@
|
||||
## This file is a temporary band-aid for the ppc-BSPs.
|
||||
## DO NOT use it, it will eventually be removed in future.
|
||||
|
||||
PREINSTALL_FILES = $(TMPINSTALL_FILES)
|
||||
@@ -1,16 +1,9 @@
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
|
||||
CXXLINK_APP = $(CXXLINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
|
||||
ifndef make-cxx-exe
|
||||
define make-cxx-exe
|
||||
$(CXXLINK_APP)
|
||||
$(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDLIBS) -o $@ \
|
||||
$(LINK_OBJS) $(LINK_LIBS)
|
||||
endef
|
||||
@ENDIF@
|
||||
|
||||
LINK_APP = $(LINK) $(LDLIBS) $(LINK_OBJS) $(LINK_LIBS)
|
||||
ifndef make-exe
|
||||
define make-exe
|
||||
$(LINK_APP)
|
||||
endef
|
||||
@ENDIF@
|
||||
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
AR = @AR@
|
||||
RANLIB = @RANLIB@
|
||||
|
||||
ARFLAGS = ruv
|
||||
include $(RTEMS_ROOT)/make/leaf.cfg
|
||||
|
||||
define make-library
|
||||
test -d $(ARCH) || mkdir $(ARCH)
|
||||
$(RM) $@
|
||||
$(AR) $(ARFLAGS) $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
@@ -1,5 +1,48 @@
|
||||
## $Id$
|
||||
|
||||
## NOTE: This is a temporary work-around to keep
|
||||
## RTEMS's non automake standard make targets working.
|
||||
## Once automake is fully integrated these make targets
|
||||
## and this file will probably be removed
|
||||
|
||||
## translate VARIANT into VARIANT_V
|
||||
VARIANT = OPTIMIZE
|
||||
|
||||
VARIANT_OPTIMIZE_V = OPTIMIZE
|
||||
VARIANT_DEBUG_V = DEBUG
|
||||
VARIANT_PROFILE_V = PROFILE
|
||||
VARIANT_optimize_V = OPTIMIZE
|
||||
VARIANT_debug_V = DEBUG
|
||||
VARIANT_profile_V = PROFILE
|
||||
|
||||
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
||||
|
||||
## Setup the variant build subdirectory
|
||||
ARCH_OPTIMIZE_V = o-optimize
|
||||
ARCH_DEBUG_V = o-debug
|
||||
ARCH_PROFILE_V = o-profile
|
||||
|
||||
ARCH__V = $(ARCH_OPTIMIZE_V)
|
||||
ARCH = $(ARCH_$(VARIANT_V)_V)
|
||||
|
||||
## Setup the library suffix
|
||||
LIBSUFFIX_OPTIMIZE_V =
|
||||
LIBSUFFIX_DEBUG_V = _g
|
||||
LIBSUFFIX_PROFILE_V = _p
|
||||
|
||||
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
||||
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
||||
|
||||
LIBSUFFIX_VA = $(LIB_VARIANT).a
|
||||
|
||||
## These are supposed to be set in make/custom/<bsp>.cfg
|
||||
## CFLAGS_OPTIMIZE_V =
|
||||
## CFLAGS_DEBUG_V =
|
||||
## CFLAGS_PROFILE_V =
|
||||
|
||||
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
||||
AM_CFLAGS += $(CFLAGS_$(VARIANT_V)_V)
|
||||
|
||||
debug:
|
||||
@echo
|
||||
@echo "\"make debug\" is obsolete, instead use:"
|
||||
@@ -20,9 +63,18 @@ preinstall-am: $(PREINSTALL_FILES)
|
||||
preinstall: preinstall-am
|
||||
.PHONY: preinstall preinstall-am
|
||||
|
||||
depend-am: depend-gcc
|
||||
depend-am:
|
||||
depend: depend-am
|
||||
.PHONY: depend depend-am depend-gcc
|
||||
.PHONY: depend depend-am
|
||||
|
||||
${ARCH}:
|
||||
mkdir ${ARCH}
|
||||
|
||||
clean-local:
|
||||
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
||||
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
||||
|
||||
distclean-local:
|
||||
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
|
||||
|
||||
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
||||
|
||||
|
||||
93
bootstrap
93
bootstrap
@@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#!/bin/sh
|
||||
#
|
||||
# helps bootstrapping, when checked out from CVS
|
||||
# requires GNU autoconf and GNU automake
|
||||
@@ -33,40 +33,9 @@ usage()
|
||||
exit 1;
|
||||
}
|
||||
|
||||
generate_bspdir_acinclude()
|
||||
{
|
||||
cat << EOF > acinclude.m4~
|
||||
# RTEMS_CHECK_BSPDIR(RTEMS_BSP)
|
||||
AC_DEFUN([RTEMS_CHECK_BSPDIR],
|
||||
[
|
||||
RTEMS_BSP_ALIAS(ifelse([\$1],,[\${RTEMS_BSP}],[\$1]),bspdir)
|
||||
case "\$bspdir" in
|
||||
EOF
|
||||
|
||||
for i in */bsp_specs; do
|
||||
d=`dirname $i`
|
||||
cat << EOF >> acinclude.m4~
|
||||
$d )
|
||||
AC_CONFIG_SUBDIRS([$d]);;
|
||||
EOF
|
||||
done
|
||||
cat << EOF >> acinclude.m4~
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid BSP]);;
|
||||
esac
|
||||
])
|
||||
EOF
|
||||
if cmp -s acinclude.m4 acinclude.m4~ 2>/dev/null; then
|
||||
echo "acinclude.m4 is unchanged";
|
||||
else
|
||||
cp acinclude.m4~ acinclude.m4
|
||||
fi
|
||||
rm -f acinclude.m4~
|
||||
}
|
||||
|
||||
if test ! -f $top_srcdir/aclocal/version.m4; then
|
||||
if test ! -f $top_srcdir/VERSION; then
|
||||
echo "${progname}:"
|
||||
echo " Installation problem: Can't find file aclocal/version.m4"
|
||||
echo " Installation problem: Can't find file VERSION"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
@@ -92,56 +61,23 @@ done
|
||||
|
||||
case $mode in
|
||||
generate)
|
||||
AUTOCONF=${AUTOCONF-autoconf}
|
||||
if test -z "$AUTOCONF"; then
|
||||
echo "You must have autoconf installed to run $program"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
AUTOHEADER=${AUTOHEADER-autoheader}
|
||||
if test -z "$AUTOHEADER"; then
|
||||
echo "You must have autoconf installed to run $program"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
AUTOMAKE=${AUTOMAKE-automake}
|
||||
if test -z "$AUTOMAKE"; then
|
||||
echo "You must have automake installed to run $program"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ACLOCAL=${ACLOCAL-aclocal}
|
||||
if test -z "$ACLOCAL"; then
|
||||
echo "You must have automake installed to run $program"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $top_srcdir in
|
||||
/* ) aclocal_dir=$top_srcdir
|
||||
/* ) aclocal_dir=$top_srcdir/aclocal
|
||||
;;
|
||||
*) aclocal_dir=`pwd`/$top_srcdir
|
||||
*) aclocal_dir=`pwd`/$top_srcdir/aclocal
|
||||
;;
|
||||
esac
|
||||
|
||||
confs=`find . \( -name 'configure.in' -o -name 'configure.ac' \) -print`
|
||||
confs=`find . -name 'configure.in' -print`
|
||||
for i in $confs; do
|
||||
dir=`dirname $i`;
|
||||
configure=`basename $i`;
|
||||
( test "$quiet" = "true" || echo "$dir";
|
||||
cd $dir;
|
||||
test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \
|
||||
generate_bspdir_acinclude;
|
||||
pat="s,\$(RTEMS_TOPdir),${aclocal_dir},g"
|
||||
aclocal_args=`grep '^[ ]*ACLOCAL_AMFLAGS' Makefile.am | \
|
||||
sed -e 's%.*ACLOCAL_AMFLAGS.*\=[ ]*%%g' -e $pat ` ;
|
||||
test "$verbose" = "-v" && echo "${ACLOCAL} $aclocal_args"
|
||||
${ACLOCAL} $aclocal_args;
|
||||
test -n "`grep CONFIG_HEADER ${configure}`" && ${AUTOHEADER} \
|
||||
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
|
||||
test -n "`grep RTEMS_BSP_CONFIGURE ${configure}`" && ${AUTOHEADER} \
|
||||
&& test "$verbose" = "-v" && echo "${AUTOHEADER}";
|
||||
test -f Makefile.am && ${AUTOMAKE} -a -c $verbose ;
|
||||
${AUTOCONF};
|
||||
aclocal -I $aclocal_dir;
|
||||
autoconf;
|
||||
test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
|
||||
test -f Makefile.am && automake $verbose ;
|
||||
test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
|
||||
&& echo timestamp > stamp-h.in
|
||||
)
|
||||
@@ -160,10 +96,7 @@ clean)
|
||||
files=`find . -name 'configure' -print` ;
|
||||
test "$verbose" = "-v" && test -n "$files" && echo "$files" ;
|
||||
for i in $files; do if test -f $i; then
|
||||
# The config.sub shipped with automake <= 1.7.5 does handle c4x/tic4x-* correctly.
|
||||
# rm -f config.sub
|
||||
rm -f $i config.guess depcomp install-sh mdate-sh missing \
|
||||
mkinstalldirs texinfo.tex
|
||||
rm -f $i
|
||||
test "$verbose" = "-v" && echo "$i"
|
||||
fi; done
|
||||
|
||||
@@ -176,7 +109,6 @@ clean)
|
||||
fi; done
|
||||
|
||||
find . -name '*~' -print | xargs rm -f
|
||||
find . -name 'bspopts.h*' -print | xargs rm -f
|
||||
find . -name '*.orig' -print | xargs rm -f
|
||||
find . -name '*.rej' -print | xargs rm -f
|
||||
find . -name 'config.status' -print | xargs rm -f
|
||||
@@ -186,8 +118,5 @@ clean)
|
||||
find . -name '.deps' -print | xargs rm -rf
|
||||
find . -name '.libs' -print | xargs rm -rf
|
||||
find . -name 'stamp-h.in' | xargs rm -rf
|
||||
find . -name 'autom4te*.cache' | xargs rm -rf
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
@@ -8,7 +9,5 @@ config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
missing
|
||||
mkinstalldirs
|
||||
|
||||
@@ -159,39 +159,15 @@ The following persons/organizations have made contributions:
|
||||
+ Eric Valette <valette@crf.canon.fr> and Emmanuel Raguet <raguet@crf.canon.fr>
|
||||
of Canon CRF - Communication Dept for numerous submissions including
|
||||
remote debugging on the i386 and PowerPC, port of RPC, port of the
|
||||
GoAhead web server, port of RTEMS to the ARM architecture,
|
||||
BSP for the Motorola MCP750 PowerPC board, and numerous improvements
|
||||
to the i386 and PowerPC ports of RTEMS including a new enhanced
|
||||
interrupt management API that reduces interrupt latency while making
|
||||
it easier to support external interrupt controllers.
|
||||
GoAhead web server, BSP for the Motorola MCP750 PowerPC board, and
|
||||
numerous improvements to the i386 and PowerPC ports of RTEMS
|
||||
including a new enhanced interrupt management API that reduces
|
||||
interrupt latency while making it easier to support external interrupt
|
||||
controllers.
|
||||
|
||||
+ Mark Bronson <mark@ramix.com> of RAMIX for submitting i960RP
|
||||
support and the rxgen960 board support package.
|
||||
|
||||
+ Joel Sherrill <joel@OARcorp.com> for the BSPs that work with
|
||||
numerous simulators including psim, i960sim, c4xsim, h8sim, armulator,
|
||||
sim68000, and simcpu32. Most of these BSPs work with instruction
|
||||
set simulators in gdb.
|
||||
|
||||
+ Darlene Stewart <Darlene.Stewart@nrc.ca> and Charles Gauthier
|
||||
<Charles.Gauthier@nrc.ca> of the Institute for Information Technology
|
||||
for the National Research Council of Canada submitted the Motorola
|
||||
MBX8XX BSP and consolidated libcpu support for the MPC860 and MPC821
|
||||
into MPC8XX.
|
||||
|
||||
+ John Cotton <jcotton@ualberta.ca> and Charles Gauthier
|
||||
<Charles.Gauthier@nrc.ca> of the Institute for Information
|
||||
Technology for the National Research Council of Canada
|
||||
submitted the RTEMS Cache Manager.
|
||||
|
||||
+ Philip Quaife <philip@qs.co.nz> of Q Solutions ported
|
||||
RTEMS to the Hitachi H8300H. This effort was sponsored by
|
||||
Comnet Technologies Ltd.
|
||||
|
||||
+ Joel Sherrill <joel@OARcorp.com> and Jennifer Averett <jennifer@OARcorp.com>
|
||||
for the Texas Instruments C3x/C4x port and c4xsim BSP that works
|
||||
with the C3x/C4X instruction set simulator in gdb.
|
||||
|
||||
Finally, the RTEMS project would like to thank those who have contributed
|
||||
to the other free software efforts which RTEMS utilizes. The primary RTEMS
|
||||
development environment is from the Free Software Foundation (the GNU
|
||||
|
||||
119
c/ChangeLog
119
c/ChangeLog
@@ -1,119 +0,0 @@
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-02-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Remove references to obsolete files
|
||||
README.DOS REQUIRES PROBLEMS TESTED README UPDATE_HELP.
|
||||
Add TOOL_TARGETS.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2002-11-07 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TOOL_TARGETS: Updated.
|
||||
* PROBLEMS, README, REQUIRES, TESTED, UPDATE_HELP: Removed
|
||||
since they were obsolete.
|
||||
|
||||
2002-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use mkinstalldirs instead of mkdir.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Fix --enable-rtemsbsp= handling.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
Add autom4te*cache.
|
||||
Remove autom4te.cache.
|
||||
|
||||
2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac:
|
||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
|
||||
2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Remove make from SUBDIRS.
|
||||
* configure.ac: Remove make from CONFIG_SUBDIRS, cosmetics.
|
||||
|
||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||
* configure.in: Remove.
|
||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
||||
|
||||
2001-05-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TESTED: Corrected the name of the MRM332 BSP.
|
||||
|
||||
2001-05-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TESTED: Updated the list of BSPs.
|
||||
* TOOLS_TARGETS: Updated the list of tools and object formats.
|
||||
|
||||
2001-03-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Use ${MAKE} in message at the end of the
|
||||
configure.in.
|
||||
|
||||
2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Apply _RTEMS_ADJUST_SRCDIR.
|
||||
|
||||
2000-12-14 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TESTED: Added comment on 68en302 now that there is a network driver.
|
||||
|
||||
2000-11-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TESTED: Added jmr3904 entry.
|
||||
|
||||
2000-11-20 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* TESTED: Added new sparc variations (erc32, leon, and Tharsys).
|
||||
|
||||
2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: catch -enable-rtemsbsp (Allowed by autoconf).
|
||||
Autoconf allows one to pass -enable-*, but this file expected --enable*.
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
||||
|
||||
2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to GNU-canonicalization.
|
||||
|
||||
2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Make sure $SHELL inside of Makefiles does not get
|
||||
propagated to the BSP-subdirectories if a user specified CONFIG_SHELL.
|
||||
|
||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ChangeLog: New file.
|
||||
@@ -2,7 +2,8 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../aclocal
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP
|
||||
## Esp. make clean and make distclean have unwanted side-effects
|
||||
@@ -11,7 +12,7 @@ ACLOCAL_AMFLAGS = -I ../aclocal
|
||||
RTEMS_BSP = $(RTEMS_BSP_LIST)
|
||||
## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be
|
||||
## triggered before $(RTEMS_BSP_LIST) subdirectories are made.
|
||||
SUBDIRS = . $(RTEMS_BSP)
|
||||
SUBDIRS = make . $(RTEMS_BSP)
|
||||
|
||||
## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger
|
||||
## this rule for invalid BSPs
|
||||
@@ -19,9 +20,9 @@ SUBDIRS = . $(RTEMS_BSP)
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \
|
||||
echo "Configuring RTEMS_BSP=$$i"; \
|
||||
$(mkinstalldirs) $$i; \
|
||||
test -d $$i || mkdir $$i; \
|
||||
( cd $$i && \
|
||||
CONFIG_SHELL=$(SHELL) RTEMS_BSP=$$i $(rtems_bsp_configure) \
|
||||
RTEMS_BSP=$$i $(rtems_bsp_configure) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) preinstall ) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done
|
||||
@@ -32,8 +33,8 @@ preinstall-am: ${RTEMS_BSP}
|
||||
depend-am: ${RTEMS_BSP}
|
||||
|
||||
## Pull in extra files intro the distribution
|
||||
EXTRA_DIST = ACKNOWLEDGEMENTS
|
||||
EXTRA_DIST += TOOL_TARGETS
|
||||
EXTRA_DIST = ACKNOWLEDGEMENTS README.DOS REQUIRES PROBLEMS TESTED README \
|
||||
UPDATE_HELP
|
||||
|
||||
DIST_SUBDIRS = ${RTEMS_BSP}
|
||||
## -------------------------------------------------------
|
||||
|
||||
73
c/PROBLEMS
Normal file
73
c/PROBLEMS
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
This is the list of outstanding problems in this release.
|
||||
|
||||
+ AMD 29k port is based on a non-GNU toolset.
|
||||
|
||||
+ The test spfatal is out of date and as a result will NOT execute
|
||||
correctly. The addition of POSIX and consequent ongoing initialization
|
||||
reorganization makes it pointless to fix this until the POSIX support
|
||||
is completely in place.
|
||||
|
||||
+ The m68k family has become quite large and an understanding of the
|
||||
compatibility of the peripherals on the various members of the 683xx
|
||||
family would allow someone to designate some of the drivers submitted
|
||||
for the gen683xx BSPs as useful on other members.
|
||||
|
||||
+ The only supported i960 family member is the CA. No support for the
|
||||
floating point support found in other family members is present.
|
||||
This also implies that RTEMS may "think" of something as generic
|
||||
across the i960 family when in fact it is specific to the CA.
|
||||
To make matters worse, the i960 target board owned by the RTEMS Project
|
||||
is now broken and as a result even the i960CA is a "compile only" port.
|
||||
|
||||
+ Some of the BSPs still define RAM_START and RAM_END in the bsp.h file.
|
||||
It is better to define these in the linkcmds file. It is also nice
|
||||
to use the linkcmds file to place overlays for on-board hardware.
|
||||
|
||||
+ Not all of the BSP console drivers have been converted to termios.
|
||||
Look at the m68k/gen68360, sparc/erc32, and powerpc/psim BSPs for
|
||||
examples.
|
||||
|
||||
+ UNIX port notes:
|
||||
|
||||
+ sometimes a stray SIGALRM is reported as spfatal completes.
|
||||
|
||||
+ There are conflicts between the names of native library routines
|
||||
which MUST be used and those in the POSIX support. This must
|
||||
be addressed. The POSIX API cannot be used with this port as a
|
||||
result of this.
|
||||
|
||||
+ Someone suggested writing a mini-system call interface to
|
||||
include with RTEMS which would eliminate name conflicts. This
|
||||
would allow the RTEMS POSIX API to be tested in this configuration.
|
||||
|
||||
+ Some of the tests may execute correctly and not produce the exact
|
||||
ordering of lines in the screen file. This appears to be a combination
|
||||
of a number of factors including buffering, processor speed, IO
|
||||
device overhead, and clock interrupt rate. The biggest problem is that
|
||||
some tests depend on polled IO with no unexpected context switches.
|
||||
These may not be resolvable while maintaining the spirit of the test.
|
||||
|
||||
+ The clock device drivers should really avoid doing the division
|
||||
by 1000 in the clock tick ISR to convert microseconds into
|
||||
milliseconds. This only applies to clock drivers which generate
|
||||
an ISR each millisecond and only call rtems_clock_tick every
|
||||
so many ISRs.
|
||||
|
||||
+ Cross-check configure --enable-* flags.
|
||||
+ warn/refuse to configure when --enable-libcdir and
|
||||
--enable-gcc28 are given.
|
||||
+ force --enable-libcdir when --disable-gcc28 is given
|
||||
|
||||
+ make profile does not currently work for a variety of reasons. Few
|
||||
BSPs include profile versions of the libraries in their bsp_specs
|
||||
file. There is no mechanism to sample data for gperf to process.
|
||||
All of this will need to be addressed before "make profile" is truly
|
||||
useful.
|
||||
|
||||
+ Bare BSP does not compile for all configurations yet. This is
|
||||
primarily due to libcpu support code assuming that the BSP has
|
||||
made something available which is not with a bare BSP.
|
||||
37
c/README
Normal file
37
c/README
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
This is the top level of the RTEMS directory structure. The following
|
||||
is a description of the files and directories in this directory:
|
||||
|
||||
Makefile.in
|
||||
The top-level Make command file used to build the C implementation
|
||||
of RTEMS. [RTEMS assumes the use of GNU make.]
|
||||
|
||||
README
|
||||
This file.
|
||||
|
||||
REQUIRES
|
||||
A list of the other tools which are assumed to be installed
|
||||
before RTEMS is built.
|
||||
|
||||
SUPPORT
|
||||
Information on third-party support for RTEMS.
|
||||
|
||||
build-tools
|
||||
This directory contains the source for various utilities
|
||||
needed to build RTEMS.
|
||||
|
||||
make
|
||||
Make command files "included" from those in the source distribution.
|
||||
[RTEMS assumes the use of GNU make.]
|
||||
|
||||
patches
|
||||
This directory contains patches for this release of RTEMS.
|
||||
|
||||
src
|
||||
This directory contains the source code for the C
|
||||
implementation of RTEMS as well as the test suites, sample
|
||||
applications, Board Support Packages, Device Drivers, and
|
||||
support libraries.
|
||||
13
c/REQUIRES
Normal file
13
c/REQUIRES
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
1. The installation procedure assumes that "gcc" is installed
|
||||
and is in your path for the installation of local tools.
|
||||
|
||||
2. gcc 2.7.2 with crossgcc patches (ftp.cygnus.com:/pub/embedded/crossgcc)
|
||||
|
||||
3. binutils 2.6 with crossgcc patches.
|
||||
|
||||
4. newlib with RTEMS configurations.
|
||||
|
||||
94
c/TESTED
Normal file
94
c/TESTED
Normal file
@@ -0,0 +1,94 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
The RTEMS project uses Intel x86 based computers running the RedHat
|
||||
distribution of the Linux operating system internally for development.
|
||||
This release has been tested on the following Languages/CPUs/Targets using
|
||||
RedHat Linux 5.1 as the host environment:
|
||||
|
||||
CPU CPU
|
||||
FAMILY MODEL TARGET SUITES
|
||||
======== ========= ======================= ===============
|
||||
m66k mfc5200 no BSP (note 9)
|
||||
m68k m68000 efi68k (note 1)
|
||||
m68k m68020 Motorola MVME136 (note 1, 6)
|
||||
m68k m68030 Motorola MVME147 (note 1)
|
||||
m68k m68030 Motorola MVME147s (note 1)
|
||||
m68k m68lc040 Motorola MVME162 (note 1)
|
||||
m68k m68lc040 Motorola MVME162LX (note 1)
|
||||
m68k m68ec040 Motorola IDP (note 1)
|
||||
m68k m68040 Motorola MVME167 (note 1, 6)
|
||||
m68k m68020 DY-4 DMV152 (note 1)
|
||||
m68k m68302 generic 68302 (note 1)
|
||||
m68k m68302 ods 68302 (note 1)
|
||||
m68k m68332 efi332 (note 1)
|
||||
m68k m68360 generic 68360 (note 1, 6)
|
||||
m68k m68360 68360 in companion mode (note 1, 6)
|
||||
i386 i386_fp Force CPU-386 (note 1, 7)
|
||||
i386 i386ex generic i386ex (note 1, 6)
|
||||
i386 i386ex Technologic Systems TS-1325 (note 1, 6)
|
||||
i386 i386+ PC clone (pc386) (note 1, 6)
|
||||
i386 i486 PC clone (pc486) (note 1, 6)
|
||||
i386 Pentium PC clone (pc586) (note 1, 6)
|
||||
i386 i486 DJGPP/PC-AT (note 7)
|
||||
i386 pentium DJGPP/PC-AT (note 7)
|
||||
i960 i960ca Cyclone CVME961 (note 4)
|
||||
i960 i960ha no BSP (note 9)
|
||||
i960 i960rp rxgen960 (note 1)
|
||||
hppa hppa7100 simhppa (note 1)
|
||||
mips idt4600 p4000 (note 1)
|
||||
mips idt4650 p4000 (note 1)
|
||||
powerpc ppc403 helas403 (note 1, 6)
|
||||
powerpc ppc403 Papyrus (note 1)
|
||||
powerpc ppc403 psim (note 5)
|
||||
powerpc ppc603e Radstone PPCn_60x (note 1, 8)
|
||||
powerpc ppc603e DY-4 DMV-177 (note 1)
|
||||
powerpc ppc603e Vista Score603e (note 1)
|
||||
powerpc ppc603e Motorola MVME2307 (note 1)
|
||||
powerpc mpc750 Motorola MCP750 (note 1)
|
||||
powerpc mpc821 no BSP (note 9)
|
||||
powerpc mpc823 no BSP (note 9)
|
||||
powerpc mpc860 eth_comm (custom) (note 1, 6)
|
||||
sh sh7032 generic sh1 (note 1)
|
||||
sh sh7035 generic sh2 (note 1)
|
||||
sparc erc32 generic erc32 ALL TESTS (note 5)
|
||||
a29k a29k port sw (note 2)
|
||||
UNIX NA Solaris 2 (SPARC) (note 2)
|
||||
UNIX NA Solaris 2 (SPARC) (note 2)
|
||||
UNIX NA Linux (i386) ALL TESTS (inlines)
|
||||
UNIX NA Linux (i386) ALL TESTS (macros)
|
||||
UNIX NA HPUX (PA-RISC) (note 2)
|
||||
no_cpu NA no_bsp (note 3)
|
||||
|
||||
NOTES:
|
||||
|
||||
"NOT TESTED" indicates that this was not tested in the testing cycle
|
||||
immediately preceding the snapshot.
|
||||
|
||||
(1) Target board is not owned by RTEMS Project. The target is known
|
||||
to compile and link with all appropriate tests successfully.
|
||||
If the target does not support multiprocessor configurations, then
|
||||
"ALL TESTS" does not include the multiprocessor tests.
|
||||
|
||||
(2) RTEMS Project cannot internally compile or test this target.
|
||||
The HP-UX is not recognized in the configure script.
|
||||
The a29k does not use GNU tools and may suffer from bit rot.
|
||||
|
||||
(3) Target is not intended to be executed. It is only an example.
|
||||
|
||||
(4) The board owned by the RTEMS Project is broken. The BSP is known
|
||||
to compile and link with all appropriate tests successfully.
|
||||
|
||||
(5) This BSP is tested on a CPU software simulator.
|
||||
|
||||
(6) This BSP was tested by an RTEMS volunteer and reported to work.
|
||||
|
||||
(7) The BSP is deprecated. For information on what would be
|
||||
required to update it contact rtems@OARcorp.com.
|
||||
|
||||
(8) The Radstone ppcn_60x BSP was written by Radstone and designed
|
||||
to support any Radstone PowerPC board with only minor modifications.
|
||||
|
||||
(9) This CPU model is supported but there are no BSPs using this CPU
|
||||
model included in the current distribution.
|
||||
@@ -2,22 +2,13 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
The following are targets for the GNU tools (gcc, binutils, newlib, and gdb)
|
||||
The following are targets for the GNU tools (egcs, binutils, newlib, and gdb)
|
||||
that are for RTEMS, their object format, and status notes
|
||||
|
||||
arm:
|
||||
arm-rtems ELF
|
||||
|
||||
c4x:
|
||||
c4x-rtems COFF Requires patches
|
||||
|
||||
hppa:
|
||||
hppa1.1-rtems ELF
|
||||
|
||||
|
||||
h8300:
|
||||
h8300-rtems COFF
|
||||
|
||||
i386:
|
||||
i386-rtems ELF
|
||||
i386-rtemself ELF
|
||||
@@ -29,7 +20,7 @@ i960:
|
||||
i960-rtemscoff COFF
|
||||
i960-rtemself ELF Not currently in any tools
|
||||
|
||||
NOTE: As of October 2002, i960 has been deprecated in gdb and gcc.
|
||||
NOTE: i960-elf is in post binutils 2.9.1 snapshots.
|
||||
|
||||
m68k:
|
||||
m68k-rtems COFF Switch to ELF when possible
|
||||
|
||||
52
c/UPDATE_HELP
Normal file
52
c/UPDATE_HELP
Normal file
@@ -0,0 +1,52 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
Between RTEMS 3.1.0 and 3.2.0, every RTEMS defined symbol made visible
|
||||
was renamed. This document describes the change and the tools provided
|
||||
to assist you in updating your RTEMS 3.1.0 application.
|
||||
|
||||
[NOTE: This change was not included in snapshots prior to 3.1.15.]
|
||||
|
||||
DESCRIPTION OF NAME CHANGES:
|
||||
============================
|
||||
|
||||
The primary change was the addition of the prefix "rtems_" or "RTEMS_" to
|
||||
EVERY user visible RTEMS provided constant and routine. The primary
|
||||
factor in the decision to make such a sweeping change was conflicts
|
||||
between the the RTEMS and POSIX API's.
|
||||
|
||||
|
||||
TO UPDATE YOUR APPLICATION:
|
||||
===========================
|
||||
|
||||
The update script requires that Perl be installed on your computer.
|
||||
It has only been tested with Perl 5.x.
|
||||
|
||||
After RTEMS has been built, in the directory "$r/<BSP>/update_tools", will
|
||||
be a set of tools to aid in making the application source changes necessary
|
||||
to address (hopefully) all of the name changes in the RTEMS API between
|
||||
releases 3.1.0 and 3.2.0.
|
||||
|
||||
The update shell script is the only executable which is invoked by the
|
||||
user directly. The word-replace Perl script is invoked by the update
|
||||
shell script.
|
||||
|
||||
WARNING: These tools modify the files IN PLACE!!! Backup your
|
||||
source before using these tools.
|
||||
|
||||
To udpate your application, change directories to the top of your application
|
||||
source tree and execute the update script. It should be something similar
|
||||
to the following:
|
||||
|
||||
cd MY_APP
|
||||
$r/<BSP>/update-tools/update
|
||||
|
||||
The update script will ask if you have backed up your source code before
|
||||
beginning the update process. While operating on files, it will print
|
||||
the name of each file and a dot for each change made to the source file.
|
||||
|
||||
NOTE: These scripts do not attempt to address changes in calling
|
||||
sequences. After the script has run, you will need to update
|
||||
calls to rtems_clock_get(), rtems_timer_fire_after(), and
|
||||
rtems_timer_fire_when() by hand.
|
||||
@@ -1,77 +0,0 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([rtems-c],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
|
||||
AC_CONFIG_SRCDIR([src])
|
||||
RTEMS_TOP(..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
## These options are used within this file.
|
||||
RTEMS_ENABLE_BARE
|
||||
RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
|
||||
|
||||
RTEMS_CHECK_CPU
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
AS_IF([test -z "$rtems_bsp"],
|
||||
[RTEMS_CHECK_BSPS(rtems_bsp)])
|
||||
|
||||
for i in $rtems_bsp; do
|
||||
|
||||
# make sure there is a make/custom file for the bsp
|
||||
RTEMS_CHECK_CUSTOM_BSP(i)
|
||||
|
||||
RTEMS_BSP_ALIAS($i,bspdir)
|
||||
|
||||
# Is there code where there should be for this BSP?
|
||||
# The bare bsp is a special case as it is not under the RTEMS_CPU path
|
||||
case $bspdir in
|
||||
bare)
|
||||
bspcpudir=
|
||||
;;
|
||||
*)
|
||||
bspcpudir=$RTEMS_CPU/
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -d "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$bspcpudir$bspdir"; then
|
||||
RTEMS_BSP_LIST="$RTEMS_BSP_LIST $i"
|
||||
else
|
||||
AC_MSG_ERROR([unable to find libbsp directory ($bspdir) for $i])
|
||||
fi
|
||||
done
|
||||
|
||||
#
|
||||
# Compose the configuration arguments to be passed to c/src/configure
|
||||
#
|
||||
##
|
||||
## Partially borrowed from autoconf-2.13
|
||||
##
|
||||
|
||||
## Adjust paths
|
||||
_RTEMS_ADJUST_SRCDIR([rtems_bsp_configure],[src])
|
||||
rtems_bsp_configure="$rtems_bsp_configure/configure"
|
||||
RTEMS_CONFIGURE_ARGS_QUOTE([rtems_bsp_configure_args],
|
||||
[-enable-rtemsbsp=* | --enable-rtemsbsp=* ) ;;])
|
||||
|
||||
rtems_bsp_configure="$rtems_bsp_configure $rtems_bsp_configure_args"
|
||||
AC_SUBST(rtems_bsp_configure)
|
||||
|
||||
AC_SUBST(RTEMS_BSP_LIST)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
echo
|
||||
echo target architecture: $target_cpu.
|
||||
echo available BSPs: $rtems_bsp.
|
||||
echo \'${MAKE} all\' will build the following BSPs: $RTEMS_BSP_LIST.
|
||||
echo other BSPs can be built with \'${MAKE} RTEMS_BSP=\"bsp1 bsp2 ...\"\'
|
||||
echo
|
||||
113
c/configure.in
Normal file
113
c/configure.in
Normal file
@@ -0,0 +1,113 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
dnl $Id$
|
||||
|
||||
AC_PREREQ(2.13)
|
||||
AC_INIT(src)
|
||||
RTEMS_TOP(..)
|
||||
AC_CONFIG_AUX_DIR(..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE(rtems-c,$RTEMS_VERSION,no)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
dnl These options are used within this file.
|
||||
RTEMS_ENABLE_BARE
|
||||
RTEMS_ENABLE_RTEMSBSP(rtems_bsp)
|
||||
|
||||
RTEMS_CHECK_CPU
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
if test -z "$rtems_bsp"; then
|
||||
RTEMS_CHECK_BSPS(rtems_bsp)
|
||||
fi
|
||||
|
||||
for i in $rtems_bsp; do
|
||||
|
||||
# make sure there is a make/custom file for the bsp
|
||||
RTEMS_CHECK_CUSTOM_BSP(i)
|
||||
|
||||
RTEMS_BSP_ALIAS($i,bspdir)
|
||||
|
||||
# Is there code where there should be for this BSP?
|
||||
# The bare bsp is a special case as it is not under the RTEMS_CPU path
|
||||
case $bspdir in
|
||||
bare)
|
||||
bspcpudir=
|
||||
if test "X${BARE_CPU_CFLAGS}" = "X" ; then
|
||||
AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp])
|
||||
fi
|
||||
if test "X${BARE_CPU_MODEL}" = "X" ; then
|
||||
AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp])
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
bspcpudir=$RTEMS_CPU/
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -d "$srcdir/$RTEMS_TOPdir/c/src/lib/libbsp/$bspcpudir$bspdir"; then
|
||||
RTEMS_BSP_LIST="$RTEMS_BSP_LIST $i"
|
||||
else
|
||||
AC_MSG_ERROR([unable to find libbsp directory ($bspdir) for $i])
|
||||
fi
|
||||
done
|
||||
|
||||
#
|
||||
# Compose the configuration arguments to be passed to c/src/configure
|
||||
#
|
||||
##
|
||||
## Partially borrowed from autoconf-2.13
|
||||
##
|
||||
|
||||
## Adjust paths
|
||||
case $srcdir in
|
||||
/*) rtems_bsp_configure="$srcdir/src/configure";;
|
||||
*) rtems_bsp_configure="../$srcdir/src/configure";;
|
||||
esac
|
||||
|
||||
## Remove --cache-file, --srcdir and --enable-rtemsbsp arguments
|
||||
## so they do not pile up
|
||||
rtems_bsp_configure_args=
|
||||
for ac_arg in $ac_configure_args; do
|
||||
if test -n "$ac_prev"; then
|
||||
ac_prev=
|
||||
continue
|
||||
fi
|
||||
case "$ac_arg" in
|
||||
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
||||
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
||||
ac_prev=cache_file ;;
|
||||
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
||||
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
||||
;;
|
||||
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
||||
ac_prev=srcdir ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
--enable-rtemsbsp*) ;;
|
||||
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
||||
;;
|
||||
*) rtems_bsp_configure_args="$rtems_bsp_configure_args $ac_arg" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
rtems_bsp_configure="$rtems_bsp_configure $rtems_bsp_configure_args"
|
||||
AC_SUBST(rtems_bsp_configure)
|
||||
|
||||
AC_SUBST(RTEMS_BSP_LIST)
|
||||
|
||||
AC_CONFIG_SUBDIRS(make)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
)
|
||||
|
||||
echo
|
||||
echo target architecture: $target_cpu.
|
||||
echo available BSPs: $rtems_bsp.
|
||||
echo \'make all\' will build the following BSPs: $RTEMS_BSP_LIST.
|
||||
echo other BSPs can be built with \'make RTEMS_BSP=\"bsp1 bsp2 ...\"\'
|
||||
echo
|
||||
14
c/make/.cvsignore
Normal file
14
c/make/.cvsignore
Normal file
@@ -0,0 +1,14 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
missing
|
||||
mkinstalldirs
|
||||
target.cfg
|
||||
16
c/make/Makefile.am
Normal file
16
c/make/Makefile.am
Normal file
@@ -0,0 +1,16 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
rtems_makedir = $(prefix)/make
|
||||
|
||||
GENERIC_FILES = target.cfg
|
||||
|
||||
rtems_make_DATA = $(GENERIC_FILES)
|
||||
|
||||
EXTRA_DIST = target.cfg.in
|
||||
|
||||
include $(top_srcdir)/../../automake/host.am
|
||||
53
c/make/configure.in
Normal file
53
c/make/configure.in
Normal file
@@ -0,0 +1,53 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
dnl $Id$
|
||||
|
||||
dnl
|
||||
dnl This script configures the configuration files below c/make/
|
||||
dnl
|
||||
|
||||
AC_PREREQ(2.13)
|
||||
AC_INIT(target.cfg.in)
|
||||
RTEMS_TOP(../..)
|
||||
AC_CONFIG_AUX_DIR(../..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
|
||||
AM_INIT_AUTOMAKE(rtems-c-make,$RTEMS_VERSION,no)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENABLE_POSIX
|
||||
RTEMS_ENABLE_ITRON
|
||||
RTEMS_ENABLE_NETWORKING
|
||||
RTEMS_ENABLE_RDBG
|
||||
RTEMS_ENABLE_INLINES
|
||||
RTEMS_ENABLE_CXX
|
||||
RTEMS_ENABLE_GCC28
|
||||
|
||||
RTEMS_CHECK_CPU
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
RTEMS_PROG_CC_FOR_TARGET
|
||||
|
||||
dnl check for g++
|
||||
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
||||
RTEMS_PROG_CXX_FOR_TARGET
|
||||
fi
|
||||
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
AC_SUBST(rtems_cv_prog_cc_cross)
|
||||
AC_SUBST(RTEMS_HAS_POSIX)
|
||||
AC_SUBST(RTEMS_HOST)
|
||||
AC_SUBST(RTEMS_HAS_CPLUSPLUS)
|
||||
AC_SUBST(RTEMS_USE_GCC272)
|
||||
AC_SUBST(RTEMS_CPU)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_OUTPUT(
|
||||
Makefile
|
||||
target.cfg
|
||||
)
|
||||
69
c/make/target.cfg.in
Normal file
69
c/make/target.cfg.in
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Target specific settings.
|
||||
#
|
||||
|
||||
prefix = @prefix@
|
||||
|
||||
CFLAGS = @CFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
DEFS = @DEFS@
|
||||
LDFLAGS =
|
||||
LIBS = @LIBS@
|
||||
|
||||
CC = @CC_FOR_TARGET@
|
||||
AS = @AS_FOR_TARGET@
|
||||
AR = @AR_FOR_TARGET@
|
||||
NM = @NM_FOR_TARGET@
|
||||
LD = @LD_FOR_TARGET@
|
||||
SIZE = @SIZE_FOR_TARGET@
|
||||
STRIP = @STRIP_FOR_TARGET@
|
||||
OBJCOPY = @OBJCOPY_FOR_TARGET@
|
||||
RANLIB = @RANLIB_FOR_TARGET@
|
||||
|
||||
CXX = @CXX_FOR_TARGET@
|
||||
|
||||
export CC
|
||||
export AS
|
||||
export LD
|
||||
export NM
|
||||
export AR
|
||||
export SIZE
|
||||
export OBJCOPY
|
||||
|
||||
export CXX
|
||||
|
||||
RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@
|
||||
|
||||
RTEMS_HOST = @RTEMS_HOST@
|
||||
RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
|
||||
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
|
||||
RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@
|
||||
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
|
||||
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
|
||||
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
|
||||
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
|
||||
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
|
||||
RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
|
||||
RTEMS_CPU = @RTEMS_CPU@
|
||||
|
||||
XCFLAGS=$(CFLAGS_FOR_TARGET)
|
||||
|
||||
export RTEMS_BSP
|
||||
export RTEMS_CUSTOM
|
||||
export PROJECT_ROOT
|
||||
|
||||
# List (possibly empty) of required managers
|
||||
# We require:
|
||||
# region -- used by lib/libcsupport for malloc()
|
||||
# ext -- used by libc for libc reentrancy hooks
|
||||
|
||||
MANAGERS_REQUIRED=region ext sem
|
||||
|
||||
# Create a RTEMS executable based on MANAGERS which was set in
|
||||
# app's Makefile
|
||||
|
||||
MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
|
||||
$(MANAGERS_REQUIRED), $(MANAGER_LIST))
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
autom4te*.cache
|
||||
config.cache
|
||||
config.guess
|
||||
config.log
|
||||
@@ -8,7 +9,5 @@ config.sub
|
||||
configure
|
||||
depcomp
|
||||
install-sh
|
||||
Makefile
|
||||
Makefile.in
|
||||
missing
|
||||
mkinstalldirs
|
||||
|
||||
328
c/src/ChangeLog
328
c/src/ChangeLog
@@ -1,328 +0,0 @@
|
||||
2003-12-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* support/Makefile.am: Pass @RTEMS_BSP@ to AM_CPPFLAGS.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* support/version.c: URL for license changed.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
2003-04-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Add libide.a.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add support/.
|
||||
* support/.cvsignore: New.
|
||||
* support/Makefile.am: New.
|
||||
* support/version.c: New.
|
||||
* wrapup/Makefile.am: Add support/libsupport.a.
|
||||
|
||||
2003-03-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Use SRC += instead of make-vars.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2003-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
|
||||
|
||||
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Use install-data-local to install librtemsbsp.a.
|
||||
Let all-local: depend on $(LIB).
|
||||
|
||||
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Remove libmisc.
|
||||
|
||||
2002-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove libmisc.
|
||||
|
||||
2002-12-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Append RTEMS_CPU_MODEL to ac_configure_args.
|
||||
Resort cache-checking.
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Expand RTEMS_CHECK_BSP_CACHE.
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Append CPU_CFLAGS, CFLAGS_OPTIMIZE_V,
|
||||
CFLAGS_DEBUG_V, CFLAGS_PROFILE_V, RTEMS_BSP_FAMILY to
|
||||
ac_configure_args.
|
||||
|
||||
2002-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use test "$RTEMS_BSP_FAMILY" != "bare" to setup
|
||||
HAS_LIBBSP conditional (Solaris/bash incompatibility fix).
|
||||
|
||||
2002-11-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use "'"-quotes to pass args to bsp.mak.
|
||||
* configure.ac: Use "'"-quotes for args to RTEMS_CONFIG_SUBDIRS.
|
||||
Fix braino in comment on "exec".
|
||||
Extend --enable-ada handling.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
Add autom4te*cache.
|
||||
Remove autom4te.cache.
|
||||
* wrapup/.cvsignore: Remove autom4te.cache.
|
||||
|
||||
2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
|
||||
|
||||
2002-08-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add ada-tests.
|
||||
|
||||
2002-08-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add preinstall-stamp.
|
||||
|
||||
2002-08-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
Posix-BSP-Hacks:
|
||||
* configure.ac: Add AM_CONDITIONAL(LIBCHIP).
|
||||
Pass RTEMS_HOST to make/bsp.mak
|
||||
* Makefile.am: Pass RTEMS_HOST to make/bsp.mak.
|
||||
* wrapup/Makefile.am: Apply AM_CONDITIONAL(LIBCHIP).
|
||||
|
||||
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
|
||||
|
||||
2002-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add BSP_SUBDIRS.
|
||||
* Makefile.am: Use BSP_SUBDIRS to setup SUBDIRS.
|
||||
|
||||
2002-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_SUBDIR(wrapup).
|
||||
Cosmetic cleanups.
|
||||
|
||||
2002-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Pick up ../libchip/rtc/$(ARCH)/librtcio.a and
|
||||
../libchip/serial/$(ARCH)/libserialio.a.
|
||||
|
||||
2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Add rtems_makedir.
|
||||
|
||||
2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Merge wrapup/configure.ac.
|
||||
Cosmetic cleanups.
|
||||
* Makefile.am: Add wrapup-SUBDIR.
|
||||
* wrapup/ChangeLog: Remove.
|
||||
* wrapup/configure.ac: Remove.
|
||||
|
||||
2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Append BARE_CPU_MODEL to make/@RTEMS_BSP@.cache
|
||||
creation (Make the bare BSP happy).
|
||||
* configure.ac: Ditto.
|
||||
|
||||
2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Create make/@RTEMS_BSP@.cache.
|
||||
Handle make/custom/*.cfgs.
|
||||
Create make/custom/default.cfg.
|
||||
* configure.ac: Add creation of make/custon/*.cfg.
|
||||
Create make/${RTEMS_BSP}.cache.
|
||||
Read make/${RTEMS_BSP}.cache
|
||||
|
||||
2002-08-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Clean $(PROJECT_RELEASE).
|
||||
|
||||
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: Add test "$multilib" != "yes".
|
||||
* config-ml.in: Remove.
|
||||
|
||||
2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: Cleanups.
|
||||
* configure.ac: Build ${srcdir}/../../cpukit/ as ./exec/ instead of
|
||||
${srcdir}/exec/.
|
||||
Further adaptations to autoconf >= 2.50.
|
||||
|
||||
2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* acinclude.m4: New.
|
||||
* Makefile.am: Remove tar-installation.
|
||||
Prepend @exec@ to SUBDIRS.
|
||||
* configure.ac: Switch to AC_CONFIG_SRCDIR([optman]).
|
||||
Add RTEMS_ENABLE_MULTIPROCESSING.
|
||||
Add RTEMS_CONFIG_SUBDIR([exec]...).
|
||||
|
||||
2002-06-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove librpc.
|
||||
|
||||
2002-06-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Per PR233, moved librpc to exec.
|
||||
* configure.ac, wrapup/Makefile.am: Modified.
|
||||
* librpc, librpc/ChangeLog: Removed.
|
||||
|
||||
2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove CONFIG_SUBDIRS libblock, libfs.
|
||||
|
||||
2002-05-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove lib.
|
||||
|
||||
2002-05-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* config-ml.in: Take out arm and sh variants RTEMS does not support.
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac:
|
||||
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
||||
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
|
||||
2002-02-28 Victor V. Vengerov <vvv@oktet.ru>
|
||||
|
||||
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
|
||||
* configure.ac: Modified to reflect addition.
|
||||
|
||||
2002-01-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Add AC_CONFIG_SUBDIRS(optman). Remove
|
||||
AC_CONFIG_COMMANDS.
|
||||
|
||||
2001-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* config-ml.in: New file. Imported from gcc and modified for RTEMS.
|
||||
|
||||
2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use SUBDIRS = @subdirs@, require automake-1.5.
|
||||
* configure.ac: Replace hst_subdirs with AC_CONFIG_SUBDIRS to make
|
||||
autoconf-2.52 happy.
|
||||
|
||||
2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
||||
* configure.in: Remove.
|
||||
* configure.ac: New file, generated from configure.in by autoupdate.
|
||||
|
||||
2001-02-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: install to $(exec_prefix)/@RTEMS_BSP@.
|
||||
|
||||
2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
||||
|
||||
2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
||||
|
||||
2000-10-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Switch to GNU-canonicalization.
|
||||
* Makefile.am: Reflect changes to configure.in.
|
||||
* acinclude.m4: Remove.
|
||||
|
||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add lib/libbsp to the GNU canonicalized
|
||||
subdirectories, remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
|
||||
* Makefile.am: remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
|
||||
* ChangeLog: Fix typos.
|
||||
|
||||
2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add tests to the GNU canonicalized subdirectories.
|
||||
|
||||
2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add lib/libcpu to the GNU canonicalized subdirectories.
|
||||
|
||||
2000-10-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add lib to the GNU canonicalized subdirectories,
|
||||
make the lib directory before configuring lib/.
|
||||
|
||||
2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in, Makefile.am: add exec to the GNU canonicalized
|
||||
subdirectories.
|
||||
|
||||
2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add librtems++ to the GNU canonicalized subdirectories.
|
||||
|
||||
2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add libnetworking, librpc and librdb to the GNU
|
||||
canonicalized subdirectories.
|
||||
|
||||
2000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: add libmisc and libchip to the GNU canonicalized
|
||||
subdirectories.
|
||||
|
||||
2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am, acinclude.m4, configure.in: Introduce GNU
|
||||
canonicalization to libfs/.
|
||||
The approach is currently a bit of a hack as GNU canonicalization
|
||||
does not support the per-BSP build some of the other directories
|
||||
require. As more of the tree is converted, this will become less
|
||||
of an issue.
|
||||
|
||||
2000-10-18 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* wrapup/Makefile.am: Added libfs.
|
||||
|
||||
2000-10-18 Chris Johns <ccj@acm.org>
|
||||
|
||||
* libfs created.
|
||||
* configure.in: Added libfs subdirectory.
|
||||
|
||||
2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Add RTEMS_PROG_CC_FOR_TARGET,
|
||||
RTEMS_CANONICALIZE_TOOLS.
|
||||
|
||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* wrapup/Makefile.am: Include compile.am.
|
||||
|
||||
2000-08-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.in: Add lib/libcpu and lib/libbsp to cfg_subdirs.
|
||||
|
||||
2000-08-10 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ChangeLog: New file.
|
||||
@@ -2,41 +2,22 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../../aclocal
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
SUBDIRS = . @BSP_SUBDIRS@
|
||||
SUBDIRS = @cfg_subdirs@ wrapup tests
|
||||
|
||||
clean-local:
|
||||
$(RM) -r $(PROJECT_RELEASE)
|
||||
rtems_bspdir = $(prefix)/@RTEMS_BSP@
|
||||
|
||||
make/@RTEMS_BSP@.cache: make/bsp.mak @CUSTOM_CFG_FILES@
|
||||
$(RM) make/@RTEMS_BSP@.cache
|
||||
$(MAKE) -f ${srcdir}/make/bsp.mak \
|
||||
'RTEMS_BSP=@RTEMS_BSP@' 'RTEMS_HOST=@RTEMS_HOST@' 'RTEMS_ROOT=.' 'BARE_CPU_MODEL=${BARE_CPU_MODEL}' \
|
||||
make/@RTEMS_BSP@.cache
|
||||
# NOTE: The wildcard on the install should pick up everything except
|
||||
# the tests directory. This significantly minimizes the install size.
|
||||
install-data-local:
|
||||
$(mkinstalldirs) $(rtems_bspdir)
|
||||
cd $(PROJECT_ROOT); \
|
||||
tar cf - @RTEMS_BSP@/[bilsuM]* | (cd $(DESTDIR)$(prefix); tar xpBf - );
|
||||
|
||||
noinst_DATA = make/@RTEMS_BSP@.cache
|
||||
DISTCLEANFILES = make/@RTEMS_BSP@.cache
|
||||
|
||||
rtems_makedir = $(prefix)/make
|
||||
rtems_make_customdir = $(rtems_makedir)/custom
|
||||
rtems_make_custom_DATA = @CUSTOM_CFG_FILES@
|
||||
|
||||
make/custom/default.cfg: $(srcdir)/make/custom/default.cfg.in
|
||||
cp $< $@
|
||||
|
||||
make/custom/%.cfg: $(srcdir)/$(cfg_dir)/custom/%.cfg
|
||||
cp $< $@
|
||||
|
||||
noinst_DATA += make/custom/default.cfg
|
||||
DISTCLEANFILES += make/custom/default.cfg
|
||||
|
||||
noinst_DATA += preinstall-stamp
|
||||
|
||||
preinstall-stamp:
|
||||
$(MAKE) $(AM_MAKEFLAGS) preinstall
|
||||
touch preinstall-stamp
|
||||
CLEANFILES = preinstall-stamp
|
||||
uninstall-local:
|
||||
rm -rf $(rtems_bspdir)/[bsl]*;
|
||||
|
||||
include $(top_srcdir)/../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../automake/host.am
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# $Id$
|
||||
#
|
||||
# Some hacks for handling special config subdirectories
|
||||
#
|
||||
# Note: Consider this file a temporary band-aid until a better, more general
|
||||
# subdirectory handling solution is introduced to RTEMS.
|
||||
|
||||
AC_DEFUN([RTEMS_CONFIG_SUBDIR],
|
||||
[
|
||||
AC_CONFIG_COMMANDS_POST(
|
||||
[
|
||||
if test "$multilib" != "yes"; then
|
||||
ac_sub_sourcedir=$2
|
||||
ac_sub_builddir=$1
|
||||
|
||||
if test "$no_recursion" != yes; then
|
||||
RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args])
|
||||
|
||||
ac_sub_configure_args="$ac_sub_configure_args $3"
|
||||
|
||||
for ac_subdir in : $ac_sub_sourcedir; do test "x$ac_subdir" = x: && continue
|
||||
|
||||
# Do not complain, so a configure script can configure whichever
|
||||
# parts of a large source tree are present.
|
||||
test -d $srcdir/$ac_subdir || continue
|
||||
|
||||
AC_MSG_NOTICE([configuring in $ac_subdir])
|
||||
case $srcdir in
|
||||
.) ;;
|
||||
*) AS_MKDIR_P(["./$ac_sub_builddir"])
|
||||
if test -d ./$ac_sub_builddir; then :;
|
||||
else
|
||||
AC_MSG_ERROR([cannot create `pwd`/$ac_sub_builddir])
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
ac_popdir=`pwd`
|
||||
cd $ac_sub_builddir
|
||||
|
||||
# A "../" for each directory in /$ac_subdir.
|
||||
ac_dots=`echo $ac_sub_builddir |
|
||||
sed 's,^\./,,;s,[[^/]]$,&/,;s,[[^/]]*/,../,g'`
|
||||
|
||||
case $srcdir in
|
||||
.) # No --srcdir option. We are building in place.
|
||||
ac_sub_srcdir=$srcdir${ac_subdir} ;;
|
||||
[[\\/]]* | ?:[[\\/]]* ) # Absolute path.
|
||||
ac_sub_srcdir=$srcdir/$ac_subdir ;;
|
||||
*) # Relative path.
|
||||
ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
|
||||
esac
|
||||
|
||||
# Check for guested configure; otherwise get Cygnus style configure.
|
||||
if test -f $ac_sub_srcdir/configure.gnu; then
|
||||
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure.gnu'"
|
||||
elif test -f $ac_sub_srcdir/configure; then
|
||||
ac_sub_configure="$SHELL '$ac_sub_srcdir/configure'"
|
||||
elif test -f $ac_sub_srcdir/configure.in; then
|
||||
ac_sub_configure=$ac_configure
|
||||
else
|
||||
AC_MSG_WARN([no configuration information is in $ac_subdir])
|
||||
ac_sub_configure=
|
||||
fi
|
||||
|
||||
# The recursion is here.
|
||||
if test -n "$ac_sub_configure"; then
|
||||
# Make the cache file name correct relative to the subdirectory.
|
||||
case $cache_file in
|
||||
[[\\/]]* | ?:[[\\/]]* ) ac_sub_cache_file=$cache_file ;;
|
||||
*) # Relative path.
|
||||
ac_sub_cache_file=$ac_dots$cache_file ;;
|
||||
esac
|
||||
|
||||
AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir])
|
||||
# The eval makes quoting arguments work.
|
||||
eval $ac_sub_configure $ac_sub_configure_args \
|
||||
--cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
|
||||
AC_MSG_ERROR([$ac_sub_configure failed for $ac_subdir])
|
||||
fi
|
||||
|
||||
cd $ac_popdir
|
||||
done
|
||||
fi
|
||||
fi
|
||||
])
|
||||
])
|
||||
@@ -1,7 +0,0 @@
|
||||
aclocal*
|
||||
autom4te.*
|
||||
autom4te*.cache
|
||||
config.*
|
||||
configure
|
||||
Makefile
|
||||
Makefile.in
|
||||
@@ -1,871 +0,0 @@
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_sp/base_sp.adb, samples/base_sp/config.h,
|
||||
samples/base_sp/sptest.adb, samples/base_sp/sptest.ads,
|
||||
samples/hello/config.h, samples/hello/hello.adb,
|
||||
samples/hello/sptest.adb, samples/hello/sptest.ads,
|
||||
samples/ticker/config.h, samples/ticker/sptest.adb,
|
||||
samples/ticker/sptest.ads, samples/ticker/ticker.adb,
|
||||
sptests/sp01/config.h, sptests/sp01/sp01.adb,
|
||||
sptests/sp01/sptest.adb, sptests/sp01/sptest.ads,
|
||||
sptests/sp02/config.h, sptests/sp02/sp02.adb,
|
||||
sptests/sp02/sptest.adb, sptests/sp02/sptest.ads,
|
||||
sptests/sp03/config.h, sptests/sp03/sp03.adb,
|
||||
sptests/sp03/sptest.adb, sptests/sp03/sptest.ads,
|
||||
sptests/sp04/config.h, sptests/sp04/sp04.adb,
|
||||
sptests/sp04/sptest.adb, sptests/sp04/sptest.ads,
|
||||
sptests/sp05/config.h, sptests/sp05/sp05.adb,
|
||||
sptests/sp05/sptest.adb, sptests/sp05/sptest.ads,
|
||||
sptests/sp06/config.h, sptests/sp06/sp06.adb,
|
||||
sptests/sp06/sptest.adb, sptests/sp06/sptest.ads,
|
||||
sptests/sp07/config.h, sptests/sp07/sp07.adb,
|
||||
sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
|
||||
sptests/sp08/config.h, sptests/sp08/sp08.adb,
|
||||
sptests/sp08/sptest.adb, sptests/sp08/sptest.ads,
|
||||
sptests/sp09/config.h, sptests/sp09/sp09.adb,
|
||||
sptests/sp09/sptest.adb, sptests/sp09/sptest.ads,
|
||||
sptests/sp11/config.h, sptests/sp11/sp11.adb,
|
||||
sptests/sp11/sptest.adb, sptests/sp11/sptest.ads,
|
||||
sptests/sp12/config.h, sptests/sp12/sp12.adb,
|
||||
sptests/sp12/sptest.adb, sptests/sp12/sptest.ads,
|
||||
sptests/sp13/config.h, sptests/sp13/sp13.adb,
|
||||
sptests/sp13/sptest.adb, sptests/sp13/sptest.ads,
|
||||
sptests/sp14/config.h, sptests/sp14/sp14.adb,
|
||||
sptests/sp14/sptest.adb, sptests/sp14/sptest.ads,
|
||||
sptests/sp15/config.h, sptests/sp15/sp15.adb,
|
||||
sptests/sp15/sptest.adb, sptests/sp15/sptest.ads,
|
||||
sptests/sp16/config.h, sptests/sp16/sp16.adb,
|
||||
sptests/sp16/sptest.adb, sptests/sp16/sptest.ads,
|
||||
sptests/sp17/config.h, sptests/sp17/sp17.adb,
|
||||
sptests/sp17/sptest.adb, sptests/sp17/sptest.ads,
|
||||
sptests/sp19/config.h, sptests/sp19/sp19.adb,
|
||||
sptests/sp19/sptest.ads, sptests/sp20/config.h,
|
||||
sptests/sp20/sp20.adb, sptests/sp20/sptest.adb,
|
||||
sptests/sp20/sptest.ads, sptests/sp21/config.h,
|
||||
sptests/sp21/sp21.adb, sptests/sp21/sptest.adb,
|
||||
sptests/sp21/sptest.ads, sptests/sp22/config.h,
|
||||
sptests/sp22/sp22.adb, sptests/sp22/sptest.adb,
|
||||
sptests/sp22/sptest.ads, sptests/sp23/config.h,
|
||||
sptests/sp23/sp23.adb, sptests/sp23/sptest.adb,
|
||||
sptests/sp23/sptest.ads, sptests/sp24/config.h,
|
||||
sptests/sp24/sp24.adb, sptests/sp24/sptest.adb,
|
||||
sptests/sp24/sptest.ads, sptests/sp25/config.h,
|
||||
sptests/sp25/sp25.adb, sptests/sp25/sptest.adb,
|
||||
sptests/sp25/sptest.ads, sptests/spsize/spsize.adb,
|
||||
sptests/spsize/sptest.adb, sptests/spsize/sptest.ads,
|
||||
support/address_io.adb, support/address_io.ads, support/float_io.ads,
|
||||
support/fp.inc, support/integer.inc,
|
||||
support/rtems_calling_overhead.ads, support/status_io.ads,
|
||||
support/test_support.adb, support/test_support.ads,
|
||||
support/time_test_support.adb, support/time_test_support.ads,
|
||||
support/timer_driver.adb, support/timer_driver.ads,
|
||||
support/unsigned32_io.ads, tmtests/tm01/config.h,
|
||||
tmtests/tm01/tm01.adb, tmtests/tm01/tmtest.adb,
|
||||
tmtests/tm01/tmtest.ads, tmtests/tm02/config.h,
|
||||
tmtests/tm02/tm02.adb, tmtests/tm02/tmtest.adb,
|
||||
tmtests/tm02/tmtest.ads, tmtests/tm03/config.h,
|
||||
tmtests/tm03/tm03.adb, tmtests/tm03/tmtest.adb,
|
||||
tmtests/tm03/tmtest.ads, tmtests/tm04/config.h,
|
||||
tmtests/tm04/tm04.adb, tmtests/tm04/tmtest.adb,
|
||||
tmtests/tm04/tmtest.ads, tmtests/tm05/config.h,
|
||||
tmtests/tm05/tm05.adb, tmtests/tm05/tmtest.adb,
|
||||
tmtests/tm05/tmtest.ads, tmtests/tm06/config.h,
|
||||
tmtests/tm06/tm06.adb, tmtests/tm06/tmtest.adb,
|
||||
tmtests/tm06/tmtest.ads, tmtests/tm07/config.h,
|
||||
tmtests/tm07/tm07.adb, tmtests/tm07/tmtest.adb,
|
||||
tmtests/tm07/tmtest.ads, tmtests/tm08/config.h,
|
||||
tmtests/tm08/tm08.adb, tmtests/tm08/tmtest.adb,
|
||||
tmtests/tm08/tmtest.ads, tmtests/tm09/config.h,
|
||||
tmtests/tm09/tm09.adb, tmtests/tm09/tmtest.adb,
|
||||
tmtests/tm09/tmtest.ads, tmtests/tm10/config.h,
|
||||
tmtests/tm10/tm10.adb, tmtests/tm10/tmtest.adb,
|
||||
tmtests/tm10/tmtest.ads, tmtests/tm11/config.h,
|
||||
tmtests/tm11/tm11.adb, tmtests/tm11/tmtest.adb,
|
||||
tmtests/tm11/tmtest.ads, tmtests/tm12/config.h,
|
||||
tmtests/tm12/tm12.adb, tmtests/tm12/tmtest.adb,
|
||||
tmtests/tm12/tmtest.ads, tmtests/tm13/config.h,
|
||||
tmtests/tm13/tm13.adb, tmtests/tm13/tmtest.adb,
|
||||
tmtests/tm13/tmtest.ads, tmtests/tm14/config.h,
|
||||
tmtests/tm14/tm14.adb, tmtests/tm14/tmtest.adb,
|
||||
tmtests/tm14/tmtest.ads, tmtests/tm15/config.h,
|
||||
tmtests/tm15/tm15.adb, tmtests/tm15/tmtest.adb,
|
||||
tmtests/tm15/tmtest.ads, tmtests/tm16/config.h,
|
||||
tmtests/tm16/tm16.adb, tmtests/tm16/tmtest.adb,
|
||||
tmtests/tm16/tmtest.ads, tmtests/tm17/config.h,
|
||||
tmtests/tm17/tm17.adb, tmtests/tm17/tmtest.adb,
|
||||
tmtests/tm17/tmtest.ads, tmtests/tm18/config.h,
|
||||
tmtests/tm18/tm18.adb, tmtests/tm18/tmtest.adb,
|
||||
tmtests/tm18/tmtest.ads, tmtests/tm19/config.h,
|
||||
tmtests/tm19/tm19.adb, tmtests/tm19/tmtest.adb,
|
||||
tmtests/tm19/tmtest.ads, tmtests/tm20/config.h,
|
||||
tmtests/tm20/tm20.adb, tmtests/tm20/tmtest.adb,
|
||||
tmtests/tm20/tmtest.ads, tmtests/tm21/config.h,
|
||||
tmtests/tm21/tm21.adb, tmtests/tm21/tmtest.adb,
|
||||
tmtests/tm21/tmtest.ads, tmtests/tm22/config.h,
|
||||
tmtests/tm22/tm22.adb, tmtests/tm22/tmtest.adb,
|
||||
tmtests/tm22/tmtest.ads, tmtests/tm23/config.h,
|
||||
tmtests/tm23/tm23.adb, tmtests/tm23/tmtest.adb,
|
||||
tmtests/tm23/tmtest.ads, tmtests/tm24/config.h,
|
||||
tmtests/tm24/tm24.adb, tmtests/tm24/tmtest.adb,
|
||||
tmtests/tm24/tmtest.ads, tmtests/tm25/config.h,
|
||||
tmtests/tm25/tm25.adb, tmtests/tm25/tmtest.adb,
|
||||
tmtests/tm25/tmtest.ads, tmtests/tm28/config.h,
|
||||
tmtests/tm28/tm28.adb, tmtests/tm28/tmtest.adb,
|
||||
tmtests/tm28/tmtest.ads, tmtests/tm29/config.h,
|
||||
tmtests/tm29/tm29.adb, tmtests/tm29/tmtest.adb,
|
||||
tmtests/tm29/tmtest.ads, tmtests/tmck/config.h,
|
||||
tmtests/tmck/tmck.adb, tmtests/tmck/tmtest.adb,
|
||||
tmtests/tmck/tmtest.ads, tmtests/tmoverhd/config.h,
|
||||
tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
|
||||
tmtests/tmoverhd/tmoverhd.adb, tmtests/tmoverhd/tmtest.adb,
|
||||
tmtests/tmoverhd/tmtest.ads: URL for license changed.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* sptests/sp19/sptest.adp, support/init.c: Removed incorrect statement
|
||||
about copyright assignment.
|
||||
|
||||
2003-09-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_sp/base_sp.adb, samples/base_sp/config.h,
|
||||
samples/base_sp/sptest.adb, samples/base_sp/sptest.ads,
|
||||
samples/hello/config.h, samples/hello/hello.adb,
|
||||
samples/hello/sptest.adb, samples/hello/sptest.ads,
|
||||
samples/ticker/config.h, samples/ticker/sptest.adb,
|
||||
samples/ticker/sptest.ads, samples/ticker/ticker.adb,
|
||||
sptests/sp01/config.h, sptests/sp01/sp01.adb,
|
||||
sptests/sp01/sptest.adb, sptests/sp01/sptest.ads,
|
||||
sptests/sp02/config.h, sptests/sp02/sp02.adb,
|
||||
sptests/sp02/sptest.adb, sptests/sp02/sptest.ads,
|
||||
sptests/sp03/config.h, sptests/sp03/sp03.adb,
|
||||
sptests/sp03/sptest.adb, sptests/sp03/sptest.ads,
|
||||
sptests/sp04/config.h, sptests/sp04/sp04.adb,
|
||||
sptests/sp04/sptest.adb, sptests/sp04/sptest.ads,
|
||||
sptests/sp05/config.h, sptests/sp05/sp05.adb,
|
||||
sptests/sp05/sptest.adb, sptests/sp05/sptest.ads,
|
||||
sptests/sp06/config.h, sptests/sp06/sp06.adb,
|
||||
sptests/sp06/sptest.adb, sptests/sp06/sptest.ads,
|
||||
sptests/sp07/config.h, sptests/sp07/sp07.adb,
|
||||
sptests/sp07/sptest.adb, sptests/sp07/sptest.ads,
|
||||
sptests/sp08/config.h, sptests/sp08/sp08.adb,
|
||||
sptests/sp08/sptest.adb, sptests/sp08/sptest.ads,
|
||||
sptests/sp09/config.h, sptests/sp09/sp09.adb,
|
||||
sptests/sp09/sptest.adb, sptests/sp09/sptest.ads,
|
||||
sptests/sp11/config.h, sptests/sp11/sp11.adb,
|
||||
sptests/sp11/sptest.adb, sptests/sp11/sptest.ads,
|
||||
sptests/sp12/config.h, sptests/sp12/sp12.adb,
|
||||
sptests/sp12/sptest.adb, sptests/sp12/sptest.ads,
|
||||
sptests/sp13/config.h, sptests/sp13/sp13.adb,
|
||||
sptests/sp13/sptest.adb, sptests/sp13/sptest.ads,
|
||||
sptests/sp14/config.h, sptests/sp14/sp14.adb,
|
||||
sptests/sp14/sptest.adb, sptests/sp14/sptest.ads,
|
||||
sptests/sp15/config.h, sptests/sp15/sp15.adb,
|
||||
sptests/sp15/sptest.adb, sptests/sp15/sptest.ads,
|
||||
sptests/sp16/config.h, sptests/sp16/sp16.adb,
|
||||
sptests/sp16/sptest.adb, sptests/sp16/sptest.ads,
|
||||
sptests/sp17/config.h, sptests/sp17/sp17.adb,
|
||||
sptests/sp17/sptest.adb, sptests/sp17/sptest.ads,
|
||||
sptests/sp19/config.h, sptests/sp19/sp19.adb,
|
||||
sptests/sp19/sptest.adp, sptests/sp19/sptest.ads,
|
||||
sptests/sp20/config.h, sptests/sp20/sp20.adb,
|
||||
sptests/sp20/sptest.adb, sptests/sp20/sptest.ads,
|
||||
sptests/sp21/config.h, sptests/sp21/sp21.adb,
|
||||
sptests/sp21/sptest.adb, sptests/sp21/sptest.ads,
|
||||
sptests/sp22/config.h, sptests/sp22/sp22.adb,
|
||||
sptests/sp22/sptest.adb, sptests/sp22/sptest.ads,
|
||||
sptests/sp23/config.h, sptests/sp23/sp23.adb,
|
||||
sptests/sp23/sptest.adb, sptests/sp23/sptest.ads,
|
||||
sptests/sp24/config.h, sptests/sp24/sp24.adb,
|
||||
sptests/sp24/sptest.adb, sptests/sp24/sptest.ads,
|
||||
sptests/sp25/config.h, sptests/sp25/sp25.adb,
|
||||
sptests/sp25/sptest.adb, sptests/sp25/sptest.ads,
|
||||
sptests/spsize/spsize.adb, sptests/spsize/sptest.adb,
|
||||
sptests/spsize/sptest.ads, support/address_io.adb,
|
||||
support/address_io.ads, support/float_io.ads, support/fp.inc,
|
||||
support/init.c, support/integer.inc,
|
||||
support/rtems_calling_overhead.ads, support/status_io.ads,
|
||||
support/test_support.adb, support/test_support.ads,
|
||||
support/time_test_support.adb, support/time_test_support.ads,
|
||||
support/timer_driver.adb, support/timer_driver.ads,
|
||||
support/unsigned32_io.ads, tmtests/tm01/config.h,
|
||||
tmtests/tm01/tm01.adb, tmtests/tm01/tmtest.adb,
|
||||
tmtests/tm01/tmtest.ads, tmtests/tm02/config.h,
|
||||
tmtests/tm02/tm02.adb, tmtests/tm02/tmtest.adb,
|
||||
tmtests/tm02/tmtest.ads, tmtests/tm03/config.h,
|
||||
tmtests/tm03/tm03.adb, tmtests/tm03/tmtest.adb,
|
||||
tmtests/tm03/tmtest.ads, tmtests/tm04/config.h,
|
||||
tmtests/tm04/tm04.adb, tmtests/tm04/tmtest.adb,
|
||||
tmtests/tm04/tmtest.ads, tmtests/tm05/config.h,
|
||||
tmtests/tm05/tm05.adb, tmtests/tm05/tmtest.adb,
|
||||
tmtests/tm05/tmtest.ads, tmtests/tm06/config.h,
|
||||
tmtests/tm06/tm06.adb, tmtests/tm06/tmtest.adb,
|
||||
tmtests/tm06/tmtest.ads, tmtests/tm07/config.h,
|
||||
tmtests/tm07/tm07.adb, tmtests/tm07/tmtest.adb,
|
||||
tmtests/tm07/tmtest.ads, tmtests/tm08/config.h,
|
||||
tmtests/tm08/tm08.adb, tmtests/tm08/tmtest.adb,
|
||||
tmtests/tm08/tmtest.ads, tmtests/tm09/config.h,
|
||||
tmtests/tm09/tm09.adb, tmtests/tm09/tmtest.adb,
|
||||
tmtests/tm09/tmtest.ads, tmtests/tm10/config.h,
|
||||
tmtests/tm10/tm10.adb, tmtests/tm10/tmtest.adb,
|
||||
tmtests/tm10/tmtest.ads, tmtests/tm11/config.h,
|
||||
tmtests/tm11/tm11.adb, tmtests/tm11/tmtest.adb,
|
||||
tmtests/tm11/tmtest.ads, tmtests/tm12/config.h,
|
||||
tmtests/tm12/tm12.adb, tmtests/tm12/tmtest.adb,
|
||||
tmtests/tm12/tmtest.ads, tmtests/tm13/config.h,
|
||||
tmtests/tm13/tm13.adb, tmtests/tm13/tmtest.adb,
|
||||
tmtests/tm13/tmtest.ads, tmtests/tm14/config.h,
|
||||
tmtests/tm14/tm14.adb, tmtests/tm14/tmtest.adb,
|
||||
tmtests/tm14/tmtest.ads, tmtests/tm15/config.h,
|
||||
tmtests/tm15/tm15.adb, tmtests/tm15/tmtest.adb,
|
||||
tmtests/tm15/tmtest.ads, tmtests/tm16/config.h,
|
||||
tmtests/tm16/tm16.adb, tmtests/tm16/tmtest.adb,
|
||||
tmtests/tm16/tmtest.ads, tmtests/tm17/config.h,
|
||||
tmtests/tm17/tm17.adb, tmtests/tm17/tmtest.adb,
|
||||
tmtests/tm17/tmtest.ads, tmtests/tm18/config.h,
|
||||
tmtests/tm18/tm18.adb, tmtests/tm18/tmtest.adb,
|
||||
tmtests/tm18/tmtest.ads, tmtests/tm19/config.h,
|
||||
tmtests/tm19/tm19.adb, tmtests/tm19/tmtest.adb,
|
||||
tmtests/tm19/tmtest.ads, tmtests/tm20/config.h,
|
||||
tmtests/tm20/tm20.adb, tmtests/tm20/tmtest.adb,
|
||||
tmtests/tm20/tmtest.ads, tmtests/tm21/config.h,
|
||||
tmtests/tm21/tm21.adb, tmtests/tm21/tmtest.adb,
|
||||
tmtests/tm21/tmtest.ads, tmtests/tm22/config.h,
|
||||
tmtests/tm22/tm22.adb, tmtests/tm22/tmtest.adb,
|
||||
tmtests/tm22/tmtest.ads, tmtests/tm23/config.h,
|
||||
tmtests/tm23/tm23.adb, tmtests/tm23/tmtest.adb,
|
||||
tmtests/tm23/tmtest.ads, tmtests/tm24/config.h,
|
||||
tmtests/tm24/tm24.adb, tmtests/tm24/tmtest.adb,
|
||||
tmtests/tm24/tmtest.ads, tmtests/tm25/config.h,
|
||||
tmtests/tm25/tm25.adb, tmtests/tm25/tmtest.adb,
|
||||
tmtests/tm25/tmtest.ads, tmtests/tm28/config.h,
|
||||
tmtests/tm28/tm28.adb, tmtests/tm28/tmtest.adb,
|
||||
tmtests/tm28/tmtest.ads, tmtests/tm29/config.h,
|
||||
tmtests/tm29/tm29.adb, tmtests/tm29/tmtest.adb,
|
||||
tmtests/tm29/tmtest.ads, tmtests/tmck/config.h,
|
||||
tmtests/tmck/tmck.adb, tmtests/tmck/tmtest.adb,
|
||||
tmtests/tmck/tmtest.ads, tmtests/tmoverhd/config.h,
|
||||
tmtests/tmoverhd/dummy_rtems.adb, tmtests/tmoverhd/dummy_rtems.ads,
|
||||
tmtests/tmoverhd/tmoverhd.adb, tmtests/tmoverhd/tmtest.adb,
|
||||
tmtests/tmoverhd/tmtest.ads: Removed incorrect statement about
|
||||
copyright assignment.
|
||||
|
||||
2003-08-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Use rtems-bugs@rtems.com as bug report email address.
|
||||
|
||||
2003-07-18 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 426/ada
|
||||
* configure.ac, samples/Makefile.am: Remove base_mp from 4.6 branch.
|
||||
* samples/base_mp/.cvsignore, samples/base_mp/Makefile.am,
|
||||
samples/base_mp/config.h, samples/base_mp/mptest.adb,
|
||||
samples/base_mp/mptest.ads, samples/base_mp/node1/.cvsignore,
|
||||
samples/base_mp/node1/Makefile.am, samples/base_mp/node1/base_mp.scn,
|
||||
samples/base_mp/node2/.cvsignore, samples/base_mp/node2/Makefile.am,
|
||||
samples/base_mp/node2/base_mp.scn: Removed.
|
||||
|
||||
2003-07-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
PR 425/ada
|
||||
* Makefile.am, configure.ac, sptests/Makefile.am: Remove all Ada tests
|
||||
that do not build from 4.6 branch.
|
||||
* mptests/.cvsignore, mptests/Makefile.am, mptests/mp01/.cvsignore,
|
||||
mptests/mp01/Makefile.am, mptests/mp01/config.h,
|
||||
mptests/mp01/mp01.adb, mptests/mp01/mptest.adb,
|
||||
mptests/mp01/mptest.ads, mptests/mp01/node1/.cvsignore,
|
||||
mptests/mp01/node1/Makefile.am, mptests/mp01/node1/mp01.scn,
|
||||
mptests/mp01/node2/.cvsignore, mptests/mp01/node2/Makefile.am,
|
||||
mptests/mp01/node2/mp01.scn, mptests/mp02/.cvsignore,
|
||||
mptests/mp02/mptest.adb, mptests/mp02/mptest.ads,
|
||||
mptests/mp02/node1/.cvsignore, mptests/mp02/node1/mp02.scn,
|
||||
mptests/mp02/node2/.cvsignore, mptests/mp02/node2/mp02.scn,
|
||||
mptests/mp03/.cvsignore, mptests/mp03/mptest.adb,
|
||||
mptests/mp03/mptest.ads, mptests/mp03/node1/.cvsignore,
|
||||
mptests/mp03/node1/mp03.scn, mptests/mp03/node2/.cvsignore,
|
||||
mptests/mp03/node2/mp03.scn, mptests/mp04/.cvsignore,
|
||||
mptests/mp04/mptest.adb, mptests/mp04/mptest.ads,
|
||||
mptests/mp04/node1/.cvsignore, mptests/mp04/node1/mp04.scn,
|
||||
mptests/mp04/node2/.cvsignore, mptests/mp04/node2/mp04.scn,
|
||||
mptests/mp05/.cvsignore, mptests/mp05/mptest.adb,
|
||||
mptests/mp05/mptest.ads, mptests/mp05/node1/.cvsignore,
|
||||
mptests/mp05/node1/mp05.scn, mptests/mp05/node2/.cvsignore,
|
||||
mptests/mp05/node2/mp05.scn, mptests/mp06/.cvsignore,
|
||||
mptests/mp06/mptest.adb, mptests/mp06/mptest.ads,
|
||||
mptests/mp06/node1/.cvsignore, mptests/mp06/node1/mp06.scn,
|
||||
mptests/mp06/node2/.cvsignore, mptests/mp06/node2/mp06.scn,
|
||||
mptests/mp07/.cvsignore, mptests/mp07/mptest.adb,
|
||||
mptests/mp07/mptest.ads, mptests/mp07/node1/.cvsignore,
|
||||
mptests/mp07/node1/mp07.scn, mptests/mp07/node2/.cvsignore,
|
||||
mptests/mp07/node2/mp07.scn, mptests/mp08/.cvsignore,
|
||||
mptests/mp08/mptest.adb, mptests/mp08/mptest.ads,
|
||||
mptests/mp08/node1/.cvsignore, mptests/mp08/node1/mp08.scn,
|
||||
mptests/mp08/node2/.cvsignore, mptests/mp08/node2/mp08.scn,
|
||||
mptests/mp09/.cvsignore, mptests/mp09/mptest.adb,
|
||||
mptests/mp09/mptest.ads, mptests/mp09/node1/.cvsignore,
|
||||
mptests/mp09/node1/mp09.scn, mptests/mp09/node2/.cvsignore,
|
||||
mptests/mp09/node2/mp09.scn, mptests/mp10/.cvsignore,
|
||||
mptests/mp10/mptest.adb, mptests/mp10/mptest.ads,
|
||||
mptests/mp10/node1/.cvsignore, mptests/mp10/node1/mp10.scn,
|
||||
mptests/mp10/node2/.cvsignore, mptests/mp10/node2/mp10.scn,
|
||||
mptests/mp11/.cvsignore, mptests/mp11/mptest.adb,
|
||||
mptests/mp11/mptest.ads, mptests/mp11/node1/.cvsignore,
|
||||
mptests/mp11/node1/mp11.scn, mptests/mp11/node2/.cvsignore,
|
||||
mptests/mp11/node2/mp11.scn, mptests/mp12/.cvsignore,
|
||||
mptests/mp12/mptest.adb, mptests/mp12/mptest.ads,
|
||||
mptests/mp12/node1/.cvsignore, mptests/mp12/node1/mp12.scn,
|
||||
mptests/mp12/node2/.cvsignore, mptests/mp12/node2/mp12.scn,
|
||||
mptests/mp13/.cvsignore, mptests/mp13/mptest.adb,
|
||||
mptests/mp13/mptest.ads, mptests/mp13/node1/.cvsignore,
|
||||
mptests/mp13/node1/mp13.scn, mptests/mp13/node2/.cvsignore,
|
||||
mptests/mp13/node2/mp13.scn, mptests/mp14/.cvsignore,
|
||||
mptests/mp14/mptest.adb, mptests/mp14/mptest.ads,
|
||||
mptests/mp14/node1/.cvsignore, mptests/mp14/node1/mp14.scn,
|
||||
mptests/mp14/node2/.cvsignore, mptests/mp14/node2/mp14.scn: Removed.
|
||||
|
||||
2003-07-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* ada.am: Add .adp to SUFFIXES.
|
||||
Remove c-compilation rule.
|
||||
* samples/base_sp/Makefile.am: Add init.$(OBJEXT).
|
||||
* samples/hello/Makefile.am: Add init.$(OBJEXT).
|
||||
* samples/ticker/Makefile.am: Add init.$(OBJEXT).
|
||||
* samples/ticker/Makefile.am: Remove VPATH.
|
||||
* sptests/sp01/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp01/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp01/Makefile.am: Remove VPATH.
|
||||
* sptests/sp02/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp02/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp03/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp03/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp04/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp04/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp04/Makefile.am: Remove EXPADA.
|
||||
* sptests/sp04/Makefile.am: Remove VPATH.
|
||||
* sptests/sp05/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp05/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp06/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp06/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp07/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp07/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp07/Makefile.am: Remove EXPADA.
|
||||
* sptests/sp08/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp08/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp09/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp09/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp11/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp11/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp12/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp12/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp13/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp13/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp14/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp14/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp15/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp15/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp16/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp16/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp17/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp17/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp19/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp19/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp20/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp20/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp21/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp21/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp22/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp22/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp23/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp23/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp24/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp24/Makefile.am: Don't include */lib.am.
|
||||
* sptests/sp25/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/sp25/Makefile.am: Don't include */lib.am.
|
||||
* sptests/spsize/Makefile.am: Add init.$(OBJEXT).
|
||||
* sptests/spsize/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm01/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm01/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm02/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm02/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm03/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm03/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm04/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm04/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm05/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm05/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm06/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm06/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm07/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm07/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm08/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm08/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm09/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm09/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm10/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm10/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm11/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm11/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm12/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm12/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm13/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm13/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm14/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm14/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm15/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm15/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm16/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm16/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm17/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm17/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm18/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm18/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm19/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm19/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm20/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm20/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm21/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm21/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm22/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm22/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm23/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm23/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm24/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm24/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm25/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm25/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm28/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm28/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tm29/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tm29/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tmck/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tmck/Makefile.am: Don't include */lib.am.
|
||||
* tmtests/tmoverhd/Makefile.am: Add init.$(OBJEXT).
|
||||
* tmtests/tmoverhd/Makefile.am: Don't include */lib.am.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
||||
|
||||
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: AC_PREREQ(2.57).
|
||||
|
||||
2003-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* ada.am, samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
|
||||
sptests/sp01/config.h, sptests/sp04/Makefile.am,
|
||||
sptests/sp04/config.h, support/init.c: Modified build rules slightly
|
||||
so gnat_main is used as the Ada main entry point. Modified
|
||||
sp01 and sp04 Makefile.am's to compile and link with init.o.
|
||||
The test config.h's specified the Ada application requirements -- not
|
||||
the Classic API ones.
|
||||
|
||||
2003-01-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac, samples/Makefile.am: Do not configure
|
||||
them unless multiprocessing is enabled.
|
||||
|
||||
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.
|
||||
|
||||
2002-10-24 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/hello/config.h: Change CONFIGURE_SPTEST to
|
||||
CONFIGURE_APPLICATION to reflect current usage.
|
||||
* support/init.c: Include stdlib.h not unistd.h to remove warning.
|
||||
|
||||
2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Reformat.
|
||||
Add autom4te*cache.
|
||||
Remove autom4te.cache.
|
||||
|
||||
2002-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* .cvsignore: Add autom4te.cache.
|
||||
|
||||
2002-09-14 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* support/init.c: Included <unistd.h> for exit(2).
|
||||
* support/test_support.adb: Eliminated warnings by commenting out
|
||||
unused variables.
|
||||
|
||||
2002-09-13 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am:
|
||||
Now appear to mostly compile.
|
||||
|
||||
2002-09-13 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/hello/Makefile.am: Make sure init.c is compiled and
|
||||
included. This test now runs.
|
||||
|
||||
2002-09-07 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_mp/config.h: New file previously missed.
|
||||
|
||||
2002-09-03 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* base_mp now builds and can be considered a bit of an example for
|
||||
the other mptests.
|
||||
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
|
||||
samples/base_mp/mptest.adb, samples/base_mp/mptest.ads,
|
||||
samples/base_mp/node1/Makefile.am, samples/base_mp/node2/Makefile.am:
|
||||
Modified to make compile.
|
||||
* mptests/mp01/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp01/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp02/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp02/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp03/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp03/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp04/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp04/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp05/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp05/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp06/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp06/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp07/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp07/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp08/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp08/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp09/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp09/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp10/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp10/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp11/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp11/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp12/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp12/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp13/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp13/node2/mptest-per_node_configuration.adb,
|
||||
mptests/mp14/node1/mptest-per_node_configuration.adb,
|
||||
mptests/mp14/node2/mptest-per_node_configuration.adb,
|
||||
samples/base_mp/node1/mptest-per_node_configuration.adb,
|
||||
samples/base_mp/node2/mptest-per_node_configuration.adb: Removed
|
||||
as this information should come from config.h.
|
||||
|
||||
2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* mptests/mp01/node1/.cvsignore: New.
|
||||
* mptests/mp01/node2/.cvsignore: New.
|
||||
* mptests/mp02/node1/.cvsignore: New.
|
||||
* mptests/mp02/node2/.cvsignore: New.
|
||||
* mptests/mp03/node1/.cvsignore: New.
|
||||
* mptests/mp03/node2/.cvsignore: New.
|
||||
* mptests/mp04/node1/.cvsignore: New.
|
||||
* mptests/mp04/node2/.cvsignore: New.
|
||||
* mptests/mp05/node1/.cvsignore: New.
|
||||
* mptests/mp05/node2/.cvsignore: New.
|
||||
* mptests/mp06/node1/.cvsignore: New.
|
||||
* mptests/mp06/node2/.cvsignore: New.
|
||||
* mptests/mp07/node1/.cvsignore: New.
|
||||
* mptests/mp07/node2/.cvsignore: New.
|
||||
* mptests/mp08/node1/.cvsignore: New.
|
||||
* mptests/mp08/node2/.cvsignore: New.
|
||||
* mptests/mp09/node1/.cvsignore: New.
|
||||
* mptests/mp09/node2/.cvsignore: New.
|
||||
* mptests/mp10/node1/.cvsignore: New.
|
||||
* mptests/mp10/node2/.cvsignore: New.
|
||||
* mptests/mp11/node1/.cvsignore: New.
|
||||
* mptests/mp11/node2/.cvsignore: New.
|
||||
* mptests/mp12/node1/.cvsignore: New.
|
||||
* mptests/mp12/node2/.cvsignore: New.
|
||||
* mptests/mp13/node1/.cvsignore: New.
|
||||
* mptests/mp13/node2/.cvsignore: New.
|
||||
* mptests/mp14/node1/.cvsignore: New.
|
||||
* mptests/mp14/node2/.cvsignore: New.
|
||||
* samples/base_mp/node1/.cvsignore: New.
|
||||
* samples/base_mp/node2/.cvsignore: New.
|
||||
|
||||
2002-09-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* mptests/Makefile.am: New.
|
||||
* mptests/mp01/Makefile.am: New.
|
||||
* mptests/mp01/node1/Makefile.am: New.
|
||||
* mptests/mp01/node2/Makefile.am: New.
|
||||
* samples/base_mp/Makefile.am: Comment out building mptest$(EXEEXT).
|
||||
* samples/base_mp/node1/Makefile.am: New.
|
||||
* samples/base_mp/node2/Makefile.am: New.
|
||||
* configure.ac: Add mptests/mp01. Add samples/base_mp.
|
||||
|
||||
2002-08-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* tmtests/tm20/Makefile.am: Remove EXPADA.
|
||||
|
||||
2002-08-30 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_mp/mptest.ads: Removed lingering reference to BSP_MPCI.
|
||||
|
||||
2002-08-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* samples/base_mp/.cvsignore: New file.
|
||||
|
||||
2002-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/sp09/Makefile.am: Remove EXPADA.
|
||||
* sptests/sp09/sptest.adb: Remove RESULT from SCREEN_13.
|
||||
* sptests/sp19/Makefile.am: Remove EXPADA.
|
||||
* sptests/sp21/Makefile.am: Remove EXPADA.
|
||||
* sptests/sp21/sptest.adb: Remove RESULT from TASK_1.
|
||||
* tmtests/tmoverhd/dummy_rtems.adb: Reflect changes to IO_Managers.
|
||||
* tmtests/tmoverhd/dummy_rtems.ads: Reflect changes to IO_Managers.
|
||||
|
||||
2002-08-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* tmtests/tm20/tmtest.adb, tmtests/tmoverhd/tmtest.adb: Fixed
|
||||
call to RTEMS IO Manager services.
|
||||
|
||||
2002-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/sp19/sptest.adp: Fix include paths.
|
||||
|
||||
2002-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/sp19/sptest.adb: Remove.
|
||||
* sptests/sp19/Makefile.am: Let m4 generate sptests.adb from
|
||||
sptests.adp.
|
||||
|
||||
2002-08-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* sptests/sp21/sptest.adb: Fixed IO_Initialize invocations to
|
||||
match corrected prototype.
|
||||
|
||||
2002-08-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* sptests/sp19/sptest.adp: Added from old Ada implementation.
|
||||
|
||||
2002-08-27 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* tmtests/tm27/.cvsignore: Removed. Missed in previous attempts.
|
||||
|
||||
2002-08-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/sp09/sptest.adb: Add Result to SCREEN_13.
|
||||
Remove Status from TASK_1.
|
||||
* sptests/sp21/sptest.adb: Add Result to TASK_1.
|
||||
* tmtests/tm20/tmtest.adb: Remove various RETURN_VALUEs.
|
||||
* ada.am: Remove ADACOMPILE, ADAC. Add AM_LDFLAGS, LDFLAGS.
|
||||
* configure.ac: Check for m4. Abort if HAS_GNAT = no.
|
||||
|
||||
2002-08-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* tm27 and tm27 are irrelevant as Ada binding tests.
|
||||
* tmtests/tm26/config.h, tmtests/tm26/config.h: Removed.
|
||||
|
||||
2002-08-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* sptests/sp19/sptest.adb: Modified to follow pattern of SP01
|
||||
even though this test is not supported.
|
||||
* sptests/sp19/sp19.adb: New file.
|
||||
|
||||
2002-08-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* mptests/mp01/mptest.ads, mptests/mp02/mptest.ads,
|
||||
mptests/mp03/mptest.ads, mptests/mp04/mptest.ads,
|
||||
mptests/mp05/mptest.ads, mptests/mp06/mptest.ads,
|
||||
mptests/mp07/mptest.ads, mptests/mp08/mptest.ads,
|
||||
mptests/mp09/mptest.ads, mptests/mp10/mptest.ads,
|
||||
mptests/mp11/mptest.ads, mptests/mp12/mptest.ads,
|
||||
mptests/mp13/mptest.ads, mptests/mp14/mptest.adb,
|
||||
mptests/mp14/mptest.ads: Per PR274, identify the need for the
|
||||
BSP_MPCI package. It was a trivial dependency and eliminated.
|
||||
|
||||
2002-08-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* sptests/sp19/sp19.adb: Removed/Renamed to sptest.adb.
|
||||
* sptests/sp19/sptest.adb: Added/Renamed from sptest.adb.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/sp04/Makefile.am: Remove init.$(OBJEXT).
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Activate tmtests.
|
||||
* configure.ac: Activate tmtests.
|
||||
* samples/base_mp/Makefile.am: Add nodeX subdirs.
|
||||
* sptests/sp01/Makefile.am: Add *.scn.
|
||||
* sptests/sp02/Makefile.am: Add *.scn.
|
||||
* sptests/sp03/Makefile.am: Add *.scn.
|
||||
* sptests/sp04/Makefile.am: Add *.scn.
|
||||
* sptests/sp05/Makefile.am: Add *.scn.
|
||||
* sptests/sp06/Makefile.am: Add *.scn.
|
||||
* sptests/sp07/Makefile.am: Add *.scn.
|
||||
* sptests/sp08/Makefile.am: Add *.scn.
|
||||
* sptests/sp09/Makefile.am: Add *.scn.
|
||||
* sptests/sp11/Makefile.am: Add *.scn.
|
||||
* sptests/sp12/Makefile.am: Add *.scn.
|
||||
* sptests/sp13/Makefile.am: Add *.scn.
|
||||
* sptests/sp14/Makefile.am: Add *.scn.
|
||||
* sptests/sp15/Makefile.am: Add *.scn.
|
||||
* sptests/sp16/Makefile.am: Add *.scn.
|
||||
* sptests/sp17/Makefile.am: Add *.scn.
|
||||
* sptests/sp19/Makefile.am: Add *.scn.
|
||||
* sptests/sp20/Makefile.am: Add *.scn.
|
||||
* sptests/sp21/Makefile.am: Add *.scn.
|
||||
* sptests/sp22/Makefile.am: Add *.scn.
|
||||
* sptests/sp23/Makefile.am: Add *.scn.
|
||||
* sptests/sp24/Makefile.am: Add *.scn.
|
||||
* sptests/sp25/Makefile.am: Add *.scn.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* tmtests/Makefile.am: New.
|
||||
* tmtests/tm01/Makefile.am: New.
|
||||
* tmtests/tm02/Makefile.am: New.
|
||||
* tmtests/tm03/Makefile.am: New.
|
||||
* tmtests/tm04/Makefile.am: New.
|
||||
* tmtests/tm05/Makefile.am: New.
|
||||
* tmtests/tm06/Makefile.am: New.
|
||||
* tmtests/tm07/Makefile.am: New.
|
||||
* tmtests/tm08/Makefile.am: New.
|
||||
* tmtests/tm09/Makefile.am: New.
|
||||
* tmtests/tm10/Makefile.am: New.
|
||||
* tmtests/tm11/Makefile.am: New.
|
||||
* tmtests/tm12/Makefile.am: New.
|
||||
* tmtests/tm13/Makefile.am: New.
|
||||
* tmtests/tm14/Makefile.am: New.
|
||||
* tmtests/tm15/Makefile.am: New.
|
||||
* tmtests/tm16/Makefile.am: New.
|
||||
* tmtests/tm17/Makefile.am: New.
|
||||
* tmtests/tm18/Makefile.am: New.
|
||||
* tmtests/tm19/Makefile.am: New.
|
||||
* tmtests/tm20/Makefile.am: New.
|
||||
* tmtests/tm21/Makefile.am: New.
|
||||
* tmtests/tm22/Makefile.am: New.
|
||||
* tmtests/tm23/Makefile.am: New.
|
||||
* tmtests/tm24/Makefile.am: New.
|
||||
* tmtests/tm25/Makefile.am: New.
|
||||
* tmtests/tm26/Makefile.am: New.
|
||||
* tmtests/tm26/tmtest.adb
|
||||
* tmtests/tm27/Makefile.am: New.
|
||||
* tmtests/tm28/Makefile.am: New.
|
||||
* tmtests/tm29/Makefile.am: New.
|
||||
* tmtests/tmck/Makefile.am: New.
|
||||
* tmtests/tmoverhd/Makefile.am: New.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: New.
|
||||
* configure.ac: New.
|
||||
* ada.am: New.
|
||||
* support/Makefile.am: New.
|
||||
* samples/Makefile.am: New.
|
||||
* samples/base_mp/Makefile.am: New.
|
||||
* samples/base_sp/Makefile.am: New.
|
||||
* samples/hello/Makefile.am: New.
|
||||
* samples/ticker/Makefile.am: New.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/Makefile.am: New.
|
||||
* sptests/sp01/Makefile.am: New.
|
||||
* sptests/sp02/Makefile.am: New.
|
||||
* sptests/sp03/Makefile.am: New.
|
||||
* sptests/sp04/Makefile.am: New.
|
||||
* sptests/sp05/Makefile.am: New.
|
||||
* sptests/sp06/Makefile.am: New.
|
||||
* sptests/sp07/Makefile.am: New.
|
||||
* sptests/sp08/Makefile.am: New.
|
||||
* sptests/sp09/Makefile.am: New.
|
||||
* sptests/sp11/Makefile.am: New.
|
||||
* sptests/sp12/Makefile.am: New.
|
||||
* sptests/sp13/Makefile.am: New.
|
||||
* sptests/sp14/Makefile.am: New.
|
||||
* sptests/sp15/Makefile.am: New.
|
||||
* sptests/sp16/Makefile.am: New.
|
||||
* sptests/sp17/Makefile.am: New.
|
||||
* sptests/sp19/Makefile.am: New.
|
||||
* sptests/sp20/Makefile.am: New.
|
||||
* sptests/sp21/Makefile.am: New.
|
||||
* sptests/sp22/Makefile.am: New.
|
||||
* sptests/sp23/Makefile.am: New.
|
||||
* sptests/sp24/Makefile.am: New.
|
||||
* sptests/sp25/Makefile.am: New.
|
||||
* sptests/spsize/Makefile.am: New.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* ChangeLog: New.
|
||||
* .cvsignore: New.
|
||||
* mptests/.cvsignore: New.
|
||||
* mptests/mp01/.cvsignore: New.
|
||||
* mptests/mp02/.cvsignore: New.
|
||||
* mptests/mp03/.cvsignore: New.
|
||||
* mptests/mp04/.cvsignore: New.
|
||||
* mptests/mp05/.cvsignore: New.
|
||||
* mptests/mp06/.cvsignore: New.
|
||||
* mptests/mp07/.cvsignore: New.
|
||||
* mptests/mp08/.cvsignore: New.
|
||||
* mptests/mp09/.cvsignore: New.
|
||||
* mptests/mp10/.cvsignore: New.
|
||||
* mptests/mp11/.cvsignore: New.
|
||||
* mptests/mp12/.cvsignore: New.
|
||||
* mptests/mp13/.cvsignore: New.
|
||||
* mptests/mp14/.cvsignore: New.
|
||||
* samples/.cvsignore: New.
|
||||
* samples/base_sp/.cvsignore: New.
|
||||
* samples/hello/.cvsignore: New.
|
||||
* samples/ticker/.cvsignore: New.
|
||||
* sptests/.cvsignore: New.
|
||||
* sptests/sp01/.cvsignore: New.
|
||||
* sptests/sp02/.cvsignore: New.
|
||||
* sptests/sp03/.cvsignore: New.
|
||||
* sptests/sp04/.cvsignore: New.
|
||||
* sptests/sp05/.cvsignore: New.
|
||||
* sptests/sp06/.cvsignore: New.
|
||||
* sptests/sp07/.cvsignore: New.
|
||||
* sptests/sp08/.cvsignore: New.
|
||||
* sptests/sp09/.cvsignore: New.
|
||||
* sptests/sp11/.cvsignore: New.
|
||||
* sptests/sp12/.cvsignore: New.
|
||||
* sptests/sp13/.cvsignore: New.
|
||||
* sptests/sp14/.cvsignore: New.
|
||||
* sptests/sp15/.cvsignore: New.
|
||||
* sptests/sp16/.cvsignore: New.
|
||||
* sptests/sp17/.cvsignore: New.
|
||||
* sptests/sp19/.cvsignore: New.
|
||||
* sptests/sp20/.cvsignore: New.
|
||||
* sptests/sp21/.cvsignore: New.
|
||||
* sptests/sp22/.cvsignore: New.
|
||||
* sptests/sp23/.cvsignore: New.
|
||||
* sptests/sp24/.cvsignore: New.
|
||||
* sptests/sp25/.cvsignore: New.
|
||||
* sptests/spsize/.cvsignore: New.
|
||||
* support/.cvsignore: New.
|
||||
* tmtests/.cvsignore: New.
|
||||
* tmtests/tm01/.cvsignore: New.
|
||||
* tmtests/tm02/.cvsignore: New.
|
||||
* tmtests/tm03/.cvsignore: New.
|
||||
* tmtests/tm04/.cvsignore: New.
|
||||
* tmtests/tm05/.cvsignore: New.
|
||||
* tmtests/tm06/.cvsignore: New.
|
||||
* tmtests/tm07/.cvsignore: New.
|
||||
* tmtests/tm08/.cvsignore: New.
|
||||
* tmtests/tm09/.cvsignore: New.
|
||||
* tmtests/tm10/.cvsignore: New.
|
||||
* tmtests/tm11/.cvsignore: New.
|
||||
* tmtests/tm12/.cvsignore: New.
|
||||
* tmtests/tm13/.cvsignore: New.
|
||||
* tmtests/tm14/.cvsignore: New.
|
||||
* tmtests/tm15/.cvsignore: New.
|
||||
* tmtests/tm16/.cvsignore: New.
|
||||
* tmtests/tm17/.cvsignore: New.
|
||||
* tmtests/tm18/.cvsignore: New.
|
||||
* tmtests/tm19/.cvsignore: New.
|
||||
* tmtests/tm20/.cvsignore: New.
|
||||
* tmtests/tm21/.cvsignore: New.
|
||||
* tmtests/tm22/.cvsignore: New.
|
||||
* tmtests/tm23/.cvsignore: New.
|
||||
* tmtests/tm24/.cvsignore: New.
|
||||
* tmtests/tm25/.cvsignore: New.
|
||||
* tmtests/tm26/.cvsignore: New.
|
||||
* tmtests/tm27/.cvsignore: New.
|
||||
* tmtests/tm28/.cvsignore: New.
|
||||
* tmtests/tm29/.cvsignore: New.
|
||||
* tmtests/tmck/.cvsignore: New.
|
||||
* tmtests/tmoverhd/.cvsignore: New.
|
||||
@@ -1,14 +0,0 @@
|
||||
## $Id$
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../../../aclocal
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../automake/lib.am
|
||||
|
||||
SUBDIRS = support samples sptests tmtests
|
||||
|
||||
EXTRA_DIST = ada.am
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
@@ -1,22 +0,0 @@
|
||||
SUFFIXES = .adb .ali .ads .adp
|
||||
|
||||
GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS)
|
||||
|
||||
AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \
|
||||
-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \
|
||||
-I$(top_srcdir)/support
|
||||
|
||||
GNATCOMPILE = $(GNATMAKE) \
|
||||
-bargs -Mgnat_main \
|
||||
-margs $(AM_ADAFLAGS) $(ADAFLAGS) \
|
||||
-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
|
||||
-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) init.o
|
||||
|
||||
CLEANFILES = *.ali *.o b~*.adb b~*.ads
|
||||
|
||||
#%.o: %.c
|
||||
# $(CC) $(CFLAGS) -I@srcdir@ -c $< -o $@
|
||||
|
||||
.adp.adb:
|
||||
pwd=`pwd` && cd $(srcdir) && $(M4) < $*.adp > $${pwd}/$*.adb
|
||||
@@ -1,114 +0,0 @@
|
||||
## Process this file with autoconf to produce a configure script.
|
||||
##
|
||||
## $Id$
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
|
||||
AC_CONFIG_SRCDIR([support])
|
||||
RTEMS_TOP(../../..)
|
||||
|
||||
RTEMS_CANONICAL_TARGET_CPU
|
||||
RTEMS_CANONICAL_HOST
|
||||
|
||||
AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
AC_CHECK_PROGS([M4],[gm4 m4])
|
||||
RTEMS_PROG_GNAT
|
||||
RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
RTEMS_ENABLE_MULTILIB
|
||||
RTEMS_ENABLE_MULTIPROCESSING
|
||||
RTEMS_ENV_RTEMSBSP
|
||||
RTEMS_CHECK_CPU
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
|
||||
|
||||
AS_IF([test x"$HAVE_GNAT" = x"no"],[
|
||||
AC_MSG_ERROR([No acceptable GNATMAKE found.])
|
||||
])
|
||||
|
||||
AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")
|
||||
|
||||
RTEMS_CHECK_TOOL([GNATPREP],[gnatprep],[])
|
||||
|
||||
# FIXME: Enable building the examples which are known to be broken
|
||||
AM_CONDITIONAL([EXPADA],
|
||||
[test x"$enable_expada" = x"yes" && test x"$HAVE_GNAT" = x"yes"])
|
||||
|
||||
RTEMS_PROJECT_ROOT
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
AC_CONFIG_FILES([support/Makefile])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
samples/Makefile
|
||||
samples/base_sp/Makefile
|
||||
samples/hello/Makefile
|
||||
samples/ticker/Makefile
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
sptests/Makefile
|
||||
sptests/sp01/Makefile
|
||||
sptests/sp02/Makefile
|
||||
sptests/sp03/Makefile
|
||||
sptests/sp04/Makefile
|
||||
sptests/sp05/Makefile
|
||||
sptests/sp06/Makefile
|
||||
sptests/sp07/Makefile
|
||||
sptests/sp08/Makefile
|
||||
sptests/sp09/Makefile
|
||||
sptests/sp11/Makefile
|
||||
sptests/sp12/Makefile
|
||||
sptests/sp13/Makefile
|
||||
sptests/sp14/Makefile
|
||||
sptests/sp15/Makefile
|
||||
sptests/sp16/Makefile
|
||||
sptests/sp17/Makefile
|
||||
sptests/sp19/Makefile
|
||||
sptests/sp20/Makefile
|
||||
sptests/sp21/Makefile
|
||||
sptests/sp22/Makefile
|
||||
sptests/sp23/Makefile
|
||||
sptests/sp24/Makefile
|
||||
sptests/sp25/Makefile
|
||||
sptests/spsize/Makefile
|
||||
])
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
tmtests/Makefile
|
||||
tmtests/tm01/Makefile
|
||||
tmtests/tm02/Makefile
|
||||
tmtests/tm03/Makefile
|
||||
tmtests/tm04/Makefile
|
||||
tmtests/tm05/Makefile
|
||||
tmtests/tm06/Makefile
|
||||
tmtests/tm07/Makefile
|
||||
tmtests/tm08/Makefile
|
||||
tmtests/tm09/Makefile
|
||||
tmtests/tm10/Makefile
|
||||
tmtests/tm11/Makefile
|
||||
tmtests/tm12/Makefile
|
||||
tmtests/tm13/Makefile
|
||||
tmtests/tm14/Makefile
|
||||
tmtests/tm15/Makefile
|
||||
tmtests/tm16/Makefile
|
||||
tmtests/tm17/Makefile
|
||||
tmtests/tm18/Makefile
|
||||
tmtests/tm19/Makefile
|
||||
tmtests/tm20/Makefile
|
||||
tmtests/tm21/Makefile
|
||||
tmtests/tm22/Makefile
|
||||
tmtests/tm23/Makefile
|
||||
tmtests/tm24/Makefile
|
||||
tmtests/tm25/Makefile
|
||||
tmtests/tm28/Makefile
|
||||
tmtests/tm29/Makefile
|
||||
tmtests/tmck/Makefile
|
||||
tmtests/tmoverhd/Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user