mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
config: Add support to build qemu.
Qemu requires gettext, glib, libffi, and pixman. DTC is built as a submodule. On Mavrick provide a pkg-config command so avoid needing a pkgconfig. The one here is only just good enough to work. Provide an internal autotools build including libtool so qemu can be built from git.
This commit is contained in:
8
bare/config/devel/autoconf-internal-2.69-1.cfg
Normal file
8
bare/config/devel/autoconf-internal-2.69-1.cfg
Normal file
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# Internal Autoconf 2.69.
|
||||
#
|
||||
|
||||
%warning This autoconf build is for internal bootstraps, no package created
|
||||
|
||||
%define _internal_autotools yes
|
||||
%include %{_configdir}/devel/autoconf-2.69-1.cfg
|
9
bare/config/devel/autotools-base.bset
Normal file
9
bare/config/devel/autotools-base.bset
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Build set for autoconf, automake, and libtools.
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
devel/autoconf-2.69-1
|
||||
devel/automake-1.12.6-1
|
||||
devel/libtool-2.4.2-1
|
13
bare/config/devel/autotools-internal.bset
Normal file
13
bare/config/devel/autotools-internal.bset
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Tools Set for Internal Autotools Stable
|
||||
#
|
||||
# Do not use via the command line.
|
||||
#
|
||||
|
||||
%define _internal_autotools yes
|
||||
%define _disable_collecting yes
|
||||
%define _disable_packaging yes
|
||||
%define _disable_reporting yes
|
||||
%define _disable_installing yes
|
||||
|
||||
%include devel/autotools-base.bset
|
14
bare/config/devel/autotools.bset
Normal file
14
bare/config/devel/autotools.bset
Normal file
@@ -0,0 +1,14 @@
|
||||
#
|
||||
# Build set for autoconf, automake, and libtools.
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
#
|
||||
# A magic internal path that would break if changes in the defaults.mc
|
||||
# macro file are made.
|
||||
#
|
||||
%define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
|
||||
|
||||
devel/autotools-internal.bset
|
||||
devel/autotools-base.bset
|
7
bare/config/devel/dtc.bset
Normal file
7
bare/config/devel/dtc.bset
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# Build set for the Device Tree Compiler
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
devel/dtc-1.2.0
|
16
bare/config/devel/gettext-0.18.3.1-1.cfg
Normal file
16
bare/config/devel/gettext-0.18.3.1-1.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# GetText
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define gettext_version 0.18.3.1
|
||||
|
||||
#
|
||||
# The GetText build instructions. We use 0.x.x Release 1.
|
||||
#
|
||||
%include %{_configdir}/gettext-0-1.cfg
|
18
bare/config/devel/glib-2.39.3-1.cfg
Normal file
18
bare/config/devel/glib-2.39.3-1.cfg
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# GLib
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define glib_version_major 2.39
|
||||
%define glib_version_minor 3
|
||||
%define glib_version %{glib_version_major}.%{glib_version_minor}
|
||||
|
||||
#
|
||||
# The GLib build instructions. We use 2.x.x Release 1.
|
||||
#
|
||||
%include %{_configdir}/glib-2-1.cfg
|
16
bare/config/devel/libffi-3.0.13-1.cfg
Normal file
16
bare/config/devel/libffi-3.0.13-1.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# LibFFI
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define libffi_version 3.0.13
|
||||
|
||||
#
|
||||
# The LibFFI build instructions. We use 3.x.x Release 1.
|
||||
#
|
||||
%include %{_configdir}/libffi-3-1.cfg
|
16
bare/config/devel/libtool-2.4.2-1.cfg
Normal file
16
bare/config/devel/libtool-2.4.2-1.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Libtool 2.4.2
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define libtool_version 2.4.2
|
||||
|
||||
#
|
||||
# The libtool build instructions. We use 2.xx Release 1.
|
||||
#
|
||||
%include %{_configdir}/libtool-2-1.cfg
|
16
bare/config/devel/pixman-0.32.4-1.cfg
Normal file
16
bare/config/devel/pixman-0.32.4-1.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Pixman
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
%define pixman_version 0.32.4
|
||||
|
||||
#
|
||||
# The Pixman build instructions. We use 0.x.x Release 1.
|
||||
#
|
||||
%include %{_configdir}/pixman-0-1.cfg
|
32
bare/config/devel/qemu-git-1.cfg
Normal file
32
bare/config/devel/qemu-git-1.cfg
Normal file
@@ -0,0 +1,32 @@
|
||||
#
|
||||
# Qemu from git
|
||||
#
|
||||
|
||||
%if %{release} == %{nil}
|
||||
%define release 1
|
||||
%endif
|
||||
|
||||
%include %{_configdir}/base.cfg
|
||||
|
||||
#
|
||||
# Stable version. Qemu is fast moving.
|
||||
#
|
||||
%define qemu_version 97374ce538883af677fd94803b71df2d55a9a4de
|
||||
|
||||
#
|
||||
# The RTEMS Tools patches.
|
||||
#
|
||||
%define rtems_http_git http://git.rtems.org
|
||||
%define rtems_git_tools %{rtems_http_git}/rtems-tools/plain/tools/
|
||||
|
||||
#
|
||||
# Qemu is from GIT.
|
||||
#
|
||||
Source0: git://git.qemu-project.org/qemu.git?pull?checkout=%{qemu_version}?submodule=dtc
|
||||
Patch0: %{rtems_git_tools}/qemu/0001-configure-use-glib-in-glib-pkg-config-check.patch
|
||||
Patch1: %{rtems_git_tools}/qemu/0001-zynq-Request-qemu-reset-when-PSS_RESET_CTRL-triggere.patch
|
||||
|
||||
#
|
||||
# The Qemu build instructions. We use 1.x.x Release 1.
|
||||
#
|
||||
%include %{_configdir}/qemu-1-1.cfg
|
18
bare/config/devel/qemu.bset
Normal file
18
bare/config/devel/qemu.bset
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# Build set for QEMU
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
#
|
||||
# A magic internal path that would break if changes in the defaults.mc
|
||||
# macro file are made.
|
||||
#
|
||||
%define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
|
||||
|
||||
devel/autotools-internal
|
||||
devel/gettext-0.18.3.1-1
|
||||
devel/libffi-3.0.13-1
|
||||
devel/pixman-0.32.4-1
|
||||
devel/glib-2.39.3-1
|
||||
devel/qemu-git-1
|
Reference in New Issue
Block a user