summaryrefslogtreecommitdiffstats
path: root/meta/recipes-rt/rt-tests/files/fix-re-install-failure.patch
Commit message (Collapse)AuthorAgeFilesLines
* rt-tests: bump to v0.94Josh Cartwright2015-11-161-48/+0
| | | | | | | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 37bd229626a259d2509a9cdd2d6a2d934121e9ca) Signed-off-by: Josh Cartwright <joshc@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: fix redo install errorKai Kang2015-08-101-0/+48
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. (From OE-Core rev: a172c208c821af7f9527fe25f337f51c52ba8793) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>