summaryrefslogtreecommitdiffstats
path: root/config/base.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2012-10-30 10:37:12 +1100
committerChris Johns <chrisj@rtems.org>2012-10-30 10:37:12 +1100
commitbf13d27ab0b1d7df9c80099afb9a418857afd92f (patch)
tree766a54dcbddfc61289682854a03423ed450dcc68 /config/base.cfg
downloadrtems-source-builder-bf13d27ab0b1d7df9c80099afb9a418857afd92f.tar.bz2
Initial import.
Diffstat (limited to 'config/base.cfg')
-rw-r--r--config/base.cfg34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/base.cfg b/config/base.cfg
new file mode 100644
index 0000000..07e6b0e
--- /dev/null
+++ b/config/base.cfg
@@ -0,0 +1,34 @@
+#
+# Base set up for all configurations.
+#
+
+# _prefix is set in the tool
+
+%define _exec_prefix %{_prefix}
+%define _bindir %{_exec_prefix}/bin
+%define _sbindir %{_exec_prefix}/sbin
+%define _libexecdir %{_exec_prefix}/libexec
+%define _datarootdir %{_prefix}/share
+%define _datadir %{_datarootdir}
+%define _sysconfdir %{_prefix}/etc
+%define _sharedstatedir %{_prefix}/com
+%define _localstatedir %{_prefix}/var
+%define _includedir %{_prefix}/include
+%define _libdir %{_exec_prefix}/%{_lib}
+%define _mandir %{_datarootdir}/man
+%define _infodir %{_datarootdir}/info
+%define _localedir %{_datarootdir}/locale
+
+%ifos mingw mingw32
+%define _exeext .exe
+%define debug_package %{nil}
+%define _libdir %{_exec_prefix}/lib
+%else
+%define _exeext %{nil}
+%endif
+
+%if "%{_build}" != "%{_host}"
+%define _host_prefix %{_host}-
+%else
+%define _host_prefix %{nil}
+%endif