[meta-ti] [for master 6/6] libdrm: do_install_append added for modetest

Karthik Ramanan a0393906 at ti.com
Wed Sep 24 02:37:12 PDT 2014


Denys,

On 23-Sep-14 11:35 PM, Denys Dmytriyenko wrote:
> Doesn't this work?
>
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-graphics/drm/libdrm-2.4.41/installtests-ti.patch#n43


Yes, it works. The patch that I submitted was not required.
I had not looked at this patch earlier.

Thanks for pointing me to this.

>
>
> On Tue, Sep 23, 2014 at 12:22:54PM -0400, Denys Dmytriyenko wrote:
>> I was pretty sure installtests-ti.patch was supposed to take care of that...
>>
>>
>> On Tue, Sep 23, 2014 at 09:30:36PM +0530, Karthik Ramanan wrote:
>>> * modetest is a very important application to test the drm
>>>    interface, this is not installed by the default make install.
>>>
>>> * It is desirable to have this binary on the target because it
>>>    allows all kinds of basic debugging.
>>>
>>> Signed-off-by: Karthik Ramanan <a0393906 at ti.com>
>>> ---
>>>   recipes-graphics/drm/libdrm_2.4.41.bb |    8 +++++++-
>>>   1 file changed, 7 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/recipes-graphics/drm/libdrm_2.4.41.bb b/recipes-graphics/drm/libdrm_2.4.41.bb
>>> index 0150632..d94dca1 100644
>>> --- a/recipes-graphics/drm/libdrm_2.4.41.bb
>>> +++ b/recipes-graphics/drm/libdrm_2.4.41.bb
>>> @@ -15,6 +15,12 @@ SRC_URI += "file://installtests-ti.patch \
>>>               file://GNU_SOURCE_definition.patch \
>>>              "
>>>
>>> -PR = "${INC_PR}.1"
>>> +PR = "${INC_PR}.2"
>>>
>>>   S = "${WORKDIR}/git"
>>> +
>>> +do_install_append() {
>>> +        mkdir -p ${D}/usr/bin/
>>> +        cp ${S}/tests/modetest/.libs/modetest ${D}/usr/bin
>>> +}
>>> +
>>> --
>>> 1.7.9.5
>>>
>>> --
>>> _______________________________________________
>>> meta-ti mailing list
>>> meta-ti at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-ti
>> --
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti



More information about the meta-ti mailing list