Files
meta-openembedded/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
T
Mingli Yu 57eca6e20b memstat: Restore DEBUG_PREFIX_MAP in TARGET_LDFLAGS
oe-core has removed DEBUG_PREFIX_MAP from TARGET_LDFLAGS [1], restore
it to fix the below error.

ERROR: memstat-1.0-r0.wr2401 do_package_qa: QA Issue: File /usr/bin/.debug/memstat in package memstat-dbg contains reference to TMPDIR [buildpaths]
ERROR: memstat-1.0-r0.wr2401 do_package_qa: Fatal QA errors were found, failing task.

[1] https://git.openembedded.org/openembedded-core/commit/?id=1797741aad02b8bf429fac4b81e30cdda64b5448

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-02-06 10:06:20 -08:00

33 lines
1.1 KiB
BlitzBasic

SUMMARY = "Display virtual memory allocation"
DESCRIPTION = "Lists all the processes, executables, and shared libraries \
that are using up virtual memory. It's helpful to see how the shared memory \
is used and which 'old' libs are loaded. \
"
HOMEPAGE = "http://memstattool.sourceforge.net/"
SECTION = "devtool"
LICENSE = "GPL-2.0-only"
S = "${UNPACKDIR}/memstattool"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \
file://0001-Include-limits.h-for-PATH_MAX-definition.patch \
"
SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
do_install:append(){
install -d ${D}${bindir}
install -m 0755 memstat ${D}${bindir}
install -d ${D}${sysconfdir}
install -m 0755 memstat.conf ${D}${sysconfdir}
install -d ${D}${mandir}/man1
install -m 0644 memstat.1 ${D}${mandir}/man1
install -d ${D}${docdir}/${BPN}
install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN}
}