aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2020-01-29 13:25:30 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-01-29 15:22:34 +0800
commit8c2fb513234a599edb481f74f74cafe09561a4ee (patch)
tree235b9c9eb98ed89e4dac86a4fe2b367c1d0c3b34
parent712e354efdde31cc90ea30e8d7cef7fd210fd5ab (diff)
downloadmeta-dpdk-8c2fb513234a599edb481f74f74cafe09561a4ee.tar.gz
meta-dpdk-8c2fb513234a599edb481f74f74cafe09561a4ee.tar.bz2
meta-dpdk-8c2fb513234a599edb481f74f74cafe09561a4ee.zip
dpdk: simplify test installation
Use Makefile target to install tests instead of the current error prone method. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--recipes-extended/dpdk/dpdk.inc11
1 files changed, 1 insertions, 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}/