dbench: split one dpg package

Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Hongxu Jia 2018-09-18 00:05:24 +08:00 committed by Khem Raj
parent a0a1a4fc21
commit face5ee9c1

View File

@ -14,12 +14,13 @@ SRC_URI = "\
inherit autotools
PACKAGES =+ "tbench tbench-dbg"
PACKAGES =+ "tbench"
RPROVIDES_${PN}-dbg += "tbench-dbg"
TARGET_CC_ARCH += "${LDFLAGS}"
FILES_tbench = "${bindir}/tbench* ${prefix}/share/client.txt"
FILES_tbench-dbg += "${bindir}/.debug/tbench*"
SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"