diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-04 20:06:30 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-05-30 08:31:13 -0300 |
commit | 0c393d4de3cc064a91b5280cf99cf107ab7b0053 (patch) | |
tree | 00c3463c6549c001bad19e271eb17431d12983d9 | |
parent | 61021feb218061444d3cb020931c6d222357d407 (diff) | |
download | meta-fsl-arm-0c393d4de3cc064a91b5280cf99cf107ab7b0053.tar.gz |
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 <otavio@ossystems.com.br>
-rw-r--r-- | recipes-bsp/barebox/barebox.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
27 | addtask pre_configure before do_configure after do_patch | 27 | addtask pre_configure before do_configure after do_patch |
28 | 28 | ||
29 | do_compile () { | 29 | do_compile () { |
30 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then | 30 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then |
31 | sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' Makefile | 31 | sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' Makefile |
32 | fi | 32 | fi |
33 | unset LDFLAGS | 33 | unset LDFLAGS |