From patchwork Tue Oct 8 22:09:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 281676 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 2F9FD2C00A3 for ; Wed, 9 Oct 2013 09:11:05 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 97C5B3212A; Tue, 8 Oct 2013 22:11:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dxX3M9iTAzGd; Tue, 8 Oct 2013 22:10:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A3FCB32970; Tue, 8 Oct 2013 22:10:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1FC431CE6E1 for ; Tue, 8 Oct 2013 22:10:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1753F8A286 for ; Tue, 8 Oct 2013 22:10:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qIkW6JxQXJ61 for ; Tue, 8 Oct 2013 22:10:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0F2D989B18 for ; Tue, 8 Oct 2013 22:10:17 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj3so7437390wib.7 for ; Tue, 08 Oct 2013 15:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=RVkxFPBD64jxMYdd35I9S+Pv6rLelCvgn0OaQxlTbbM=; b=Pc4P7RxMbZeD2RaOutFLEXCZi9eYA5L5wzuPIRdYs8qLxDw9qFOXIcFsJa70vGUY0n efPrBnnGTn4zkqXm0Pwl+/MCiMH7HiIdw/rcxGnmjACSFpOg5B+atSOjSy178D4aI6Jb L1jpMUQVXITYKoQpeoF1yT4pEo8MU+plSBhBwe1EpTosxf4tU0XYCkLRrgPRyV48Lrnh eKeB7ieQEiTMC1gwzqwCpWtw7THeIgfCUHQHEfVIStWObkAUU3FTQrIA3aRvFI3N8PsV XU8OHZm1aLrep+USSB9u1DIjluhKWU4nCrPXWraclocYbJoEKDr1vkzaparT8uG9WaFJ vESQ== X-Received: by 10.180.81.71 with SMTP id y7mr25691622wix.63.1381270216545; Tue, 08 Oct 2013 15:10:16 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id iz19sm9319475wic.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 15:10:15 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@busybox.net Date: Wed, 9 Oct 2013 00:09:54 +0200 Message-Id: <39c150aaaafda146089fa861569c11a84d6c90b7.1381269937.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , Peter Korsgaard , "Yann E. MORIN" Subject: [Buildroot] [PATCH 08/11] package/weston: introduce infrastructure to select other compositors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: "Yann E. MORIN" Signed-off-by: "Yann E. MORIN" --- package/weston/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package/weston/Config.in b/package/weston/Config.in index 56eb135..0f168ac 100644 --- a/package/weston/Config.in +++ b/package/weston/Config.in @@ -14,8 +14,6 @@ config BR2_PACKAGE_WESTON depends on BR2_TOOLCHAIN_HAS_THREADS # wayland # Runtime dependency select BR2_PACKAGE_XKEYBOARD_CONFIG - # Make sure at least one backend is selected - select BR2_PACKAGE_WESTON_FBDEV help Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. @@ -26,7 +24,16 @@ config BR2_PACKAGE_WESTON if BR2_PACKAGE_WESTON +# These two options make sure at least one compositor is selected. +config BR2_PACKAGE_WESTON_HAS_COMPOSITOR + bool +config BR2_PACKAGE_WESTON_NEEDS_ONE_COMPOSITOR + def_bool y + depends on ! BR2_PACKAGE_WESTON_HAS_COMPOSITOR + select BR2_PACKAGE_WESTON_FBDEV + config BR2_PACKAGE_WESTON_FBDEV bool "fbdev compositor" + default y endif