File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # ##############################################################################
2+ # # ##
3+ # # Yocto-recipe to building shared-library for getting ##
4+ # # the Linux-process-ID of running processes ##
5+ # # ##
6+ # #---------------------------------------------------------------------------##
7+ # # Author: Ulrich Becker ##
8+ # # File: process-id.bb ##
9+ # # Date: 14.06.2018 ##
10+ # # Revision: ##
11+ # ##############################################################################
12+
13+ SUMMARY = "Shared-library for getting Linux-process-ID of running processes"
14+
15+ SECTION = "libs"
16+ S = "${WORKDIR} /git"
17+ LICENSE = "GPLv3"
18+ LIC_FILES_CHKSUM = "file://${S} /LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
19+ SRC_URI = "git://github.com/UlrichBecker/get_linux_process_id.git;branch=master"
20+ SRCREV = "${AUTOREV} "
21+ PV = "1.0-git${SRCPV} "
22+ PR = "r0"
23+
24+ TARGET_CC_ARCH += "${LDFLAGS} "
25+
26+ FILES_${PN} += "${libdir} /lib*.so.*"
27+ FILES_${PN} -dev += "${libdir} /lib*.so"
28+ FILES_${PN} -dev += "${includedir} /*.h"
29+
30+ do_compile () {
31+ oe_runmake -C ${S} /src
32+ }
33+
34+ do_install () {
35+ mkdir -p ${D}${includedir}
36+ mkdir -p ${D}${libdir}
37+ oe_runmake -C ${S} /src HEADDER_DIR = ${D}${includedir} LIB_DIR = ${D}${libdir} install
38+ }
39+
40+ # =================================== EOF ======================================
You can’t perform that action at this time.
0 commit comments