Debian Codegraph @

mkspecs/devices/linux-jetson-tk1-pro-g++/qmake.conf

raw
1 #
2 # qmake configuration for the Jetson TK1 Pro boards running Vibrante Linux
3 #
4 # This environment supports eglfs (via DRM, EGLDevice, and EGLStream),
5 # Wayland (requires an EGLStream-capable compositor), and X11 (untested).
6 #
7 # A typical configure line might look like:
8 # configure \
9 # -device jetson-tk1-pro \
10 # -device-option VIBRANTE_SDK_TOPDIR=/opt/nvidia/vibrante-vcm30t124-linux
11 # -device-option CROSS_COMPILE=/opt/nvidia/toolchains/tegra-4.8.1-nv/usr/bin/arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi- \
12 # -sysroot /opt/nvidia/vibrante-vcm30t124-linux/targetfs \
13 # -no-gcc-sysroot
14
15 include(../common/linux_device_pre.conf)
16
17 QMAKE_INCDIR_POST += \
18 $${VIBRANTE_SDK_TOPDIR}/include \
19 $$[QT_SYSROOT]/usr/include
20
21 QMAKE_LIBDIR_POST += \
22 $${VIBRANTE_SDK_TOPDIR}/lib-target \
23 $$[QT_SYSROOT]/usr/lib \
24 $$[QT_SYSROOT]/lib/arm-linux-gnueabihf \
25 $$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf
26
27 QMAKE_RPATHLINKDIR_POST += \
28 $${VIBRANTE_SDK_TOPDIR}/lib-target \
29 $$[QT_SYSROOT]/usr/lib \
30 $$[QT_SYSROOT]/usr/lib/arm-linux-gnueabihf \
31 $$[QT_SYSROOT]/lib/arm-linux-gnueabihf
32
33 DISTRO_OPTS += hard-float
34 COMPILER_FLAGS += -mtune=cortex-a15 -march=armv7-a -mfpu=neon-vfpv4 -DWIN_INTERFACE_CUSTOM
35
36 EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
37
38 include(../common/linux_arm_device_post.conf)
39
40 # override the default from linux_arm_device_post.conf
41 defineTest(qtConfSanitizeMkspec) {
42 isEmpty(VIBRANTE_SDK_TOPDIR): \
43 error("You must pass -device-option VIBRANTE_SDK_TOPDIR=/path/to/sdk")
44 deviceSanityCheckCompiler()
45 }
46
47 load(qt_config)