[meta-freescale] [meta-fsl-arm PATCH 03/14] barebox: Stop using base_contains

Otavio Salvador otavio at ossystems.com.br
Wed May 4 16:11:55 PDT 2016


The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 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 172e748..20e5a4f 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.8.2



More information about the meta-freescale mailing list