blob: 430a6a9631b6e8d1f15c60ffe36df6a966012f97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
SUMMARY = "CPU partitioning tool"
DESCRIPTION = "partrt is a tool for dividing a SMP Linux system into a real time domain and a non-real time domain."
SECTION = "utils"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b52bab7a403562f36be803f11489f1a4"
RDEPENDS_${PN} = "bash coreutils"
RDEPENDS_${PN}-ptest += "python"
SRC_URI = "git://github.com/OpenEneaLinux/rt-tools.git;branch=master;protocol=https \
file://run-ptest \
"
SRCREV = "9d4d1ce26b58ada516466c30e53c75c2961d6f0a"
inherit ptest
S = "${WORKDIR}/git"
FILES_${PN} += "/bin/*"
do_install() {
install -d ${D}/usr/bin
install ${S}/partrt/partrt ${D}/usr/bin
}
do_install_ptest() {
install ${S}/partrt/test/test_partition.py ${D}${PTEST_PATH}
sed -i s/target/${MACHINE}/ ${D}${PTEST_PATH}/run-ptest
}
|