[meta-intel] [PATCH] dpdk: Add dpdk-test to include test programs
He Zhe
zhe.he at windriver.com
Tue Jan 2 01:32:48 PST 2018
On 2018年01月02日 16:59, Mittal, Anuj wrote:
> Hi He Zhe,
>
>> do_install () {
>> @@ -113,9 +118,20 @@ do_install () {
>> install -m 755 ${appname}
>> ${D}/${INSTALL_PATH}/examples/`basename ${dirname}`/
>> 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
>> }
> Does the dpdk makefile provide any way to install these at directly to $D? It looks like the install target installs these to RTE_OUTPUT. Does that need to be ${S}/RTE_TARGET?
After looking around the make files, there seems not. Like target "examples", we need to copy by ourselves.
Thanks,
Zhe
>
> Thanks,
> Anuj
>
More information about the meta-intel
mailing list