mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
854 B
BlitzBasic
28 lines
854 B
BlitzBasic
DESCRIPTION = "SystemTap - script-directed dynamic tracing and performance analysis tool for Linux"
|
|
|
|
require systemtap_git.inc
|
|
|
|
DEPENDS = "elfutils sqlite3 systemtap-native"
|
|
DEPENDS_virtclass-native = "elfutils-native sqlite3-native gettext-native"
|
|
DEPENDS_virtclass-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettext"
|
|
|
|
PR = "r0"
|
|
|
|
export CC_FOR_BUILD = "${BUILD_CC}"
|
|
export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
|
|
export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
|
|
|
|
EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \
|
|
--without-nss --without-avahi \
|
|
--disable-server --disable-grapher "
|
|
|
|
STAP_DOCS ?= "--disable-docs --disable-publican --disable-refdocs"
|
|
|
|
EXTRA_OECONF += "${STAP_DOCS} "
|
|
|
|
inherit autotools gettext
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
FILES_${PN}-dbg += "${libexecdir}/systemtap/.debug"
|