Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot
@ 2013-09-26 10:47 David Nyström
  2013-09-26 13:48 ` Saul Wold
  0 siblings, 1 reply; 4+ messages in thread
From: David Nyström @ 2013-09-26 10:47 UTC (permalink / raw)
  To: openembedded-core

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"
+
+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"
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-26 15:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 10:47 [PATCH] makedevs: Add device_table-minimal.txt to the nativesdk sysroot David Nyström
2013-09-26 13:48 ` Saul Wold
2013-09-26 15:11   ` David Nyström
2013-09-26 15:47     ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox