rules: rt-tests: Added package rt-tests that install cyclictests for RT performance benchmark

This commit is contained in:
Kristian Klausen 2016-03-22 14:46:16 +01:00
parent 6f91882231
commit c5d0e3040f

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"
}