source: rtems-source-builder/source-builder/defaults.mc @ 4b7af07

5
Last change on this file since 4b7af07 was 4b7af07, checked in by Chris Johns <chrisj@…>, on 09/12/19 at 10:09:13

5/llvm: Add LLVM as a package for RTEMS.

  • Add '%source download <source>' to only download the source and do not unpack and prep. This can used when a package internally needs another source package.
  • Install the staging root only if it is present. A package may internally build another package that is not staged as it is not suitable for installing.

Updates #3250
Updatew #3797

  • Property mode set to 100644
File size: 18.2 KB
Line 
1#
2# RTEMS Tools Project (http://www.rtems.org/)
3# Copyright 2010-2013 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# Permission to use, copy, modify, and/or distribute this software for any
9# purpose with or without fee is hereby granted, provided that the above
10# copyright notice and this permission notice appear in all copies.
11#
12# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19
20#
21# All paths in defaults must be Unix format. Do not store any Windows format
22# paths in the defaults.
23#
24# Every entry must describe the type of checking a host must pass.
25#
26# Records:
27#  key: type, attribute, value
28#   type     : none, dir, exe, triplet
29#   attribute: none, required, optional
30#   value    : 'single line', '''multi line'''
31#
32
33#
34# Global defaults
35#
36[global]
37
38# Nothing
39nil:                 none,    none,     ''
40
41# Set to invalid values.
42_bset:               none,    none,     ''
43_bset_tmp:           none,    none,     ''
44name:                none,    none,     ''
45version:             none,    none,     ''
46release:             none,    none,     ''
47buildname:           none,    none,     '%{name}'
48
49# The default is not released.
50rsb_released:        none,    none,     '0'
51rsb_version:         none,    none,     'no-version'
52
53# GNU triples needed to build packages
54_host:               triplet, required, ''
55_build:              triplet, required, ''
56_target:             none,    optional, ''
57
58# RTEMS release URL
59rtems_release_url:   none,    none,     'https://ftp.rtems.org/pub/rtems/releases/%{rtems_version}'
60
61# The user
62_uid:                none,    convert,  '%(%{__id_u} -n)'
63
64# Default flags that can be overridded to supply specific host or build
65# flags and include paths to the tools. The host is the final platform
66# the tools will run on and build is the host building the tools.
67host_cflags:         none,    convert,  '-O2 -g -pipe'
68host_cxxflags:       none,    convert,  '-O2 -g -pipe'
69host_ldflags:        none,    convert,  ''
70host_includes:       none,    convert,  ''
71host_libs:           none,    convert,  ''
72build_cflags:        none,    convert,  '-O2 -g -pipe'
73build_cxxflags:      none,    convert,  '-O2 -g -pipe'
74build_ldflags:       none,    convert,  ''
75build_includes:      none,    convert,  ''
76build_libs:          none,    convert,  ''
77
78#
79# Build and staging paths.
80#
81buildroot:           dir,     none,     '%{_tmppath}/%{buildname}-%{_uid}'
82buildcxcroot:        dir,     none,     '%{_tmppath}/%{buildname}-%{_uid}-cxc'
83buildxcroot:         dir,     none,     '%{_tmppath}/%{buildname}-%{_uid}-xx'
84stagingroot:         dir,     none,     '%{_tmppath}/sb-%{_uid}-staging'
85
86#
87# Install mode can be installing or staging. Defaults to installing.
88#
89install_mode:        none,    none,     'installing'
90
91# Extra path a platform can override.
92_extra_path:         none,    none,     '%{_sbdir}'
93_ld_library_path:    none,    none,     'LD_LIBRARY_PATH'
94
95# Paths
96_host_platform:      none,    none,     '%{_host_cpu}-%{_host_vendor}-%{_host_os}%{?_gnu}'
97_host_cc:            none,    none,     'gcc'
98_host_cxx:           none,    none,     'g++'
99_arch:               none,    none,     '%{_host_arch}'
100_topdir:             dir,     required, '%{_cwd}'
101_configdir:          dir,     optional, '%{_topdir}/config:%{_sbdir}/config:%{_sbtop}/bare/config'
102_tardir:             dir,     optional, '%{_topdir}/tar'
103_sourcedir:          dir,     optional, '%{_topdir}/sources'
104_patchdir:           dir,     optional, '%{_topdir}/patches:%{_sbdir}/patches'
105_builddir:           dir,     optional, '%{_topdir}/build/%{buildname}'
106_buildcxcdir:        dir,     optional, '%{_topdir}/build/%{buildname}-cxc'
107_buildxcdir:         dir,     optional, '%{_topdir}/build/%{buildname}-xc'
108_docdir:             dir,     none,     '%{_defaultdocdir}'
109_tmppath:            dir,     none,     '%{_topdir}/build/tmp'
110_tmproot:            dir,     none,     '%{_tmppath}/sb-%{_uid}/%{_bset_tmp}'
111_tmpcxcroot:         dir,     none,     '%{_tmppath}/sb-%{_uid}-cxc/%{_bset_tmp}'
112_datadir:            dir,     none,     '%{_prefix}/share'
113_defaultdocdir:      dir,     none,     '%{_prefix}/share/doc'
114_exeext:             none,    none,     ''
115_exec_prefix:        dir,     none,     '%{_prefix}'
116_bindir:             dir,     none,     '%{_exec_prefix}/bin'
117_sbindir:            dir,     none,     '%{_exec_prefix}/sbin'
118_libexecdir:         dir,     none,     '%{_exec_prefix}/libexec'
119_datarootdir:        dir,     none,     '%{_prefix}/share'
120_datadir:            dir,     none,     '%{_datarootdir}'
121_sysconfdir:         dir,     none,     '%{_prefix}/etc'
122_sharedstatedir:     dir,     none,     '%{_prefix}/com'
123_localstatedir:      dir,     none,     '%{prefix}/var'
124_includedir:         dir,     none,     '%{_prefix}/include'
125_lib:                dir,     none,     'lib'
126_libdir:             dir,     none,     '%{_exec_prefix}/%{_lib}'
127_libexecdir:         dir,     none,     '%{_exec_prefix}/libexec'
128_mandir:             dir,     none,     '%{_datarootdir}/man'
129_infodir:            dir,     none,     '%{_datarootdir}/info'
130_localedir:          dir,     none,     '%{_datarootdir}/locale'
131_localedir:          dir,     none,     '%{_datadir}/locale'
132_localstatedir:      dir,     none,     '%{_prefix}/var'
133_pathprepend:        none,    none,     ''
134_pathpostpend:       none,    none,     ''
135_prefix:             dir,     none,     '%{_usr}'
136_usr:                dir,     none,     '/usr/local'
137_usrsrc:             dir,     none,     '%{_usr}/src'
138_var:                dir,     none,     '/usr/local/var'
139_varrun:             dir,     none,     '%{_var}/run'
140
141# Defaults, override in platform specific modules.
142___setup_shell:      exe,     required, '/bin/sh'
143__aclocal:           exe,     optional, 'aclocal'
144__ar:                exe,     required, 'ar'
145__arch_install_post: exe,     none,     '%{nil}'
146__as:                exe,     required, 'as'
147__autoconf:          exe,     optional, 'autoconf'
148__autoheader:        exe,     optional, 'autoheader'
149__automake:          exe,     optional, 'automake'
150__autoreconf:        exe,     optional, 'autoreconf'
151__awk:               exe,     required, 'awk'
152__bash:              exe,     optional, '/bin/bash'
153__bison:             exe,     required, '/usr/bin/bison'
154__bzip2:             exe,     required, '/usr/bin/bzip2'
155__cat:               exe,     required, '/bin/cat'
156__cc:                exe,     required, 'gcc'
157__chgrp:             exe,     required, '/usr/bin/chgrp'
158__chmod:             exe,     required, '/bin/chmod'
159__chown:             exe,     required, '/usr/sbin/chown'
160__cmake:             exe,     optional, '/usr/bin/cmake'
161__cp:                exe,     required, '/bin/cp'
162__cpp:               exe,     none,     '%{__cc} -E'
163__cvs:               exe,     optional, '/usr/bin/cvs'
164__cvs_z:             none,    none,     '%{__cvs} -z 9'
165__cxx:               exe,     required, 'g++'
166__flex:              exe,     required, '/usr/bin/flex'
167__git:               exe,     required, '/usr/bin/git'
168__grep:              exe,     required, '/usr/bin/grep'
169__gzip:              exe,     required, '/usr/bin/gzip'
170__id:                exe,     required, '/usr/bin/id'
171__id_u:              exe,     none,     '%{__id} -u'
172__install:           exe,     required, '/usr/bin/install'
173__install_info:      exe,     optional, '/usr/bin/install-info'
174__ld:                exe,     required, '/usr/bin/ld'
175__ldconfig:          exe,     required, '/sbin/ldconfig'
176__ln_s:              exe,     none,     'ln -s'
177__make:              exe,     required, 'make'
178__makeinfo:          exe,     required, '/usr/bin/makeinfo'
179__mkdir:             exe,     required, '/bin/mkdir'
180__mkdir_p:           exe,     none,     '/bin/mkdir -p'
181__mv:                exe,     required, '/bin/mv'
182__nm:                exe,     required, '/usr/bin/nm'
183__objcopy:           exe,     optional, '/usr/bin/objcopy'
184__objdump:           exe,     optional, '/usr/bin/objdump'
185__patch_bin:         exe,     required, '/usr/bin/patch'
186__patch_opts:        none,    none,     '%{nil}'
187__patch:             exe,     none,     '%{__patch_bin} %{__patch_opts}'
188__perl:              exe,     optional, 'perl'
189__svn:               exe,     optional, '/usr/bin/svn'
190__ranlib:            exe,     required, 'ranlib'
191__rm:                exe,     required, '/bin/rm'
192__rmfile:            exe,     none,     '%{__rm} -f'
193__rmdir:             exe,     none,     '%{__rm} -rf'
194__sed:               exe,     required, '/usr/bin/sed'
195__setup_post:        exe,     none,     '%{__chmod} -R a+rX,g-w,o-w .'
196__sh:                exe,     required, '/bin/sh'
197__tar:               exe,     required, '/usr/bin/tar'
198__tar_extract:       exe,     none,     '%{__tar} -xvv'
199__touch:             exe,     required, '/usr/bin/touch'
200__unzip:             exe,     required, '/usr/bin/unzip'
201__xz:                exe,     required, '/usr/bin/xz'
202
203# Shell Build Settings.
204___build_args:       none,    none,     '-e'
205___build_cmd:        none,    none,     '%{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}'
206___build_post:       none,    none,     'exit 0'
207
208# Prebuild set up script.
209___build_pre:        none,    none,     '''# ___build_pre as set up in defaults.py
210# Save the original path away.
211export SB_ORIG_PATH=${PATH}
212# Directories
213%{?_prefix:SB_PREFIX="%{_prefix}"}
214%{?_prefix:SB_PREFIX_CLEAN=$(echo "%{_prefix}" | %{__sed} -e 's/^\///')}
215SB_SOURCE_DIR="%{_sourcedir}"
216SB_BUILD_DIR="%{_builddir}"
217# host == build, use build; host != build, host uses host and build uses build
218SB_HOST_CPPFLAGS="%{host_includes}"
219# Optionally do not add includes to c/cxx flags as newer configure's complain
220SB_HOST_CFLAGS="%{host_cflags} %{!?host_cflags_no_includes %{host_includes}}"
221SB_HOST_CXXFLAGS="%{host_cxxflags} %{!?host_cflags_no_includes %{host_includes}}"
222SB_HOST_LDFLAGS="%{host_ldflags} %{?_tmproot:-L%{_tmproot}/${SB_PREFIX_CLEAN}/lib}"
223SB_HOST_LIBS="%{host_libs}"
224SB_BUILD_CFLAGS="%{build_cflags} %{?_tmproot:-I%{_tmproot}/${SB_PREFIX_CLEAN}/include}"
225SB_BUILD_CXXFLAGS="%{build_cxxflags} %{?_tmproot:-I%{_tmproot}/${SB_PREFIX_CLEAN}/include}"
226SB_BUILD_LDFLAGS="%{build_ldflags} %{?_tmproot:-L%{_tmproot}/${SB_PREFIX_CLEAN}/lib}"
227SB_BUILD_LBS="%{build_libs}"
228SB_CFLAGS="${SB_BUILD_CFLAGS} %{build_includes}"
229SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} %{build_includes}"
230SB_ARCH="%{_arch}"
231SB_OS="%{_os}"
232export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
233export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
234export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
235export SB_CFLAGS SB_CXXFLAGS
236# Documentation
237SB_DOC_DIR="%{_docdir}"
238export SB_DOC_DIR
239# Packages
240SB_PACKAGE_NAME="%{name}"
241SB_PACKAGE_BUILDNAME="%{buildname}"
242SB_PACKAGE_VERSION="%{version}"
243SB_PACKAGE_RELEASE="%{release}"
244export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
245# Build directories
246export SB_PREFIX
247%{?_builddir:SB_BUILD_DIR="%{_builddir}"}
248%{?buildroot:SB_BUILD_ROOT="%{buildroot}"}
249%{?buildroot:%{?_prefix:SB_BUILD_ROOT_BINDIR="%{buildroot}/${SB_PREFIX_CLEAN}/bin"}}
250export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
251%{?_buildcxcdir:SB_BUILD_CXC_DIR="%{_buildcxcdir}"}
252%{?buildcxcroot:SB_BUILD_CXC_ROOT="%{buildcxcroot}"}
253%{?buildcxcroot:%{?_prefix:SB_BUILD_CXC_ROOT_BINDIR="%{buildcxcroot}/${SB_PREFIX_CLEAN}/bin"}}
254export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
255%{?_tmproot:SB_TMPROOT="%{_tmproot}"}
256%{?_tmproot:%{?_prefix:SB_TMPPREFIX="%{_tmproot}/${SB_PREFIX_CLEAN}"}}
257%{?_tmproot:%{?_prefix:SB_TMPBINDIR="%{_tmproot}/${SB_PREFIX_CLEAN}/bin"}}
258export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
259%{?_tmpcxcroot:SB_TMPCXCROOT="%{_tmproot}"}
260%{?_tmpcxcroot:%{?_prefix:SB_TMPCXCPREFIX="%{_tmpcxcroot}/${SB_PREFIX_CLEAN}"}}
261%{?_tmpcxcroot:%{?_prefix:SB_TMPCXCBINDIR="%{_tmpcxcroot}/${SB_PREFIX_CLEAN}/bin"}}
262export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
263# Extra path support
264%{?_extra_path:SB_EXTRAPATH="%{_extra_path}"}
265# The compiler flags
266%{?_targetcflags:CFLAGS_FOR_TARGET="%{_targetcflags}"}
267%{?_targetcxxflags:CXXFLAGS_FOR_TARGET="%{_targetcxxflags}"}
268export CFLAGS_FOR_TARGET
269export CXXFLAGS_FOR_TARGET
270# Set up the path. Put the CXC path first.
271if test -n "${SB_TMPBINDIR}" ; then
272 PATH="${SB_TMPBINDIR}:$PATH"
273fi
274if test -n "${SB_TMPCXCBINDIR}" ; then
275 PATH="${SB_TMPCXCBINDIR}:$PATH"
276fi
277if test -n "${SB_EXTRAPATH}" ; then
278 PATH="${SB_EXTRAPATH}:$PATH"
279fi
280%{?_pathprepend:PATH="%{_pathprepend}:$PATH"}
281%{?_pathpostpend:PATH="$PATH:%{_pathpostpend}"}
282export PATH
283# Default environment set up.
284LANG=C
285export LANG
286unset DISPLAY || :
287umask 022
288cd "%{_builddir}"'''
289
290___build_shell:      none,    none,     '%{?_buildshell:%{_buildshell}}%{!?_buildshell:/bin/sh}'
291
292___build_template:   none,    none,     '''#!%{___build_shell}
293%{___build_pre}
294%{nil}'''
295
296# Configure command
297configure:           none,    none,     '''
298CFLAGS="${CFLAGS:-${SB_CFLAGS}" ; export CFLAGS ;
299CXXFLAGS="${CXXFLAGS:-${SB_CFLAGS}}" ; export CXXFLAGS ;
300FFLAGS="${FFLAGS:-${SB_CFLAGS}}" ; export FFLAGS ;
301./configure --build=%{_build} --host=%{_host} \
302      --target=%{_target_platform} \
303      --program-prefix=%{?_program_prefix} \
304      --prefix=%{_prefix} \
305      --exec-prefix=%{_exec_prefix} \
306      --bindir=%{_bindir} \
307      --sbindir=%{_sbindir} \
308      --sysconfdir=%{_sysconfdir} \
309      --datadir=%{_datadir} \
310      --includedir=%{_includedir} \
311      --libdir=%{_libdir} \
312      --libexecdir=%{_libexecdir} \
313      --localstatedir=%{_localstatedir} \
314      --sharedstatedir=%{_sharedstatedir} \
315      --mandir=%{_mandir} \
316      --infodir=%{_infodir}'''
317
318# Build script support.
319build_directory:     none,    none,     '''
320if test "%{_build}" != "%{_host}" ; then
321  # Cross-build (Xc) if no target or the host and target match.
322  # Canadian-cross (Cxc) if build, host and target are all different.
323  if test -z "%{_target}" -o "%{_host}" == "%{_target}" ; then
324    build_dir="build-xc"
325  else
326    build_dir="build-cxc"
327  fi
328else
329  build_dir="build"
330fi'''
331
332# Host/build flags.
333host_build_flags:    none,    none,     '''
334# Host and build flags, Cross build if host and build are different and
335# Cxc build if target is deifned and also different.
336# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
337if test "%{_build}" != "%{_host}" ; then
338  # Cross build
339  CC=$(echo "%{_host}-%{_host_cc}" | sed -e 's,-std=gnu99 ,,')
340  CXX=$(echo "%{_host}-%{_host_cxx}" | sed -e 's,-std=gnu99 ,,')
341  CPPFLAGS="${SB_HOST_CPPFLAGS}"
342  CFLAGS="${SB_HOST_CFLAGS}"
343  CXXFLAGS="${SB_HOST_CXXFLAGS}"
344  LDFLAGS="${SB_HOST_LDFLAGS}"
345  LDLIBS="${SB_HOST_LIBS}"
346  LIBS="${SB_HOST_LIBS}"
347  # Host
348  CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
349  CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
350  CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
351  LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
352  LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
353  LIBS_FOR_HOST="${SB_HOST_LIBS}"
354  CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
355  CC_FOR_HOST=$(echo "%{_host_cc} ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
356  CXX_FOR_HOST=$(echo "%{_host_cxx} ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
357  # Build
358  CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
359  CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
360  LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
361  LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
362  LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
363  CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
364  CC_FOR_BUILD=$(echo "%{__cc} ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
365  CXX_FOR_BUILD=$(echo "%{__cxx} ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
366else
367  LDFLAGS="${SB_BUILD_LDFLAGS}"
368  LDLIBS="${SB_BUILD_LIBS}"
369  LIBS="${SB_BUILD_LIBS}"
370  CC=$(echo "%{__cc} ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
371  CXX=$(echo "%{__cxx} ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
372  CC_FOR_BUILD=${CC}
373  CXX_FOR_BUILD=${CXX}
374fi
375export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
376export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
377export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS'''
378
379# Build/build flags.
380build_build_flags:    none,    none,     '''
381# Build and build flags means force build == host
382# gcc is not ready to be compiled with -std=gnu99
383LDFLAGS="${SB_HOST_LDFLAGS}"
384LIBS="${SB_HOST_LIBS}"
385CC=$(echo "%{__cc} ${SB_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
386CXX=$(echo "%{__cxx} ${SB_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
387CC_FOR_BUILD=${CC}
388CXX_FOR_BUILD=${CXX}
389export CC CXX CC_FOR_BUILD CXX_FOR_BUILD CFLAGS LDFLAGS LIBS'''
390
391# Default package settings
392_forced_static:     none,         none, '-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic'
393__xz:                exe,     required, '/usr/bin/xz'
394
395# Mail Support
396_mail_smtp_host:   none,         none, 'localhost'
397_mail_tools_to:    none,         none, 'build@rtems.org'
398
399# Newlib ICONV encodings
400_newlib_iconv_encodings: none,      none, '''big5,cp775,cp850,cp852,cp855,\
401cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
402iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
403iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
404iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
405ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
406utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
407win_1253,win_1254,win_1255,win_1256,win_1257,win_1258'''
408
409# Waf build root suffix, only use for win32 mingw ming32 OSs
410#
411# If on Windows we need to add the driver prefix to the built root as waf
412# strips the driver prefix from the prefix path when joining it to the
413# destdir path. Waf is correct in doing this and the RSB is design to match
414# the configure behaviour which treats the whole path including the drive
415# prefix as part of the path as just a path.
416#
417waf_build_root_suffix:   none,  none, ' %(echo %{_prefix} | cut -c 1-2)'
418
419# Makefile.inc support for staging
420rtems_makefile_inc:      none,  none, '''
421export RTEMS_ROOT=%{rtems_bsp_rtems_root}
422export PROJECT_RELEASE=%{rtems_bsp_prefix}
423export RTEMS_MAKEFILE_PATH=%{rtems_bsp_prefix}
424'''
Note: See TracBrowser for help on using the repository browser.