From patchwork Fri Nov 30 12:01:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Einar_J=C3=B3n?= X-Patchwork-Id: 1005920 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ain0XcnL"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 435tMT3NFwz9s2P for ; Fri, 30 Nov 2018 23:03:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8760E886A4; Fri, 30 Nov 2018 12:03:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SoagG0N5lCxZ; Fri, 30 Nov 2018 12:03:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B8F528869A; Fri, 30 Nov 2018 12:03:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9BBC61BF308 for ; Fri, 30 Nov 2018 12:03:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 98DF72FFF5 for ; Fri, 30 Nov 2018 12:03:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lcEAmqxpl311 for ; Fri, 30 Nov 2018 12:03:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by silver.osuosl.org (Postfix) with ESMTPS id 535AD2FFEF for ; Fri, 30 Nov 2018 12:03:18 +0000 (UTC) Received: by mail-ed1-f68.google.com with SMTP id j6so4620685edp.9 for ; Fri, 30 Nov 2018 04:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ktsK1SlkSQItA0otx8/i8FcllRH+0Akc+TiuzUi9cMc=; b=Ain0XcnL6Pd/j68HFSI932H9yFA8DibSsSjVBvuFCCISUAKe1tITWHWVmmlaxIvz7n 7mnC+nxqBwQ7nbuy7s3culx6VmurbVDw2YLc7xXn2BUmOAm/wo76H+PFXP75hpan+tQ4 hcDuXuS8t2QccJotoCOowmBfSkPRyDAWIQZ2SlwFfYDwVMaWvgV8syskJSEatNqXk2Qa FFBEAHurQzRIfL/lsy6390cW8sukN7R27RUtwF9XiEVURkGMUlmHVIoZVvTaihbd40Ou HDIiAPtXuMG161wvbFBI5GBvHERNtaBZS46P/ddCIqu+NdyxYYEbgZoa03q9+NRYHhPu s8Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ktsK1SlkSQItA0otx8/i8FcllRH+0Akc+TiuzUi9cMc=; b=KiNXwUlXqk7IhkpnwkCZVNicEoDOZ25J0SMxRQ4QAVdwvcKsOsYqJT2jCli7xRW/B8 qdRTvdqA6lARkNDzVxSPrEfw9ulpnHf/zoPZZ6xWxjwzsvoLBKgsNOLvCu8KoGEpuD4D jE9lj3E8f4514Yj721y8YnJfXllLWr6hP7aN1fNYxuwU6Hn6pdrOnto4t1fy66K6jWJk tVQwhrxOW5eMiiSM6TvNIa4iHu7BGh9glBdOHGivPF9EN7/QEFKYxjEIPF0FQkCr773d uyDOuS+BNpuX/oyx+PIrT1JaRQBnnTaZUMptDTk61mc02MhSANHGTZneRieu4Ibpj6nS 6pyg== X-Gm-Message-State: AA+aEWYMjbvaUANnNdeWDwV6zydqlCz8VKUnZ3Z3iAEaRPlMDGrm8WZT G0ZkDCcfHekkGCARG6OcN46AJxmkMt0JqboZ X-Google-Smtp-Source: AFSGD/WvbiWUrCWsbnAigk84Tbw/wuN9iT8uZafnFf/PTv7AJ3NNZudbLGc7JKNKVupyoz/2azlXtQ== X-Received: by 2002:a50:8466:: with SMTP id 93mr5063010edp.209.1543579395237; Fri, 30 Nov 2018 04:03:15 -0800 (PST) Received: from localhost.localdomain ([143.176.206.168]) by smtp.gmail.com with ESMTPSA id j21-v6sm775329ejz.51.2018.11.30.04.03.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Nov 2018 04:03:14 -0800 (PST) From: Einar Jon Gunnarsson To: buildroot@buildroot.org Date: Fri, 30 Nov 2018 13:01:21 +0100 Message-Id: <1543579283-20496-4-git-send-email-tolvupostur@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1543579283-20496-1-git-send-email-tolvupostur@gmail.com> References: <1543579283-20496-1-git-send-email-tolvupostur@gmail.com> Subject: [Buildroot] [PATCH 3/5] package/qt5: fix EGLFS for embedded boards X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lothar Felten , Einar Jon Gunnarsson , Peter Seiderer , Thomas Petazzoni , Giulio Benetti MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Note that on some boards the special value of none is used instead of an actual plugin. This indicates that no special integration is necessary to use EGL with the framebuffer and so no plugins must be loaded. Signed-off-by: Einar Jon Gunnarsson ----------- see http://doc.qt.io/qt-5/embedded-linux.html Signed-off-by: Einar Jon Gunnarsson --- package/qt5/qt5base/qt5base.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 4cd6ac0..ee72ba9 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -254,6 +254,9 @@ QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv else ifeq ($(BR2_PACKAGE_SUNXI_MALI)$(BR2_PACKAGE_SUNXI_MALI_MAINLINE),y) # use mali backend QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_mali +else ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),) +# avoid error "EGL library doesn't support Emulator extensions". Needed for ti_sgx +QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = none endif endif