From patchwork Tue Apr 27 09:13:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Urja Rannikko X-Patchwork-Id: 1470601 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=etmo7v02; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FTx022zy7z9sT6 for ; Tue, 27 Apr 2021 19:13:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0CD0840450; Tue, 27 Apr 2021 09:13:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3G-M49QDSkHT; Tue, 27 Apr 2021 09:13:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 7A4B040143; Tue, 27 Apr 2021 09:13:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1DE731BF2BE for ; Tue, 27 Apr 2021 09:13:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1A5AB40143 for ; Tue, 27 Apr 2021 09:13:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRJFz8pjkNO8 for ; Tue, 27 Apr 2021 09:13:46 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by smtp2.osuosl.org (Postfix) with ESMTPS id 6A2D540113 for ; Tue, 27 Apr 2021 09:13:46 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id p6-20020a05600c3586b029014131bbe5c7so3373708wmq.3 for ; Tue, 27 Apr 2021 02:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bcf+NfzwZg7dWaHqtx5vd27oiyujm6qeW1wxJfopESw=; b=etmo7v02qkFR4wpO54nqL9HyW7GGWlcMMwJk/0n+1ImRMl1vFDEYrmZQrlx0HCkNvA Rl4PAjlxzTUDXzDJEBmpI6noGooIFxI57OHUgcsn/xiNvo6BshO7qJabXiOSLDS4t3T7 7B03bCFN1q4N4rTyEM75nbAyHAfxt3kTzPCWGSVvypKPoS5puNaFRdo6Gn1+urds5/ei 6R2XivYcdzKDBjCKaLCgoOfnqCWer7Rha/38LOEOIlAJRMEn4C/s29y4M/EHc7/+rX72 zxeaSLhAfddS5CkjMd4jB8qoIXKOzDwuMofCJqERZLgHYssr6Df5F00Wd0CypwzlBfuf RTjQ== 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:mime-version :content-transfer-encoding; bh=bcf+NfzwZg7dWaHqtx5vd27oiyujm6qeW1wxJfopESw=; b=F0u4I+M2y470OPv/4QFQEoHn96H1KrPOnvyJH+7xPwPw7aFmzhA7QRh8echDL6Xlve QFaEWz4TdjcItdZD1+EwC4OnPANE1kiG8/H9PRRxHXop9n9jBly8z+jpwZu//aeCtojV tkV4ypGHQibGzUzvrOy3MKpyqgmA2Ivxb/x2G39CtAMjDQM+17luOX2sSVXnlI/i9Y9f Hrtgtz0XBWK4tmGtz8qpd0lf1WNGSQ0s2pBbBoXv04Skn9QzTdwMPq774V+n43/BxEEh n+7P/PEXFDV45u8FccEFI+pRXkklbAyjhg988mrMTfASFv7fItCwOGTpDyJiIsVogX/V fHgA== X-Gm-Message-State: AOAM53065c40yCLy/KRci/db8l9AabPioV9CM3dci9JeD8g094YzojLi RAwX0oN+Kj7q5laRImmt8XvCI9P4cQ== X-Google-Smtp-Source: ABdhPJw4wnSfdhe+XvezW06TXPvlaIAofvc73Pt5jYe1FLNsDc1gxgkqNOc+3+Lwi/n4pFu5KMgsVg== X-Received: by 2002:a1c:7711:: with SMTP id t17mr1352860wmi.6.1619514824336; Tue, 27 Apr 2021 02:13:44 -0700 (PDT) Received: from phenom.bananas ([83.146.166.155]) by smtp.gmail.com with ESMTPSA id j7sm6822982wmi.21.2021.04.27.02.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Apr 2021 02:13:43 -0700 (PDT) From: Urja Rannikko To: buildroot@buildroot.org Date: Tue, 27 Apr 2021 12:13:25 +0300 Message-Id: <20210427091325.1488138-1-urjaman@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/links: enable building graphics mode with only fb driver 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: Urja Rannikko , thomas.petazzoni@bootlin.com Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The "fb" framebuffer driver needs GPM (mouse support) to compile, but not DirectFB or Xorg. Also added a Kconfig comment for easier discovery of the GPM requirement. Signed-off-by: Urja Rannikko --- package/links/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/links/Config.in b/package/links/Config.in index 713f53da4e..cc2389c9f1 100644 --- a/package/links/Config.in +++ b/package/links/Config.in @@ -10,11 +10,15 @@ if BR2_PACKAGE_LINKS config BR2_PACKAGE_LINKS_GRAPHICS bool "use graphics" - depends on BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_GPM || BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7 select BR2_PACKAGE_LIBPNG help - Enable graphics output for DirectFB or X11. + Enable graphics output for framebuffer, DirectFB or X11. + Framebuffer output requires GPM (console mouse). Otherwise links will be text-mode only. +comment "links graphics needs GPM, DirectFB or X11" + depends on !BR2_PACKAGE_GPM && !BR2_PACKAGE_DIRECTFB && !BR2_PACKAGE_XORG7 + endif