1 | # |
---|
2 | # RTEMS Tools Project (http://www.rtems.org/) |
---|
3 | # Copyright 2010-2015 Chris Johns (chrisj@rtems.org) |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # This file is part of the RTEMS Tools package in 'rtems-tools'. |
---|
7 | # |
---|
8 | # Redistribution and use in source and binary forms, with or without |
---|
9 | # modification, are permitted provided that the following conditions are met: |
---|
10 | # |
---|
11 | # 1. Redistributions of source code must retain the above copyright notice, |
---|
12 | # this list of conditions and the following disclaimer. |
---|
13 | # |
---|
14 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
---|
15 | # this list of conditions and the following disclaimer in the documentation |
---|
16 | # and/or other materials provided with the distribution. |
---|
17 | # |
---|
18 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
---|
19 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
---|
20 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
---|
21 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
---|
22 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
---|
23 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
---|
24 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
---|
25 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
---|
26 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
27 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
---|
28 | # POSSIBILITY OF SUCH DAMAGE. |
---|
29 | # |
---|
30 | |
---|
31 | # |
---|
32 | # All paths in defaults must be Unix format. Do not store any Windows format |
---|
33 | # paths in the defaults. |
---|
34 | # |
---|
35 | # Every entry must describe the type of checking a host must pass. |
---|
36 | # |
---|
37 | # Records: |
---|
38 | # key: type, attribute, value |
---|
39 | # type : none, dir, exe, triplet |
---|
40 | # attribute: none, required, optional |
---|
41 | # value : 'single line', '''multi line''' |
---|
42 | # |
---|
43 | |
---|
44 | # |
---|
45 | # Global defaults |
---|
46 | # |
---|
47 | [global] |
---|
48 | |
---|
49 | # Nothing |
---|
50 | nil: none, none, '' |
---|
51 | |
---|
52 | # Paths |
---|
53 | _topdir: dir, required, '%{_prefix}' |
---|
54 | _docdir: dir, none, '%{_defaultdocdir}' |
---|
55 | _tmppath: dir, none, '%{_topdir}/build/tmp' |
---|
56 | _tmproot: dir, none, '%{_tmppath}/rt/%{_bset}' |
---|
57 | _datadir: dir, none, '%{_prefix}/share' |
---|
58 | _defaultdocdir: dir, none, '%{_prefix}/share/doc' |
---|
59 | _exeext: none, none, '' |
---|
60 | _exec_prefix: dir, none, '%{_prefix}' |
---|
61 | _bindir: dir, none, '%{_exec_prefix}/bin' |
---|
62 | _sbindir: dir, none, '%{_exec_prefix}/sbin' |
---|
63 | _libexecdir: dir, none, '%{_exec_prefix}/libexec' |
---|
64 | _datarootdir: dir, none, '%{_prefix}/share' |
---|
65 | _datadir: dir, none, '%{_datarootdir}' |
---|
66 | _sysconfdir: dir, none, '%{_prefix}/etc' |
---|
67 | _sharedstatedir: dir, none, '%{_prefix}/com' |
---|
68 | _localstatedir: dir, none, '%{prefix}/var' |
---|
69 | _includedir: dir, none, '%{_prefix}/include' |
---|
70 | _lib: dir, none, 'lib' |
---|
71 | _libdir: dir, none, '%{_exec_prefix}/%{_lib}' |
---|
72 | _libexecdir: dir, none, '%{_exec_prefix}/libexec' |
---|
73 | _mandir: dir, none, '%{_datarootdir}/man' |
---|
74 | _infodir: dir, none, '%{_datarootdir}/info' |
---|
75 | _localedir: dir, none, '%{_datarootdir}/locale' |
---|
76 | _localedir: dir, none, '%{_datadir}/locale' |
---|
77 | _localstatedir: dir, none, '%{_prefix}/var' |
---|
78 | _usr: dir, none, '/usr/local' |
---|
79 | _usrsrc: dir, none, '%{_usr}/src' |
---|
80 | _var: dir, none, '/usr/local/var' |
---|
81 | _varrun: dir, none, '%{_var}/run' |
---|
82 | |
---|
83 | # Defaults, override in platform specific modules. |
---|
84 | __arch_install_post: exe, none, '%{nil}' |
---|
85 | __bash: exe, optional, '/bin/bash' |
---|
86 | __bzip2: exe, required, '/usr/bin/bzip2' |
---|
87 | __cat: exe, required, '/bin/cat' |
---|
88 | __chgrp: exe, required, '/usr/bin/chgrp' |
---|
89 | __chmod: exe, required, '/bin/chmod' |
---|
90 | __chown: exe, required, '/usr/sbin/chown' |
---|
91 | __cp: exe, required, '/bin/cp' |
---|
92 | __git: exe, required, '/usr/bin/git' |
---|
93 | __grep: exe, required, '/usr/bin/grep' |
---|
94 | __gzip: exe, required, '/usr/bin/gzip' |
---|
95 | __id: exe, required, '/usr/bin/id' |
---|
96 | __id_u: exe, none, '%{__id} -u' |
---|
97 | __ln_s: exe, none, 'ln -s' |
---|
98 | __make: exe, required, 'make' |
---|
99 | __mkdir: exe, required, '/bin/mkdir' |
---|
100 | __mkdir_p: exe, none, '/bin/mkdir -p' |
---|
101 | __mv: exe, required, '/bin/mv' |
---|
102 | __patch_bin: exe, required, '/usr/bin/patch' |
---|
103 | __patch_opts: none, none, '%{nil}' |
---|
104 | __patch: exe, none, '%{__patch_bin} %{__patch_opts}' |
---|
105 | __svn: exe, optional, '/usr/bin/svn' |
---|
106 | __rm: exe, required, '/bin/rm' |
---|
107 | __rmfile: exe, none, '%{__rm} -f' |
---|
108 | __rmdir: exe, none, '%{__rm} -rf' |
---|
109 | __sed: exe, required, '/usr/bin/sed' |
---|
110 | __sh: exe, required, '/bin/sh' |
---|
111 | __tar: exe, required, '/usr/bin/tar' |
---|
112 | __tar_extract: exe, none, '%{__tar} -xvvf' |
---|
113 | __touch: exe, required, '/usr/bin/touch' |
---|
114 | __unzip: exe, required, '/usr/bin/unzip' |
---|
115 | __xz: exe, required, '/usr/bin/xz' |
---|
116 | |
---|
117 | # Default settings |
---|
118 | _target: none, none, '%{nil}' |
---|
119 | |
---|
120 | # Paths |
---|
121 | _rtbase: none, none, '%{_rtdir}' |
---|
122 | _rttesting: none, none, '%{_rtbase}/rtems/testing' |
---|
123 | _configdir: none, none, '%{_rtbase}/config:%{_rttesting}' |
---|
124 | |
---|
125 | # Include the testing macros. |
---|
126 | %include %{_rttesting}/testing.mc |
---|