From 844ea35b11d7ac310df7e2867aac99b1991b9b60 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 4 May 2016 20:06:30 -0300 Subject: [PATCH] barebox: Stop using base_contains The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: Iedb13dd05f9039ce2dd6b52b4057fd2092ce0c98 Signed-off-by: Otavio Salvador --- recipes-bsp/barebox/barebox.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/barebox/barebox.inc b/recipes-bsp/barebox/barebox.inc index 172e7488..20e5a4ff 100644 --- a/recipes-bsp/barebox/barebox.inc +++ b/recipes-bsp/barebox/barebox.inc @@ -27,7 +27,7 @@ do_pre_configure() { addtask pre_configure before do_configure after do_patch do_compile () { - if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then + if [ "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' Makefile fi unset LDFLAGS -- 2.40.1