Patchwork makedevs: Add device_table-minimal.txt to the nativesdk sysroot

login
register
mail settings
Submitter David Nyström
Date Sept. 26, 2013, 10:47 a.m.
Message ID <1380192442-12205-1-git-send-email-david.nystrom@enea.com>
Download mbox | patch
Permalink /patch/59025/
State New
Headers show

Comments

David Nyström - Sept. 26, 2013, 10:47 a.m.
Add an example device_table in the SDK under /usr/share/

Signed-off-by: David Nyström <david.nystrom@enea.com>
---
 meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
Saul Wold - Sept. 26, 2013, 1:48 p.m.
On 09/26/2013 03:47 AM, David Nyström wrote:
> Add an example device_table in the SDK under /usr/share/
>
> Signed-off-by: David Nyström <david.nystrom@enea.com>
> ---
>   meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 ++++++++-
>   1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
> index e6860f0..4c7a5ae 100644
> --- a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
> +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
> @@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
>   SECTION = "base"
>   SRC_URI = "file://makedevs.c \
>              file://COPYING.patch"
> -PR = "r7"
> +PR = "r8"
> +
No PR bump needed any more.

Thanks
	Sau!

> +FILES_${PN}_append_class-nativesdk = " ${datadir}"
>
>   do_configure() {
>   	install -m 0644 ${WORKDIR}/makedevs.c ${S}/
> @@ -19,4 +21,9 @@ do_install() {
>   	install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
>   }
>
> +do_install_append_class-nativesdk() {
> +        install -d ${D}${datadir}
> +        install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
> +}
> +
>   BBCLASSEXTEND = "native nativesdk"
>
David Nyström - Sept. 26, 2013, 3:11 p.m.
On Thu 26 Sep 2013 03:48:26 PM CEST, Saul Wold wrote:
> On 09/26/2013 03:47 AM, David Nyström wrote:
>> Add an example device_table in the SDK under /usr/share/
>>
>> Signed-off-by: David Nyström <david.nystrom@enea.com>
>> ---
>>   meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 ++++++++-
>>   1 file changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>> b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>> index e6860f0..4c7a5ae 100644
>> --- a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>> +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>> @@ -4,7 +4,9 @@ LIC_FILES_CHKSUM =
>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
>>   SECTION = "base"
>>   SRC_URI = "file://makedevs.c \
>>              file://COPYING.patch"
>> -PR = "r7"
>> +PR = "r8"
>> +
> No PR bump needed any more.
>
> Thanks
>     Sau!
>
>> +FILES_${PN}_append_class-nativesdk = " ${datadir}"
>>
>>   do_configure() {
>>       install -m 0644 ${WORKDIR}/makedevs.c ${S}/
>> @@ -19,4 +21,9 @@ do_install() {
>>       install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
>>   }
>>
>> +do_install_append_class-nativesdk() {
>> +        install -d ${D}${datadir}
>> +        install -m 644
>> ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
>> +}
>> +
>>   BBCLASSEXTEND = "native nativesdk"
>>

Any  reference to more info here?
Resend with PR removed ?
Saul Wold - Sept. 26, 2013, 3:47 p.m.
On 09/26/2013 08:11 AM, David Nyström wrote:
> On Thu 26 Sep 2013 03:48:26 PM CEST, Saul Wold wrote:
>> On 09/26/2013 03:47 AM, David Nyström wrote:
>>> Add an example device_table in the SDK under /usr/share/
>>>
>>> Signed-off-by: David Nyström <david.nystrom@enea.com>
>>> ---
>>>   meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 9 ++++++++-
>>>   1 file changed, 8 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>>> b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>>> index e6860f0..4c7a5ae 100644
>>> --- a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>>> +++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
>>> @@ -4,7 +4,9 @@ LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
>>>   SECTION = "base"
>>>   SRC_URI = "file://makedevs.c \
>>>              file://COPYING.patch"
>>> -PR = "r7"
>>> +PR = "r8"
>>> +
>> No PR bump needed any more.
>>
>> Thanks
>>     Sau!
>>
>>> +FILES_${PN}_append_class-nativesdk = " ${datadir}"
>>>
>>>   do_configure() {
>>>       install -m 0644 ${WORKDIR}/makedevs.c ${S}/
>>> @@ -19,4 +21,9 @@ do_install() {
>>>       install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
>>>   }
>>>
>>> +do_install_append_class-nativesdk() {
>>> +        install -d ${D}${datadir}
>>> +        install -m 644
>>> ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
>>> +}
>>> +
>>>   BBCLASSEXTEND = "native nativesdk"
>>>
>
> Any  reference to more info here?
> Resend with PR removed ?
>
No just un-changed.
>
>
>

Patch

diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
index e6860f0..4c7a5ae 100644
--- a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
@@ -4,7 +4,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
 SECTION = "base"
 SRC_URI = "file://makedevs.c \
            file://COPYING.patch"
-PR = "r7"
+PR = "r8"
+
+FILES_${PN}_append_class-nativesdk = " ${datadir}"
 
 do_configure() {
 	install -m 0644 ${WORKDIR}/makedevs.c ${S}/
@@ -19,4 +21,9 @@  do_install() {
 	install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs
 }
 
+do_install_append_class-nativesdk() {
+        install -d ${D}${datadir}
+        install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/
+}
+
 BBCLASSEXTEND = "native nativesdk"