Skip to content

Commit fa7fde1

Browse files
committed
Merge pull request #12 from insop/add_oe_recipe
Add bitbake recipe to add ps_mem for oe, yocto distro
2 parents 702b461 + 734a55a commit fa7fde1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

psmem.bb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# ps_mem
3+
#
4+
SUMMARY = "A utility to accurately report the in core memory usage for a program"
5+
HOMEPAGE = "https://github.com/pixelb/ps_mem"
6+
LICENSE = "LGPLv2"
7+
LIC_FILES_CHKSUM = "file://LICENSE;md5=c05fdef0c0d05f619748e9bb0fb41b21"
8+
9+
PR = "r0"
10+
11+
SRC_URI = "git://github.com/pixelb/ps_mem.git;branch=master;protocol=git"
12+
SRCREV = "702b461d16062f14a9f4191bc731adcf48b51489"
13+
14+
S = "${WORKDIR}/git"
15+
16+
do_compile () {
17+
echo "No compile needed"
18+
}
19+
20+
do_install () {
21+
install -d ${D}${bindir}
22+
install -m 0755 ${S}/ps_mem.py ${D}${bindir}/ps_mem
23+
}
24+
25+
FILES_${PN} += "/*"
26+
FILES_${PN}-dbg += "/www/pages/.debug"

0 commit comments

Comments
 (0)