ethtool: Fix ptest compile
buildtest-TESTS is a phony target and does nothing which results in a do_install error since the tests aren't built. Since there isn't a suitable make target but the number of tests are small, hardcode the two to build to unbreak the build when ptest is enabled. (From OE-Core master rev: 5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c) (From OE-Core rev: b9b213b43c5ff6aa7c04733ce035fc9832065328) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0ed76a495f
commit
6fe4b4dc95
|
@ -16,7 +16,7 @@ inherit autotools ptest
|
||||||
RDEPENDS_${PN}-ptest += "make"
|
RDEPENDS_${PN}-ptest += "make"
|
||||||
|
|
||||||
do_compile_ptest() {
|
do_compile_ptest() {
|
||||||
oe_runmake buildtest-TESTS
|
oe_runmake test-cmdline test-features
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_ptest () {
|
do_install_ptest () {
|
||||||
|
|
Loading…
Reference in New Issue