Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 14536E00DBB; Wed, 4 May 2016 16:13:11 -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.192.51 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qg0-f51.google.com (mail-qg0-f51.google.com [209.85.192.51]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 93898E00DA4 for ; Wed, 4 May 2016 16:13:03 -0700 (PDT) Received: by mail-qg0-f51.google.com with SMTP id f92so32057546qgf.0 for ; Wed, 04 May 2016 16:13:03 -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=pK0LW35cegrtAYjNQwL0lcTDMiT2qBub8Z/Zg32FoYg=; b=mjaK6cSEqZA9RXNTDuTV4sPIKEq6/xBmKpDG+gBbpJAHUWux6X+qStZnX7htFtBUWD H1s8nNS59V8PR5Wn0RY0iMtcwWgzGMzN1XyOXnHE6kjp5zoEkK8x2vAw6a+9HKUiCe8S 3++T8jJ/pDF58GeN1m3QUcAa/+TtQaKA0kspL7onyJb9RBfym58YOIt7FfkO6yRS9Nx/ ak5dY560vaBIHMe8YHDYv4bdqFcM63A5K2yKjo7yl/w1G7mo8vVVggDWdX/EzqUiKy6m AtKipef2uNjb2/t5qOReBPFV0Xtm137X74VCPt84nfKfgmLujNv8djGx42Z01A8mbtCj Kinw== X-Gm-Message-State: AOPr4FW6h+DaZD6oLwHlCElHQviS2CLGy5t8IfG1QguJRYhfE9CBilfFLkS+b39UOma/AA== X-Received: by 10.140.19.131 with SMTP id 3mr10001417qgh.83.1462403582825; Wed, 04 May 2016 16:13:02 -0700 (PDT) Received: from localhost ([187.23.154.250]) by smtp.gmail.com with ESMTPSA id 13sm2284351qgt.8.2016.05.04.16.12.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 May 2016 16:13:01 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Wed, 04 May 2016 20:12:57 -0300 From: Otavio Salvador To: meta-freescale Mailing List Date: Wed, 4 May 2016 20:12:02 -0300 Message-Id: <1462403526-22302-10-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 10/14] imx-gpu-viv: 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:13:11 -0000 The base_contains function is deprecated and we ought to use bb.utils.contains instead. Signed-off-by: Otavio Salvador --- recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc index 38099cd..4ad7a02 100644 --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc @@ -7,8 +7,8 @@ SECTION = "libs" LICENSE = "Proprietary" LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" -DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ - base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ '', d), d)} \ libpng" @@ -53,8 +53,8 @@ python __anonymous () { raise bb.parse.SkipPackage('The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.') } -HAS_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" -HAS_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" +HAS_X11 = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" +HAS_WL = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" # Inhibit warnings about files being stripped. INHIBIT_PACKAGE_STRIP = "1" -- 2.8.2