On 6/20/2024 8:17 PM, Denys Dmytriyenko wrote:
> On Thu, Jun 20, 2024 at 03:37:12PM -0500, Khan, Sabeeh wrote:
>> On 6/20/2024 3:27 PM, Denys Dmytriyenko wrote:
>>> On Wed, Jun 19, 2024 at 10:22:02PM -0500, Sabeeh Khan via 
>>> lists.yoctoproject.org wrote:
>>>> [...]
>>>>
>>>> diff --git 
>>>> a/meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts.bb
>>>>  
>>>> b/meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts.bb
>>>> new file mode 100644
>>>> index 00000000..2f13f911
>>>> --- /dev/null
>>>> +++ 
>>>> b/meta-ti-extras/recipes-connectivity/cc33xx-target-scripts/cc33xx-target-scripts.bb
>>>> @@ -0,0 +1,22 @@
>>>> +DESCRIPTION = "Scripts and configuration files for TI cc33xx wireless 
>>>> drivers"
>>> SUMMARY
>> Apologies for not being familiar, but are you suggesting here
>>
>> to have "SUMMARY" variable instead of "DESCRIPTION", or in addition to?
>>
>> Can I please have some more context over the ask here?
>>
>> I don't see "SUMMARY" variable in other meta-ti recipes, so I'm
>> looking for a reference.
> https://urldefense.com/v3/__https://docs.yoctoproject.org/ref-manual/variables.html*term-SUMMARY__;Iw!!G3vK!T0lI-6cdoXVmU9UPzr9erSCvNsNdMvKJfZFYYP7HcUra2w5WfkbtKxo7hDbZ8P2Uk5WwWYI2c9n5$
>  
> https://urldefense.com/v3/__https://docs.yoctoproject.org/ref-manual/variables.html*term-DESCRIPTION__;Iw!!G3vK!T0lI-6cdoXVmU9UPzr9erSCvNsNdMvKJfZFYYP7HcUra2w5WfkbtKxo7hDbZ8P2Uk5WwWRlLSudn$
>  
>
> SUMMARY is a shorter version of the package description (one-line under 72 
> characters), while DESCRIPTION can be a longer multi-line description.
>
> DESCRIPTION can be omitted and will be derived from SUMMARY, but not the 
> other 
> way around.
>
> In the very old days only the DESCRIPTION was used, hence old recipes still 
> don't set SUMMARY, but newly added recipes should not do that.
>
> Here's one of the many recipes in meta-ti that properly uses/sets both:
> https://urldefense.com/v3/__https://git.yoctoproject.org/meta-ti/tree/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc__;!!G3vK!T0lI-6cdoXVmU9UPzr9erSCvNsNdMvKJfZFYYP7HcUra2w5WfkbtKxo7hDbZ8P2Uk5WwWUukMkI9$
>  
This makes it very clear, thank you!
I'll make the changes throughout the series.
>
>>>> [...]
>>>> +
>>>> +do_install() {
>>>> +  install -d ${D}${datadir}/cc33xx/
>>>> +
>>>> +  scripts=`find ./* -type f -name "*.*"`
>>> Is this find command necessary?
>> The recipe should install .sh and .conf files from the git repo only.
>>
>> This was done to ignore any README or license files and not have
>> them installed.
> I believe you can use globs directly with install, unless there's a 
> directory hierarchy:
>
> install -m 0755 *.* ${D}${datadir}/cc33xx/
Yes, there is also a directory hierarchy.
So for now I will leave this as is.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17790): 
https://lists.yoctoproject.org/g/meta-ti/message/17790
Mute This Topic: https://lists.yoctoproject.org/mt/106774315/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to