diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-01 18:30:49 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-07 13:30:26 +0100 |
| commit | 0c31f55bcfd6630d894dd2dda6ca483bea5de4ab (patch) | |
| tree | 362ae6300bfa295709e24a4879639fb4c0fb5116 /meta-oe/recipes-benchmark | |
| parent | b4524eb786472e69e28212a58a329a5e44e40547 (diff) | |
| download | meta-openembedded-0c31f55bcfd6630d894dd2dda6ca483bea5de4ab.tar.gz | |
Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark')
| -rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 72553cfd68..823e07c182 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | |||
| @@ -38,7 +38,7 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
| 38 | #The CUSTOM_LDSCRIPTS doesn't work with the gold linker | 38 | #The CUSTOM_LDSCRIPTS doesn't work with the gold linker |
| 39 | inherit cpan-base | 39 | inherit cpan-base |
| 40 | do_configure() { | 40 | do_configure() { |
| 41 | if [ "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then | 41 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then |
| 42 | sed -i 's/CUSTOM_LDSCRIPTS = yes/CUSTOM_LDSCRIPTS = no/' Makefile | 42 | sed -i 's/CUSTOM_LDSCRIPTS = yes/CUSTOM_LDSCRIPTS = no/' Makefile |
| 43 | fi | 43 | fi |
| 44 | 44 | ||
diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb b/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb index fdf54e3b1f..708c71f4ff 100644 --- a/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb +++ b/meta-oe/recipes-benchmark/sysbench/sysbench_0.4.12.bb | |||
| @@ -13,7 +13,7 @@ SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+files/${BPN}_${PV}.ori | |||
| 13 | SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d" | 13 | SRC_URI[md5sum] = "3a6d54fdd3fe002328e4458206392b9d" |
| 14 | SRC_URI[sha256sum] = "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e" | 14 | SRC_URI[sha256sum] = "83fa7464193e012c91254e595a89894d8e35b4a38324b52a5974777e3823ea9e" |
| 15 | 15 | ||
| 16 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)}" | 16 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'largefile', d)}" |
| 17 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," | 17 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," |
| 18 | PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio," | 18 | PACKAGECONFIG[aio] = "--enable-aio,--disable-aio,libaio," |
| 19 | PACKAGECONFIG[mysql] = "--with-mysql \ | 19 | PACKAGECONFIG[mysql] = "--with-mysql \ |
