Files
poky/meta/recipes-rt/rt-tests/rt-tests.inc
Kai Kang 800ebee9c5 rt-tests: fix redo install error
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>
2015-08-10 12:40:21 -07:00

21 lines
720 B
PHP

# Version v0.92
PV = "0.92"
SRCREV = "5f9f1e3fe327440a9d405f4af8feb16ff7a909eb"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \
file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \
file://0002-rt-tests-Break-out-install_hwlatdetect.patch \
file://added-missing-dependencies.patch \
file://hackbench-fix-error-check.patch \
file://Makefile-fix-gzip-command.patch \
file://fix-re-install-failure.patch \
"
S = "${WORKDIR}/git"
# need to append rt-tests' default CFLAGS to ours
CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnull"
# calling 'uname -m' is broken on crossbuilds
EXTRA_OEMAKE = "NUMA=0"