Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 13BAFE00DC0; Wed, 4 May 2016 16:12:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.220.175 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 61B86E00D96 for ; Wed, 4 May 2016 16:12:41 -0700 (PDT) Received: by mail-qk0-f175.google.com with SMTP id n63so34735596qkf.0 for ; Wed, 04 May 2016 16:12:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:organization; bh=Co67TsE2lB0sVA5RIVInUHvM7mrAwKXH4VhmR/ZC4Pk=; b=fgE9GTkuLLxvyfzFNONWXX75ux62AKU5FRv+uSeetFZw6dlL0tqHrXrfQTBa2bz3nG j5SRsNFFOlOyWK2FILp/tBsDqQ/TEh51aVE/7b86+Xp/WEzj5fWRKtKP0gym7gpXaC/U VRVQ8HA+gg8Rlw2uiKWcUend+4kes4zyF1nLw8LHvF0RxWvWM+1Bem8t7V3H6wlicyM6 swygl+F1i9DeyzroAmMLUPDKyQ41P+2KdoJp/0uwqx4s/380TxqrWdGYoLFtYaFRx9dw MTLUS090a+h4E6qyDhpQF+Kp8NLWwbE0iPBggeq6red4jHIGaiwGCzqBf6RL6xebCYkm S4jQ== X-Gm-Message-State: AOPr4FVk/ThRR3mqom4HXL6l12/yKQ693XFO7HZHdnI6M5xkHqeJMYwztdmdjQMt4Ygmjw== X-Received: by 10.55.71.66 with SMTP id u63mr11860136qka.67.1462403560696; Wed, 04 May 2016 16:12:40 -0700 (PDT) Received: from localhost ([187.23.154.250]) by smtp.gmail.com with ESMTPSA id e63sm2274600qga.17.2016.05.04.16.12.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 May 2016 16:12:39 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Wed, 04 May 2016 20:12:35 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Wed, 4 May 2016 20:11:58 -0300 Message-Id: <1462403526-22302-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1462403526-22302-1-git-send-email-otavio@ossystems.com.br> References: <1462403526-22302-1-git-send-email-otavio@ossystems.com.br> Organization: O.S. Systems Software LTDA. Cc: Otavio Salvador Subject: [meta-fsl-arm PATCH 06/14] cairo: Stop using base_contains X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2016 23:12:48 -0000 The base_contains function is deprecated and we ought to use bb.utils.contains instead. Signed-off-by: Otavio Salvador --- recipes-graphics/cairo/cairo_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend index 66e019a..6f9e09d 100644 --- a/recipes-graphics/cairo/cairo_%.bbappend +++ b/recipes-graphics/cairo/cairo_%.bbappend @@ -1,6 +1,6 @@ CFLAGS_append_mx6 = " -DLINUX \ - ${@base_contains('DISTRO_FEATURES', 'x11', '', \ - base_contains('DISTRO_FEATURES', 'wayland', \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', \ '-DEGL_API_FB -DEGL_API_WL', '-DEGL_API_FB', d), d)}" PACKAGECONFIG_append_mx6q = " egl glesv2" -- 2.8.2