source: rtems-tools/rtemstoolkit/defaults.mc @ 7e5cdea

5
Last change on this file since 7e5cdea was d8eef0a, checked in by Chris Johns <chrisj@…>, on 05/10/18 at 18:12:27

rtemstoolkit: Add DWARF function support.

Load the functions in each CU.

  • Property mode set to 100644
File size: 5.5 KB
Line 
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
50nil:                 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_configdir:          none,    none,     '%{_rtbase}/config:%{_rtbase}'
Note: See TracBrowser for help on using the repository browser.