summaryrefslogtreecommitdiffstats
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
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 () {
131 done 131 done
132 done 132 done
133 133
134 # Install test 134 oe_runmake -C test install DESTDIR=${D}${INSTALL_PATH}/test/
135 for dirname in ${S}/test/app/*
136 do
137 install -m 0755 -d ${D}/${INSTALL_PATH}/test
138
139 for appname in `find ${dirname} -regex ".*test\/app\/[-0-9a-zA-Z0-9/_]*$"`
140 do
141 install -m 755 ${appname} ${D}/${INSTALL_PATH}/test
142 done
143 done
144 135
145 cp -r ${S}/mk ${D}${INSTALL_PATH}/ 136 cp -r ${S}/mk ${D}${INSTALL_PATH}/
146 137