Use Makefile target to install tests instead of the current error prone
method.

Signed-off-by: Anuj Mittal <[email protected]>
---
 recipes-extended/dpdk/dpdk.inc | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 99d1f69..4b91403 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -131,16 +131,7 @@ do_install () {
                done
        done
 
-       # Install test
-       for dirname in ${S}/test/app/*
-       do
-               install -m 0755 -d ${D}/${INSTALL_PATH}/test
-
-               for appname in `find ${dirname} -regex 
".*test\/app\/[-0-9a-zA-Z0-9/_]*$"`
-               do
-                       install -m 755 ${appname} ${D}/${INSTALL_PATH}/test
-               done
-       done
+       oe_runmake -C test install DESTDIR=${D}${INSTALL_PATH}/test/
 
        cp -r ${S}/mk ${D}${INSTALL_PATH}/
 
-- 
2.21.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6351): 
https://lists.yoctoproject.org/g/meta-intel/message/6351
Mute This Topic: https://lists.yoctoproject.org/mt/70237037/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to