diff options
author | Kai Kang <kai.kang@windriver.com> | 2019-12-24 09:54:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 08:47:12 +0000 |
commit | 5ed831f45b6bf0772d4132514557576bdae5d66c (patch) | |
tree | 64c0aaf40ed476c5042c318dcd885f0ce61fe17f /meta/recipes-core/kbd | |
parent | cbe0b1987b516d8b75fa9150cef9520a99947d13 (diff) | |
download | poky-5ed831f45b6bf0772d4132514557576bdae5d66c.tar.gz |
kbd: fix ptest can NOT run issue
After kbd updated to 2.2.0, it fails to run ptest:
| make: *** No rule to make target 'libkbdfile-test01.c', needed by 'libkbdfile-test01'.
Update sed expression to fix such kind of issues. And also make target
dumpkeys-bkeymap and dumpkeys-bkeymap which are required by ptest.
(From OE-Core rev: 2fb86f46baed43316086ce10de635c326e073c2d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/kbd')
-rw-r--r-- | meta/recipes-core/kbd/kbd_2.2.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/kbd/kbd_2.2.0.bb b/meta/recipes-core/kbd/kbd_2.2.0.bb index f2521617e5..88041bc878 100644 --- a/meta/recipes-core/kbd/kbd_2.2.0.bb +++ b/meta/recipes-core/kbd/kbd_2.2.0.bb | |||
@@ -29,7 +29,7 @@ PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," | |||
29 | PACKAGECONFIG[tests] = "--enable-tests, --disable-tests, libcheck" | 29 | PACKAGECONFIG[tests] = "--enable-tests, --disable-tests, libcheck" |
30 | 30 | ||
31 | do_compile_ptest() { | 31 | do_compile_ptest() { |
32 | oe_runmake -C ${B}/tests dumpkeys-fulltable alt-is-meta | 32 | oe_runmake -C ${B}/tests alt-is-meta dumpkeys-bkeymap dumpkeys-fulltable dumpkeys-mktable |
33 | } | 33 | } |
34 | 34 | ||
35 | do_install_ptest() { | 35 | do_install_ptest() { |
@@ -42,7 +42,7 @@ do_install_ptest() { | |||
42 | -e 's:${RECIPE_SYSROOT}::g' \ | 42 | -e 's:${RECIPE_SYSROOT}::g' \ |
43 | -e 's:${S}/config/missing::g' \ | 43 | -e 's:${S}/config/missing::g' \ |
44 | -e 's:${WORKDIR}::g' \ | 44 | -e 's:${WORKDIR}::g' \ |
45 | -e '/libkeymap_.*_SOURCES =/d' -e '/$(EXEEXT):/,/^$/d' ${D}${PTEST_PATH}/tests/Makefile | 45 | -e '/^lib.*_SOURCES =/d' -e '/$(EXEEXT):/,/^$/d' ${D}${PTEST_PATH}/tests/Makefile |
46 | 46 | ||
47 | find ${B}/tests -executable -exec install {} ${D}${PTEST_PATH}/tests \; | 47 | find ${B}/tests -executable -exec install {} ${D}${PTEST_PATH}/tests \; |
48 | find ${S}/tests \( -name \*.map -o -name \*.bin -o -name \*.output \) -exec install {} ${D}${PTEST_PATH}/tests \; | 48 | find ${S}/tests \( -name \*.map -o -name \*.bin -o -name \*.output \) -exec install {} ${D}${PTEST_PATH}/tests \; |