[meta-intel] [PATCH] dpdk: Add dpdk-test to include test programs

Cal Sullivan california.l.sullivan at intel.com
Fri Jan 5 14:17:55 PST 2018



On 01/02/2018 01:32 AM, He Zhe wrote:
>
> 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.
Merged.

Thanks,
Cal

>
> Thanks,
> Zhe
>
>> Thanks,
>> Anuj
>>



More information about the meta-intel mailing list