lmbench: set up /usr/bin/hello as alternative

As lmbench installs this rather generically-named /usr/bin/hello binary,
it conflicts with the one provided by mbedtls, hence set it up as an
alternative to avoid conflicts when both are installed to rootfs or SDK.

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Denys Dmytriyenko 2023-02-25 23:17:16 +00:00 committed by Khem Raj
parent 4370e3d3fb
commit 3b2330e4ee

View File

@ -99,6 +99,6 @@ pkg_postinst:${PN} () {
RDEPENDS:${PN} = "perl"
FILES:${PN} += "${datadir}/lmbench"
ALTERNATIVE:${PN} = "stream"
ALTERNATIVE:${PN} = "stream hello"
ALTERNATIVE_LINK_NAME[stream] = "${bindir}/stream"
ALTERNATIVE_LINK_NAME[hello] = "${bindir}/hello"