Changeset 6ac3ed8 in rtems-source-builder


Ignore:
Timestamp:
May 1, 2018, 1:58:43 AM (13 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
8e76390
Parents:
10d3aaf
Message:

bare/devel: Add qemu-couverture support.

Add a build set and configuration to build a QEMU we can use for
coverage testing.

Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/config/qemu-1-1.cfg

    r10d3aaf r6ac3ed8  
    2828#
    2929%source set qemu http://wiki.qemu-project.org/download/qemu-%{qemu_version}.tar.bz2
     30
     31
     32#
     33# QEMU Disable component list.
     34#
     35# We are not interested in the VM use case for qemu and most of that
     36# functionality carries host platform baggage which complicates building on a
     37# range of host platforms.
     38#
     39# You can specialise before including this config file.
     40#
     41#
     42%define qemu_std_disables --disable-werror
     43%define qemu_std_disables %{qemu_std_disables} --disable-smartcard-nss
     44%define qemu_std_disables %{qemu_std_disables} --disable-tools
     45%define qemu_std_disables %{qemu_std_disables} --disable-pie
     46%define qemu_std_disables %{qemu_std_disables} --disable-vnc
     47%define qemu_std_disables %{qemu_std_disables} --disable-sdl
     48%define qemu_std_disables %{qemu_std_disables} --disable-gtk
     49%define qemu_std_disables %{qemu_std_disables} --disable-opengl
     50%define qemu_std_disables %{qemu_std_disables} --disable-netmap
     51%ifn %{defined qemu_disables}
     52 %define qemu_disables %{nil}
     53%endif
     54%define qemu_disables %{qemu_std_disables} %{qemu_disables}
     55
     56#
     57# QEMU Targets to build.
     58#
     59%if %{!defined qemu_archs} && %{!defined with_qemu_archs}
     60 %define qemu_target_list %{nil}
     61%else
     62 %if %{defined with_qemu_archs}
     63  %define qemu_target_list --target-list=%{with_qemu_archs}
     64 %else
     65  %define qemu_target_list --target-list=%{qemu_archs}
     66 %endif
     67%endif
    3068
    3169#
     
    74112  PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT \
    75113  %{_ld_library_path}=$SYSROOT/lib \
    76   LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib ${VDE_LDFLAGS}" \
     114  LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" \
    77115  CFLAGS="${CFLAGS} ${VDE_CFLAGS}" \
    78116  ../${source_dir_qemu}/configure \
     
    80118    ${CROSS_PREFIX_OPTION} \
    81119    --make=%{__make} \
     120    %{qemu_target_list} \
    82121    ${VDE_CONFIG} \
    83     --disable-smartcard-nss \
    84     --disable-werror \
    85     --disable-tools \
    86     --disable-pie \
    87     --disable-vnc \
    88     --disable-sdl \
    89     --disable-gtk \
    90     --disable-opengl \
    91     --disable-netmap
     122    %{qemu_disables}
    92123
    93124  %{_ld_library_path}=$SYSROOT/lib \
Note: See TracChangeset for help on using the changeset viewer.