From patchwork Fri Nov 30 12:01:20 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: 1005919 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.138; helo=whitealder.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="YKd742pc"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 435tML3Q0Cz9s2P for ; Fri, 30 Nov 2018 23:03:26 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B4CC8839F; Fri, 30 Nov 2018 12:03:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70Vdnx37Gjpr; Fri, 30 Nov 2018 12:03:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E3F2988215; Fri, 30 Nov 2018 12:03:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 156381BF308 for ; Fri, 30 Nov 2018 12:03:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 12ABC873BF for ; Fri, 30 Nov 2018 12:03:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44Lb_e975IXz for ; Fri, 30 Nov 2018 12:03:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f65.google.com (mail-ed1-f65.google.com [209.85.208.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 64585871E5 for ; Fri, 30 Nov 2018 12:03:15 +0000 (UTC) Received: by mail-ed1-f65.google.com with SMTP id b14so4632639edt.6 for ; Fri, 30 Nov 2018 04:03:15 -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=L4wJhjf2wqX+lMvoN0AbLgwBRDGpY/EZrFa75ypcKjY=; b=YKd742pcy+ND/gsK7N2JNpWGP1nUF0zvvMtJ3zaPRXaS8AZs0Fgg27gBc8syCDSGuB NJvbNVQmxICW96848TphCZAKatECrzQazk8ezWw1sTENzGKvIyjzk6iCxKLU7ih15FFj Trd5THB3BV6lx3eDH3uqAQffqiR/8NrOgOE9eFvY5eJIlEITMDOdsAMLF1cq4we9sCfh 1w+uYsKZJoEbIEiDLOB/Piccyaavh9zPo4RE77mgRVSZV9KXAAv9065c3L1ztmJVroJs 1nW0sdVwXVKSrW2yVY87l+vDtadhwEdUkLf++ZFcQOAuPmlQ+eOeH3UvH3F15J/BW4cf meOA== 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=L4wJhjf2wqX+lMvoN0AbLgwBRDGpY/EZrFa75ypcKjY=; b=JKL3C8rFy8+q+QO5sR35KnNSNb4pjQDdj6Tt597pvC0LIiH59+dA5MTWY6lQEVHfK+ 1uyRTWfNI4UicfP7q5thXMmNxaz9rE/tHeb2202b0QlrxdHY02GRBwZu/KPplfyFF5yr n/vOeh6mFN+E2jnG3aujFbeLvlIKkZYBTB8yWNK8I7FUiXDVJ7h80Edhm7DIxLeCoNKU pG5oZrx84hnW952VDGEP8WBUPzvc3MfHqhjwaopnrEtXKkpSdhDsHPU5Vkput80ys4GR mbSQdqiKO1MoqncV7LjnF53RWEHK9OYL1yedZARVk0oxmXbnYzyDpQYUgICix+5mUnRl gozQ== X-Gm-Message-State: AA+aEWa0y1/JxJiYdEcrEvWY2O+IthOi13E5FPb97/7Eja9Z2d6V4F7D EYt0/WqN8UPZlbwbnILVP3zRWB1wJBYLIlYq X-Google-Smtp-Source: AFSGD/XZASehSOhDaWmJE7fYZiNHyMgP1iLbjQ573OfS7N2ctw8iFSvki81sQMODdcFilvNUSFgCRA== X-Received: by 2002:a50:88a4:: with SMTP id d33mr5003781edd.261.1543579393577; Fri, 30 Nov 2018 04:03:13 -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.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 Nov 2018 04:03:12 -0800 (PST) From: Einar Jon Gunnarsson To: buildroot@buildroot.org Date: Fri, 30 Nov 2018 13:01:20 +0100 Message-Id: <1543579283-20496-3-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 2/5] package/qt5: Use any libgbm provider 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" libgbm is not limited to mesa3d Signed-off-by: Einar Jon Gunnarsson ------------------- Only tested for libgbm-ti-sgx - not sunxi_mali. I have not been able to test on actual hardware, but I do get qt to build with gbm *** ./output_ti/build/qt5base-5.11.2/config.summary 2018-11-08 13:18:20.553522890 +0100 --- ./output_ti/build/qt5base-5.11.2-nogbm/config.summary 2018-11-08 11:55:04.709670885 +0100 *************** *** 90,96 **** EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no ! EGLFS GBM ............................ yes EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no --- 90,96 ---- EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no ! EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no Signed-off-by: Einar Jon Gunnarsson --- package/qt5/qt5base/qt5base.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 2b6fd39..4cd6ac0 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -42,10 +42,10 @@ else QT5BASE_CONFIGURE_OPTS += -no-kms endif -# Uses libgbm from mesa3d -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) +# Uses libgbm from mesa3d,ti-sgx-libgbm or sunxi_mali +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) QT5BASE_CONFIGURE_OPTS += -gbm -QT5BASE_DEPENDENCIES += mesa3d +QT5BASE_DEPENDENCIES += $(call qstrip,$(BR2_PACKAGE_PROVIDES_LIBGBM)) else QT5BASE_CONFIGURE_OPTS += -no-gbm endif