Build Linux: PASSED devel/qemu on x86_64-linux-gnu
joel at rtems.org
joel at rtems.org
Wed Oct 30 18:38:04 UTC 2019
RTEMS Source Builder - Set Builder, 5 (5ecf0181b494)
Host: Linux-3.10.0-1062.1.2.el7.x86_64-x86_64-with-centos-7.7.1908-Core
Linux devel.oarcorp.com 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30
14:19:46 UTC 2019 x86_64 x86_64
Build Time: 0:07:35.033610
Sizes
=====
Maximum build usage: 1.898GB
Total size: 493.732MB
Installed : 210.368MB
Sources: 283.325MB
Patches: 39.151KB
Output
======
Build Set: devel/qemu
Build Set: devel/autotools-internal.bset
config: devel/autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 7.504MB (installed: 0.000B)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
config: devel/automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 8.090MB (installed: 0.000B)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
config: devel/libtool-2.4.2-1.cfg
package: libtool-2.4.2-x86_64-linux-gnu-1
building: libtool-2.4.2-x86_64-linux-gnu-1
sizes: libtool-2.4.2-x86_64-linux-gnu-1: 12.654MB (installed: 0.000B)
cleaning: libtool-2.4.2-x86_64-linux-gnu-1
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
cleaning: libtool-2.4.2-x86_64-linux-gnu-1
Build Sizes: usage: 12.654MB total: 281.039MB (sources: 281.001MB, patches: 39.151KB, installed 0.000B)
Build Set: Time 0:00:12.368801
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-linux-gnu-1
building: gettext-0.18.3.1-x86_64-linux-gnu-1
sizes: gettext-0.18.3.1-x86_64-linux-gnu-1: 158.434MB (installed: 20.198MB)
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-linux-gnu-1
building: libffi-3.0.13-x86_64-linux-gnu-1
sizes: libffi-3.0.13-x86_64-linux-gnu-1: 5.710MB (installed: 449.230KB)
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.xml
config: devel/pixman-0.32.4-1.cfg
package: pixman-0.32.4-x86_64-linux-gnu-1
building: pixman-0.32.4-x86_64-linux-gnu-1
sizes: pixman-0.32.4-x86_64-linux-gnu-1: 66.751MB (installed: 15.798MB)
cleaning: pixman-0.32.4-x86_64-linux-gnu-1
reporting: devel/pixman-0.32.4-1.cfg -> pixman-0.32.4-x86_64-linux-gnu-1.txt
reporting: devel/pixman-0.32.4-1.cfg -> pixman-0.32.4-x86_64-linux-gnu-1.xml
config: devel/glib-2.39.3-1.cfg
package: glib-2.39.3-x86_64-linux-gnu-1
building: glib-2.39.3-x86_64-linux-gnu-1
sizes: glib-2.39.3-x86_64-linux-gnu-1: 152.775MB (installed: 22.744MB)
cleaning: glib-2.39.3-x86_64-linux-gnu-1
reporting: devel/glib-2.39.3-1.cfg -> glib-2.39.3-x86_64-linux-gnu-1.txt
reporting: devel/glib-2.39.3-1.cfg -> glib-2.39.3-x86_64-linux-gnu-1.xml
config: devel/qemu-git-1.cfg
package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
git: pull: git://git.qemu-project.org/qemu.git
git: checkout: git://git.qemu-project.org/qemu.git => 42d58e7c6760cb9c55627c28ae538e27dcf2f144
git: submodule: git://git.qemu-project.org/qemu.git <= dtc
building: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
sizes: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1: 1.692GB (installed: 151.190MB)
cleaning: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
reporting: devel/qemu-git-1.cfg -> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1.txt
reporting: devel/qemu-git-1.cfg -> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1.xml
installing: gettext-0.18.3.1-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: libffi-3.0.13-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: pixman-0.32.4-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: glib-2.39.3-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
installing: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5/tools/5
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
cleaning: pixman-0.32.4-x86_64-linux-gnu-1
cleaning: glib-2.39.3-x86_64-linux-gnu-1
cleaning: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
Build Sizes: usage: 1.898GB total: 493.732MB (sources: 283.325MB, patches: 39.151KB, installed 210.368MB)
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:14 2019
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-linux-gnu-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:15 2019
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-linux-gnu-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_gettext}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:18 2019
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-linux-gnu-1
Config: devel/libffi-3.0.13-1.cfg
Summary:
LibFFI provides a portable, high level programming interface to
various calling conventions.
URL:
https://sourceware.org/libffi/
Version:
3.0.13
Release:
1
Sources: 1
1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
Patches: 1
1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
Preparation:
build_top=$(pwd)
source_dir_libffi="libffi-3.0.13"
%setup source libffi -q -n libffi-3.0.13
%setup patch libffi -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_libffi}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:18 2019
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-linux-gnu-1
Config: devel/libffi-3.0.13-1.cfg
Summary:
LibFFI provides a portable, high level programming interface to
various calling conventions.
URL:
https://sourceware.org/libffi/
Version:
3.0.13
Release:
1
Sources: 1
1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
Patches: 1
1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
Preparation:
build_top=$(pwd)
source_dir_libffi="libffi-3.0.13"
%setup source libffi -q -n libffi-3.0.13
%setup patch libffi -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_libffi}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:35 2019
==============================================================================
Report: devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.32.4-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.32.4-x86_64-linux-gnu-1
Config: devel/pixman-0.32.4-1.cfg
Summary:
Pixman is a low-level software library for pixel manipulation,
providing features such as image compositing and trapezoid
rasterization.
URL:
http://www.pixman.org/
Version:
0.32.4
Release:
1
Sources: 1
1: http://cairographics.org/releases/pixman-0.32.4.tar.gz
sha256: 80c7ed420e8a3ae749800241e6347c3d55681296cab71384be7969cd9e657e84
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_pixman="pixman-0.32.4"
%setup source pixman -q -n pixman-0.32.4
%setup patch pixman -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_pixman}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-gtk --disable-libpng
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:32:35 2019
==============================================================================
Report: devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.32.4-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.32.4-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.32.4-x86_64-linux-gnu-1
Config: devel/pixman-0.32.4-1.cfg
Summary:
Pixman is a low-level software library for pixel manipulation,
providing features such as image compositing and trapezoid
rasterization.
URL:
http://www.pixman.org/
Version:
0.32.4
Release:
1
Sources: 1
1: http://cairographics.org/releases/pixman-0.32.4.tar.gz
sha256: 80c7ed420e8a3ae749800241e6347c3d55681296cab71384be7969cd9e657e84
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_pixman="pixman-0.32.4"
%setup source pixman -q -n pixman-0.32.4
%setup patch pixman -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
../${source_dir_pixman}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-gtk --disable-libpng
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:33:10 2019
==============================================================================
Report: devel/glib-2.39.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.39.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.39.3-1.cfg
------------------------------------------------------------------------------
Package: glib-2.39.3-x86_64-linux-gnu-1
Config: devel/glib-2.39.3-1.cfg
Summary:
GLib provides the core application building blocks for
libraries and applications written in C.
URL:
https://developer.gnome.org/glib/
Version:
2.39.3
Release:
1
Sources: 1
1: http://ftp.gnome.org/pub/gnome/sources/glib/2.39/glib-2.39.3.tar.xz
sha256: d9fa6c9aa645a5e688a3bb29013bb83801b19ee767d99e33ff52e004e1cc5fc8
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_glib="glib-2.39.3"
%setup source glib -q -n glib-2.39.3
%setup patch glib -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib ../${source_dir_glib}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-sysroot=$SYSROOT --disable-dtrace
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:33:10 2019
==============================================================================
Report: devel/glib-2.39.3-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.39.3-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.39.3-1.cfg
------------------------------------------------------------------------------
Package: glib-2.39.3-x86_64-linux-gnu-1
Config: devel/glib-2.39.3-1.cfg
Summary:
GLib provides the core application building blocks for
libraries and applications written in C.
URL:
https://developer.gnome.org/glib/
Version:
2.39.3
Release:
1
Sources: 1
1: http://ftp.gnome.org/pub/gnome/sources/glib/2.39/glib-2.39.3.tar.xz
sha256: d9fa6c9aa645a5e688a3bb29013bb83801b19ee767d99e33ff52e004e1cc5fc8
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_glib="glib-2.39.3"
%setup source glib -q -n glib-2.39.3
%setup patch glib -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib ../${source_dir_glib}/configure --prefix=/home/joel/rtems-cron-5/tools/5 --bindir=/home/joel/rtems-cron-5/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5/tools/5 --includedir=/home/joel/rtems-cron-5/tools/5/include --libdir=/home/joel/rtems-cron-5/tools/5/lib --libexecdir=/home/joel/rtems-cron-5/tools/5/libexec --mandir=/home/joel/rtems-cron-5/tools/5/share/man --infodir=/home/joel/rtems-cron-5/tools/5/share/info --datadir=/home/joel/rtems-cron-5/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-sysroot=$SYSROOT --disable-dtrace
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:38:00 2019
==============================================================================
Report: devel/qemu-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
Config: devel/qemu-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
42d58e7c6760cb9c55627c28ae538e27dcf2f144
Release:
1
Sources: 1
1: git://git.qemu-project.org/qemu.git?pull?checkout=42d58e7c6760cb9c55627c28ae538e27dcf2f144?submodule=dtc
No checksum
Patches: 1
1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
2: https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
sha256: 5f2ca77e727dc3b4f9d78ff8c62d610b1bc2afd3345106401cf26e99452db067
3: https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
sha256: 9347b9d006434ec36efd36bf7fc5644bd7ce2c04c6cac47fa199380b08eeade4
4: https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
sha256: e011e41c3c5780110c774853f4006d2428c96a814f5740dae84a439f6f0b8930
5: http://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
sha256: 88cd5c9e6e2a6bab23bf049a6f4212ff00083b002b73dbe63b2fe9832717f19e
Preparation:
build_top=$(pwd)
source_dir_qemu="qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144"
%setup source qemu -q -n qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
%setup patch qemu -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
fi
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS} ${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/home/joel/rtems-cron-5/tools/5 ${CROSS_PREFIX_OPTION} --make=make ${VDE_CONFIG} --disable-werror --disable-smartcard-nss --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Oct 30 13:38:01 2019
==============================================================================
Report: devel/qemu-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 5ecf0181b494db3c93a5d88cc9e91a663ff47583
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1
Config: devel/qemu-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
42d58e7c6760cb9c55627c28ae538e27dcf2f144
Release:
1
Sources: 1
1: git://git.qemu-project.org/qemu.git?pull?checkout=42d58e7c6760cb9c55627c28ae538e27dcf2f144?submodule=dtc
No checksum
Patches: 1
1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
2: https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch
sha256: 5f2ca77e727dc3b4f9d78ff8c62d610b1bc2afd3345106401cf26e99452db067
3: https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch
sha256: 9347b9d006434ec36efd36bf7fc5644bd7ce2c04c6cac47fa199380b08eeade4
4: https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch
sha256: e011e41c3c5780110c774853f4006d2428c96a814f5740dae84a439f6f0b8930
5: http://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch
sha256: 88cd5c9e6e2a6bab23bf049a6f4212ff00083b002b73dbe63b2fe9832717f19e
Preparation:
build_top=$(pwd)
source_dir_qemu="qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144"
%setup source qemu -q -n qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
%setup patch qemu -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "" -o "x86_64-linux-gnu" == "" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
LDLIBS="${SB_HOST_LIBS}"
LIBS="${SB_HOST_LIBS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
LIBS_FOR_HOST="${SB_HOST_LIBS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
LDLIBS="${SB_BUILD_LIBS}"
LIBS="${SB_BUILD_LIBS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
fi
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS} ${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/home/joel/rtems-cron-5/tools/5 ${CROSS_PREFIX_OPTION} --make=make ${VDE_CONFIG} --disable-werror --disable-smartcard-nss --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
More information about the build
mailing list