summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt
Commit message (Collapse)AuthorAgeFilesLines
* classes/recipes: Convert SkipPackage -> SkipRecipeRichard Purdie2018-01-252-2/+2
| | | | | | | | The new name is much more consistent with what this actually means. We put the pieces in place to rename everything a while back but looks like we forgot to actually do it! Fix that now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: fix RDEPENDS on several recipes, due to non-existent packagesAlejandro Hernandez2018-01-202-2/+2
| | | | | | | | The packaging has been altered slightly so ensure the dependencies are all still valid. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* meta: remove True option to getVar callsJoshua Lock2016-12-162-2/+2
| | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: fix the recipe version to match upstreamAlexander Kanavin2016-11-063-2/+3
| | | | | | | | | | | Upstream had a 2.0 tag for a while, then removed it and added a 1.1 tag :-/ Let's make it match to avoid confusion. There's only one new commit added, which adds a missing manpage. Also, update the outdated version comment in rt-tests.inc Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: rationalise compiler flagsRoss Burton2016-07-262-6/+1
| | | | | | | | | | | | | This recipe uses some convoluted methods to ensure the build is using the right flags but they don't appear to be needed anymore. No need to prepend HOST_CC_ARCH/TOOLCHAIN_OPTIONS via CFLAGS as the Makefile picks up CC from the environment and that includes these options. No need to append the default CFLAGS as their special options are actually in CPPFLAGS. Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: move ptest to python3Maxin B. John2016-07-083-15/+15
| | | | | | | convert python2 based ptest of rt-tests package to python3 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests, hwlatdetect: upgrade to 2.0Alexander Kanavin2016-06-034-33/+2
| | | | | | | 0001-Makefile-Set-CC-AR-variable-only-if-it-doesn-t-have-.patch has been merged upstream Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hwlatdetect: move to Python 3Alexander Kanavin2016-06-021-2/+4
| | | | | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/lib: Update xrange -> range for python3Richard Purdie2016-06-021-1/+1
| | | | | | xrange() no longer exists in python 3, use range() Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-versions.inc: drop python-related defaultsAlexander Kanavin2016-05-301-0/+1
| | | | | | | | | | There is only one version of python 2.x provided, so no need to set a preferred version. PYTHON_BASEVERSION is now set explicitly in python-dir.bbclass and python3-dir.bbclass, so fix up a few recipes that relied on it being set in default-versions.inc without inheriting python-dir. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
* linux-yocto-rt, core-image-rt*: Explicitly skip when ↵Martin Jansa2016-05-222-0/+16
| | | | | | | | | | | | | | | | | | | | | PREFERRED_PROVIDER_virtual/kernel isn't set to linux-yocto-rt * just like linux-yocto-dev is doing * fixes following errors in world builds: ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt-sdk' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt'] ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it) ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt ERROR: Required build target 'core-image-rt' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: Fix build with non-gcc compilersKhem Raj2016-01-222-1/+32
| | | | | | | Makery hard sets CC to be some form of gcc, make it set only if CC variable is absent in environment. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rt-tests: upgrade to version 0.96Maxin B. John2015-11-253-4/+4
| | | | | | | bump version to 0.96 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: bump to v0.94Josh Cartwright2015-11-168-233/+7
| | | | | | | | | | | | | | | | | | | | All of the rt-tests patches that OE has been carrying have been upstreamed or superceded by changes in the v0.94 release. Adjust SRC_URI to point to canonical upstream git repo, instead of a development tree. There was a notable change upstream that required slight reworking of the recipe. rt-tests now joins other kbuild-inspired projects by making use of a CROSS_COMPILE flag to indicate the compiler prefix. Previously TOOLCHAIN_OPTIONS were conveyed via $CC directly, however, this does not work with CROSS_COMPILE. Workaround this by both specifying CROSS_COMPILE, and feeding the rt-tests build system the proper $(HOST_CC_ARCH)$(TOOLCHAIN_OPTIONS) via $CFLAGS. Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* rt-tests: drop unnecessary added-missing-dependencies.patchJosh Cartwright2015-09-012-43/+0
| | | | | | | | Neither the hackbench target, or the rt-migrate-test target actually depend on librttest.a; drop this unnecessary patch. Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: fix redo install errorKai Kang2015-08-092-0/+49
| | | | | | | | | | | | | | | | | | | | | | | Currently gzip on host is used. If host gzip is provided by pigz, it fails to redo install that pigz can't handle the option after file name. When run command for target install in Makefile: gzip src/backfire/backfire.4 -c > OUTPUT_FILE File src/backfire/backfire.4 is zipped into backfire.4.gz but the OUTPUT_FILE is empty. When rerun do_install, it shows warning: | gzip: src/backfire/backfire.4 does not exist -- skipping and empty manual gzip files are created: $ file image/usr/share/man/man4/backfire.4.gz image/usr/share/man/man4/backfire.4.gz: empty Fix it by putting option '-c' before the file name. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: bump version to v0.92Maxin B. John2015-06-234-25/+17
| | | | | | | | | Version upgrade to v0.92 Rebased below listed patch to newer source code: added-missing-dependencies.patch Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* hwlatdetect: upgrade to version 0.91Maxin B. John2015-04-061-0/+0
| | | | | | | Upgrade hwlatdetect to version 0.91 Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: bump version and enable ptest supportMaxin B. John2015-04-064-3/+428
| | | | | | | | | | | 1. Upgrade version to 0.91 2. Add ptest support [YOCTO #1569] Signed-off-by: Thomas Lundström <thomas.lundstrom@enea.com> Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: fix gzip commandRobert Yang2015-02-142-0/+31
| | | | | | The "-c" doesn't work in command "gzip file -c", need use "gzip -c file" Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* hwlatdetect: fix PVKoen Kooi2014-06-172-0/+1
| | | | | | | As an extra safety measure set PV in the same place as SRCREV. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hwlatdetect 0.85: fix variable orderingKoen Kooi2014-06-171-2/+2
| | | | | | | The OE styleguide says to group R* variables below do_install. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: restore erroneously deleted patch filesGary S. Robertson2014-05-154-0/+156
| | | | | | | | | | | | | | | Commit "rt-tests: bump version 0.87 => 0.89" (SHA1 ID: 7996ca) erroneously deleted several patch files which were still required for proper function of the rt-tests recipe. These missing patches adversely affected builds of the hwlatdetect and hackbench utilities as well as other components. This commit restores the missing patches and allows the recipe to properly generate all the components once more. hwlatdetect and hackbench are built properly and the /usr/src/backfire directory is properly populated on the target system. Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rt-tests: Fix warning flag typoRichard Purdie2014-05-131-1/+1
| | | | | | As per the comment, this makes it match the Makefile Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: bump version 0.87 => 0.89Anders Roxell2014-05-115-158/+2
| | | | | | | | | | | | | | | | | | | | cyclictest was updated to correct some problems with CPU affinity selection and display of help and/or execution details. These patches were accepted by the maintainer of the cyclictest utility. The changes were reflected in an updated release of rt-tests - v0.89 The cyclictest changes were successfully tested on both an ARM v7 and x86_64 host environment. The OE recipe was updated locally to incorporate the newer rt-tests release and the resulting builds were verified for the same ARM v7 target and for qemux86. Patch files obsoleted by the rt-tests 0.89 release were removed from the recipe deleted: meta/recipes-rt/rt-tests/files/0001-rt-tests-Allow-for-user-specified-PYLIB.patch deleted: meta/recipes-rt/rt-tests/files/0002-rt-tests-Break-out-install_hwlatdetect.patch deleted: meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* hwatdetect: Fix build failures from undeclared INC_PRRichard Purdie2014-02-131-2/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: version bump to 0.87Maxin B. John2014-02-113-71/+3
| | | | | | | | - Drop PR and INC_PR. - license remains the same with cyclictest.c checksum change Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* rt-tests: add Upstream-Status for cyclictest patchJim Somerville2013-07-271-0/+3
| | | | | | | | Add "Upstream-Status: Accepted" for: * meta/recipes-rt/rt-tests/files/cyclictest-finish-removal-of-1-second-first-loops.patch Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rt-tests: fix error check in hackbenchJesse Zhang2013-06-252-0/+42
| | | | | | | | Add a patch to fix when an unsigned number is taken as a negative error code. Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* hwlatdetect: add SUMMARY and DESCRIPTIONPaul Eggleton2013-04-291-1/+2
| | | | | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* packagegroup-core-tools-debug: split out Eclipse packagesPaul Eggleton2013-03-231-1/+1
| | | | | | | | | | Split out the packages added for Eclipse remote debugging to a separate package group so that we can avoid pulling them in if not using Eclipse. Fixes [YOCTO #3251]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: fix cyclictest reported 1 sec latenciesJim Somerville2013-02-082-1/+60
| | | | | | | | | | | | | | | | [ CQID: WIND00391769 ] Huge latencies reported close to 1 second when certain options are used in cyclictest. Extend the original commit to remove the 1 second hardcoded timer values from the RELTIME and ITIMER options. Use the the actual interval instead. Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* hwlatdetect: Improve RDEPENDS to be package specificRichard Purdie2013-02-041-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: added missing dependencies in MakefileJackie Huang2012-12-072-2/+54
| | | | | | | | | | | | The following targets missed dependency on librttest.a: pi_stress rt-migrate-test hackbench [YOCTO #3549] Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests/hwlatdetect: Update to 0.85Saul Wold2012-11-213-2/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rt: Add hwlatdetect to rt imagesDarren Hart2012-09-122-2/+2
| | | | | | | | | | This adds the newly separated hwlatdetect package to the rt images. While this pulls in a python dependency, it is worth have hwlatdetect installed by default on these images as they are intended to assist in the evaluation of platforms for use in real-time environments. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: Add hwlatdetect packageDarren Hart2012-09-125-11/+149
| | | | | | | | | | | | | | | | | Split out rt-tests into rt-tests and hwlatdetect packages as the latter requires python and we want to be able to install the core rt-tests on minimal systems without python. This also addresses QA warnings about the hwlatdetect files not being packaged. Add an RRECOMMENDS on the hwlat kernel module package for the new hwlatdetect package as the python test requires the kernel module to function properly (but we probably don't want to kill a build if the exact kernel module package is not available). Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: Update to 0.84, use the kernel.org git repositoryDarren Hart2012-09-122-96/+4
| | | | | | | | | | | The maintainer of rt-tests has recreated the git repository on kernel.org and has stated that kernel.org is now the official source for rt-tests. Update to 0.84. Remove the user cflags and ldflags patch as it is included in the 0.84 release. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-*.bb: Remove usage of EXTRA_IMAGE_FEATURES from some .bb filesRobert P. J. Day2012-07-101-2/+1
| | | | | | | | | | Replace the usage of EXTRA_IMAGE_FEATURES in a small number of .bb files with IMAGE_FEATURES, and leave the use of EXTRA_IMAGE_FEATURES for developers in their local.conf files, to avoid the possibility of undesirable side effects. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-*: remove copyright noticesPaul Eggleton2012-07-102-6/+0
| | | | | | | | | | These image recipes are meant to be examples that people can copy and modify completely for their own purposes, and most of them are so trivial they don't really need copyright notices anyway, so trim them off. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image*sdk: Add kernel-dev to sdk imagesDarren Hart2012-07-031-1/+1
| | | | | | | | | | | | | While sdk images already have dev-pkgs included, the kernel-dev package is special and does not get installed. Add kernel-dev explicitly to the *sdk image recipes. Note: We have to be careful with "IMAGE_INSTALL +=" as it must appear after "inherit core-image" which makes an "IMAGE_INSTALL ?=" assignment. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Jessica Zhang <jessica.zhang@intel.com> CC: Khem Raj <raj.khem@gmail.com>
* core-image-rt-*.bb: require munges DESCRIPTIONBeth Flanagan2012-04-162-4/+2
| | | | | | | | | | The require of core-image-minimal overrides the description. The best fix for this would be conditional setting of DESCRIPTION in the required images for all image descriptions, but that opens a potential can of worms. Moving the require fixes this. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Modify Image DescriptionsElizabeth Flanagan2012-04-062-2/+5
| | | | | | | | Fixes [YOCTO #2227] I've updated the image descriptions per the bug description. Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
* rt-tests: add patch to support passing CFLAGS/LDFLAGSDenys Dmytriyenko2012-03-222-3/+94
| | | | | | | Enable passing OE and Distro-specific CFLAGS/LDFLAGS to the Makefile. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: replace dependency on eglibc with virtual/libcDenys Dmytriyenko2012-03-221-1/+1
| | | | | | | | | That is to support alternative providers of libc, such as glibc, uclibc or even an external binary toolchain. No PR bump is necessary here. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: Add src/backfire to FILES_${PN}Darren Hart2012-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #2114] The rt-tests recipe was issuing the following WARNINGs: WARNING: For recipe rt-tests, the following files/directories were installed but not shipped in any package: WARNING: /usr/src WARNING: /usr/src/backfire WARNING: /usr/src/backfire/backfire.c WARNING: /usr/src/backfire/Makefile Add ${prefix}/src/backfire to FILES_${PN} to include these files in the package. These depend on the target kernel and are meant to be able to be rebuilt as needed. Ideally we would also build this module and include it with rt-tests or the linux-yocto-rt kernel. For now, conform with the intent of the rt-tests Makefile and avoid the WARNINGs. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* rt-tests: update to 0.83Koen Kooi2011-11-041-6/+10
| | | | | | | Fetch from github, kernel.org uri is gone Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: use an explicit commit IDDarren Hart2011-08-121-1/+2
| | | | | | | Using a tag, like v0.73, forces network access to resolve a commit ID. Use the corresponding commit ID in the recipe. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* recipes-rt: add a README documenting the contents of recipes-rtDarren Hart2011-08-121-0/+13
| | | | | | Document the non-obvious bits of using the recipes-rt recipes. Signed-off-by: Darren Hart <dvhart@linux.intel.com>