4.104.114.95
Last change
on this file since 5118d73 was
ebf8a1f,
checked in by Chris Johns <chrisj@…>, on 07/16/13 at 00:02:41
|
Automtically build the Autotools to bootstrap RTEMS.
This changes adds support to build the autotools if the host installed
version is not a suitable version. Autoconf and automake have hard coded
references to the install prefix and host tools and this makes it impossible
to relocate, that is use in any path other than the install prefix. To
bootstrap automake you need to first build a suitable autoconf and with that
you can built automake for the install prefix. The other complication is
not referencing the install prefix in the path when building in the RSB.
Having the install prefix in the path can result in strange issues appearing
such as gcc using a new assembler feature not present in an older assember
installed under the install prefix.
The process is to build the autotools using an install prefix to an
internal path inside the RSB temporary path and to use that autoconf
to build the version for the install prefix. The internal install
prefix version is also used to bootstrap RTEMS.
|
-
Property mode set to
100644
|
File size:
794 bytes
|
Line | |
---|
1 | # |
---|
2 | # Tools Set for RTEMS AVR 4.11 Stable |
---|
3 | # |
---|
4 | |
---|
5 | %define release 1 |
---|
6 | |
---|
7 | %define rtems_arch avr |
---|
8 | |
---|
9 | # |
---|
10 | # The RTEMS 4.11 BSP to build and test |
---|
11 | # |
---|
12 | %define rtems_bsps avrtest |
---|
13 | %define rtems_test_bsps avrtest |
---|
14 | |
---|
15 | # |
---|
16 | # The RTEMS 4.11 base defines. |
---|
17 | %define rtems_bsps all |
---|
18 | %define rtems_test_bsps none |
---|
19 | |
---|
20 | # |
---|
21 | # The RTEMS 4.11 base defines. |
---|
22 | # |
---|
23 | %include rtems-4.11-base.bset |
---|
24 | |
---|
25 | # |
---|
26 | # Disable building a C++ compiler. |
---|
27 | # configure: error: unable to detect exception model |
---|
28 | # |
---|
29 | %define enable_cxx 0 |
---|
30 | |
---|
31 | # |
---|
32 | # Set the build flags to work around the defaults in the |
---|
33 | # compiler that cause ICE. |
---|
34 | # |
---|
35 | %define _targetcflags -g -O0 |
---|
36 | %define _targetcxxflags -g -O0 |
---|
37 | |
---|
38 | # |
---|
39 | # Tools configuration. |
---|
40 | # |
---|
41 | 4.11/rtems-autotools |
---|
42 | devel/expat-2.1.0-1 |
---|
43 | tools/rtems-binutils-2.23.2-1 |
---|
44 | tools/rtems-gcc-4.8.1-newlib-cvs-1 |
---|
45 | tools/rtems-gdb-7.6-1 |
---|
46 | tools/rtems-kernel-4.11 |
---|
Note: See
TracBrowser
for help on using the repository browser.