Changeset 18cea20 in rtems-source-builder


Ignore:
Timestamp:
Jun 5, 2015, 7:00:58 AM (6 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
5b5d6bf
Parents:
68f8038
Message:

devel/qemu: Add support to build VDE if installed.

Check is the VDE development package is installed and if it is
enabled support.

File:
1 edited

Legend:

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

    r68f8038 r18cea20  
    4141  cd ${build_dir}
    4242
     43  %if %{pkgconfig check vdeplug}
     44    VDE_CONFIG="--enable-vde"
     45    VDE_CFLAGS="%{pkgconfig cflags vdeplug}"
     46    VDE_LDFLAGS="%{pkgconfig ldflags vdeplug} %{pkgconfig libs vdeplug}"
     47  %endif
     48
    4349  %{host_build_flags}
    4450
     
    4955  SYSROOT=$SB_TMPPREFIX
    5056
     57  #
     58  # The --extra-cflags and --extra-ldflags do not work as expected.
     59  #
    5160  PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig \
    5261  PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT \
    5362  %{_ld_library_path}=$SYSROOT/lib \
    54   LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib" \
     63  LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib ${VDE_LDFLAGS}" \
     64  CFLAGS="${CFLAGS} ${VDE_CFLAGS}" \
    5565  ../${source_dir_qemu}/configure \
    5666    --prefix=%{_prefix} \
    5767    ${CROSS_PREFIX_OPTION} \
    5868    --make=%{__make} \
     69    ${VDE_CONFIG} \
    5970    --disable-werror \
    6071    --disable-tools \
    6172    --disable-pie \
    6273    --disable-vnc \
     74    --disable-sdl \
     75    --disable-gtk \
     76    --disable-opengl \
    6377    --disable-netmap
    6478
Note: See TracChangeset for help on using the changeset viewer.