From 35289ad4e94bbabf1dfa88e71d5d8bd05964aaa4 Mon Sep 17 00:00:00 2001 From: Ronan Date: Fri, 13 Jan 2017 15:28:04 +0100 Subject: replace deprecated function base_contains * replace base_contains by bb.utils.contains * base_contains is deprecated use bb.utils.contains instead * yocto version: 2.2 Change-Id: Ida44a8ded5040cb8bcc1e6140dcbdc795463ce9a Signed-off-by: Ronan --- meta-rcar-gen2/recipes-kernel/linux/linux.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-rcar-gen2/recipes-kernel/linux') diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux.inc b/meta-rcar-gen2/recipes-kernel/linux/linux.inc index af8d8ac..6d1005f 100644 --- a/meta-rcar-gen2/recipes-kernel/linux/linux.inc +++ b/meta-rcar-gen2/recipes-kernel/linux/linux.inc @@ -16,7 +16,7 @@ UDEV_GE_141 ?= "1" KERNEL_ENABLE_CGROUPS ?= "1" # combine oe-core way with angstrom DISTRO_TYPE -DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" +DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" # Set the verbosity of kernel messages during runtime # You can define CMDLINE_DEBUG in your local.conf or distro.conf to override this behaviour @@ -185,7 +185,7 @@ do_configure_prepend() { kernel_configure_variable BLK_DEV_LOOP y fi - if [ "x1" = "x${@base_contains("DISTRO_FEATURES", "usbgadget", "1", "",d)}" ]; then + if [ "x1" = "x${@bb.utils.contains("DISTRO_FEATURES", "usbgadget", "1", "",d)}" ]; then # activate USB-OTG & Gadget kernel_configure_variable USB_OTG y kernel_configure_variable USB_RENESAS_USBHS_UDC y -- cgit 1.2.3-korg