mirror of https://gitee.com/openkylin/qemu.git
pixman: add output dir to include path
Needed to make sure the (generated) pixman-version.h file is found. Based on a patch from Blue Swirl. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
f5022a135e
commit
5ca9388a4d
|
@ -2121,11 +2121,10 @@ else
|
||||||
echo " git submodule update --init pixman"
|
echo " git submodule update --init pixman"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
pixman_cflags="-I${source_path}/pixman/pixman"
|
mkdir -p pixman/pixman
|
||||||
pixman_libs="-Lpixman/pixman/.libs -lpixman-1"
|
pixman_cflags="-I\$(SRC_PATH)/pixman/pixman -I\$(BUILD_DIR)/pixman/pixman"
|
||||||
|
pixman_libs="-L\$(BUILD_DIR)/pixman/pixman/.libs -lpixman-1"
|
||||||
fi
|
fi
|
||||||
QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags"
|
|
||||||
libs_softmmu="$libs_softmmu $pixman_libs"
|
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# libcap probe
|
# libcap probe
|
||||||
|
@ -3137,6 +3136,10 @@ if test "$cpu" = "ppc64" -a "$targetos" != "Darwin" ; then
|
||||||
roms="$roms spapr-rtas"
|
roms="$roms spapr-rtas"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# add pixman flags after all config tests are done
|
||||||
|
QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags"
|
||||||
|
libs_softmmu="$libs_softmmu $pixman_libs"
|
||||||
|
|
||||||
echo "Install prefix $prefix"
|
echo "Install prefix $prefix"
|
||||||
echo "BIOS directory `eval echo $qemu_datadir`"
|
echo "BIOS directory `eval echo $qemu_datadir`"
|
||||||
echo "binary directory `eval echo $bindir`"
|
echo "binary directory `eval echo $bindir`"
|
||||||
|
@ -4154,7 +4157,6 @@ DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas"
|
||||||
DIRS="$DIRS roms/seabios roms/vgabios"
|
DIRS="$DIRS roms/seabios roms/vgabios"
|
||||||
DIRS="$DIRS qapi-generated"
|
DIRS="$DIRS qapi-generated"
|
||||||
DIRS="$DIRS libcacard libcacard/libcacard libcacard/trace"
|
DIRS="$DIRS libcacard libcacard/libcacard libcacard/trace"
|
||||||
DIRS="$DIRS pixman"
|
|
||||||
FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
|
FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
|
||||||
FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
|
FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
|
||||||
FILES="$FILES tests/tcg/lm32/Makefile libcacard/Makefile"
|
FILES="$FILES tests/tcg/lm32/Makefile libcacard/Makefile"
|
||||||
|
|
Loading…
Reference in New Issue