kumquat-buildroot/package/qt5/qt5base
Benoît Thébaudeau 0f6efa31c1 package/qt5/qt5base: fix build with ccache
Building with ccache failed with:

    Running configuration tests...
    Failed to process makespec for platform 'devices/linux-buildroot-g++'
    Project ERROR: Compiler <path_to_output_dir>/host/usr/bin/ccache <path_to_output_dir>/host/usr/bin/<cross_compile>-g++ not found. Check the value of CROSS_COMPILE -device-option
    Could not read qmake configuration file <path_to_output_dir>/build/qt5base-5.5.0/mkspecs/devices/linux-buildroot-g++/qmake.conf.
    Error processing project file: /dev/null

This was caused by Buildroot setting this in
qt5base-5.5.0/mkspecs/devices/linux-buildroot-g++/qmake.conf:

    QMAKE_CXX               = $${BR_CCACHE} $${CROSS_COMPILE}g++

But qt5base-5.5.0/mkspecs/features/device_config.prf expects QMAKE_CXX
to be a single valid (absolute or QMAKE_PATH_ENV-relative) path to an
existing file, which is not possible if using ccache as above.

Add a patch fixing this by testing only the first value in QMAKE_CXX.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-28 15:38:59 +02:00
..
0001-Force_egl_visual_ID_33.patch
0002-mkspecs-files.patch
0003-xcb-egl-fixes.patch
0004-no-gold-linker-for-host-build.patch
0005-forkd-disable-eventfd-for-uclibc.patch
0006-eglfs-rasp-pi-header-inclusion.patch
0007-big_endian-fix_destformat.patch
0008-QtGui-force-image-dir-in-include_path.patch qt5base: Fix INCLUDE_PATH when no JPEG/PNG support 2015-07-28 23:14:15 +02:00
0009-fix-build-with-ccache.patch package/qt5/qt5base: fix build with ccache 2015-08-28 15:38:59 +02:00
Config.in
qt5base.hash
qt5base.mk qt5: disable for static-only builds 2015-08-26 23:01:10 +02:00