Add mkspec for INTEGRITY Qualcomm SA8155P ADP
Change-Id: I3430868fb88f357c3d2d1d3cd8e00088aa26649c Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
300bd7fff8
commit
23a6479715
43
mkspecs/devices/integrity-armv8-SA8155P/qmake.conf
Normal file
43
mkspecs/devices/integrity-armv8-SA8155P/qmake.conf
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#
|
||||||
|
# qmake configuration for INTEGRITY Qualcomm SA8155P ADP
|
||||||
|
#
|
||||||
|
|
||||||
|
load(device_config)
|
||||||
|
|
||||||
|
include(../../common/ghs-integrity-armv8.conf)
|
||||||
|
|
||||||
|
QT_QPA_DEFAULT_PLATFORM = eglfs
|
||||||
|
EGLFS_DEVICE_INTEGRATION = eglfs_openwfd
|
||||||
|
|
||||||
|
qc_multimedia_inc_directory = $$(QC_MULTIMEDIA_INC_DIR)
|
||||||
|
isEmpty(qc_multimedia_inc_directory): \
|
||||||
|
error("This makespec requires the environment variable QC_MULTIMEDIA_INC_DIR to be set.")
|
||||||
|
|
||||||
|
QMAKE_INCDIR += $$(QC_MULTIMEDIA_INC_DIR)
|
||||||
|
|
||||||
|
QMAKE_LIBS_EGL += -lESXEGL_Adreno -lESXGLESv2_Adreno -ladreno_utils -lGSLUser -lOSUser -lpanel -livfs -lposix -lpmem -ltzbsp -lpaged_alloc -lglnext-llvm -lopenwfd -lplanedef -llogger -lnet -lsocket -lrfs_client -lshm_client -lmmosalrfs -lmmosalfile -lOSAbstraction
|
||||||
|
|
||||||
|
QMAKE_LIBS_OPENGL_ES2 += $${QMAKE_LIBS_EGL}
|
||||||
|
|
||||||
|
QMAKE_CFLAGS += -DINTEGRITY
|
||||||
|
QMAKE_CXXFLAGS += -DINTEGRITY
|
||||||
|
|
||||||
|
QMAKE_CFLAGS += -bigswitch
|
||||||
|
QMAKE_CXXFLAGS += -bigswitch
|
||||||
|
QMAKE_LFLAGS += -bigswitch
|
||||||
|
|
||||||
|
dirs = $$(GL_INC_DIR)
|
||||||
|
isEmpty(dirs): \
|
||||||
|
error("This makespec requires the environment variable GL_INC_DIR to be set.")
|
||||||
|
|
||||||
|
QMAKE_INCDIR_EGL = $$split(dirs, $$QMAKE_DIRLIST_SEP)
|
||||||
|
QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_EGL
|
||||||
|
|
||||||
|
dirs = $$(GL_LIB_DIR)
|
||||||
|
isEmpty(dirs): \
|
||||||
|
error("This makespec requires the environment variable GL_LIB_DIR to be set.")
|
||||||
|
|
||||||
|
QMAKE_LIBDIR_EGL = $$split(dirs, $$QMAKE_DIRLIST_SEP)
|
||||||
|
QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_EGL
|
||||||
|
|
||||||
|
load(qt_config)
|
45
mkspecs/devices/integrity-armv8-SA8155P/qplatformdefs.h
Normal file
45
mkspecs/devices/integrity-armv8-SA8155P/qplatformdefs.h
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
/****************************************************************************
|
||||||
|
**
|
||||||
|
** Copyright (C) 2020 The Qt Company Ltd.
|
||||||
|
** Contact: https://www.qt.io/licensing/
|
||||||
|
**
|
||||||
|
** This file is part of the qmake spec of the Qt Toolkit.
|
||||||
|
**
|
||||||
|
** $QT_BEGIN_LICENSE:LGPL$
|
||||||
|
** Commercial License Usage
|
||||||
|
** Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
** accordance with the commercial license agreement provided with the
|
||||||
|
** Software or, alternatively, in accordance with the terms contained in
|
||||||
|
** a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
||||||
|
** information use the contact form at https://www.qt.io/contact-us.
|
||||||
|
**
|
||||||
|
** GNU Lesser General Public License Usage
|
||||||
|
** Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
** General Public License version 3 as published by the Free Software
|
||||||
|
** Foundation and appearing in the file LICENSE.LGPL3 included in the
|
||||||
|
** packaging of this file. Please review the following information to
|
||||||
|
** ensure the GNU Lesser General Public License version 3 requirements
|
||||||
|
** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
|
||||||
|
**
|
||||||
|
** GNU General Public License Usage
|
||||||
|
** Alternatively, this file may be used under the terms of the GNU
|
||||||
|
** General Public License version 2.0 or (at your option) the GNU General
|
||||||
|
** Public license version 3 or any later version approved by the KDE Free
|
||||||
|
** Qt Foundation. The licenses are as published by the Free Software
|
||||||
|
** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
|
||||||
|
** included in the packaging of this file. Please review the following
|
||||||
|
** information to ensure the GNU General Public License requirements will
|
||||||
|
** be met: https://www.gnu.org/licenses/gpl-2.0.html and
|
||||||
|
** https://www.gnu.org/licenses/gpl-3.0.html.
|
||||||
|
**
|
||||||
|
** $QT_END_LICENSE$
|
||||||
|
**
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef QPLATFORMDEFS_H
|
||||||
|
#define QPLATFORMDEFS_H
|
||||||
|
|
||||||
|
#include "../../common/integrity/qplatformdefs.h"
|
||||||
|
|
||||||
|
#endif // QPLATFORMDEFS_H
|
Loading…
Reference in New Issue
Block a user