[oe-commits] Richard Purdie : ethtool: Fix ptest compile

git at git.openembedded.org git at git.openembedded.org
Fri Nov 22 09:27:09 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5dd8653fdcda5e0e8b4f3c37a46f357bc97ec66c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Nov 22 09:24:04 2013 +0000

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.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/ethtool/ethtool_3.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/ethtool/ethtool_3.12.1.bb b/meta/recipes-extended/ethtool/ethtool_3.12.1.bb
index 19bca2f..6615009 100644
--- a/meta/recipes-extended/ethtool/ethtool_3.12.1.bb
+++ b/meta/recipes-extended/ethtool/ethtool_3.12.1.bb
@@ -16,7 +16,7 @@ inherit autotools ptest
 RDEPENDS_${PN}-ptest += "make"
 
 do_compile_ptest() {
-   oe_runmake buildtest-TESTS
+   oe_runmake test-cmdline test-features
 }
 
 do_install_ptest () {



More information about the Openembedded-commits mailing list