Merge pull request #28 from krisklau/pr/rt-tests

rules: rt-tests: Added package rt-tests that install cyclictests for RT performance benchmark
This commit is contained in:
Ricardo Martins 2016-03-24 10:56:03 +00:00
commit 2ed29cdea0

View File

@ -0,0 +1,32 @@
version=\
(
'0.96'
)
url=\
(
"https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-$version.tar.gz"
)
md5=\
(
'590b2340f66993a978d9806a734d5ea8'
)
maintainer=\
(
'Kristian Klausen <kristian.klausen@itk.ntnu.no>'
)
build()
{
$cmd_make \
CC=$cmd_target_cc cyclictest \
CFLAGS="$cfg_target_gcc_flags"
}
target_install()
{
cp -a cyclictest "$cfg_dir_rootfs/usr/bin/" &&
$cmd_target_strip "$cfg_dir_rootfs/usr/bin/cyclictest"
}