[oe-commits] =?UTF-8?Q?David=20Nystr=C3=B6m=20?=: makedevs: Add device_table-minimal. txt to the nativesdk sysroot
git at git.openembedded.org
git at git.openembedded.org
Wed Oct 2 21:40:54 UTC 2013
Module: openembedded-core.git
Branch: dora
Commit: be697e3cfa67fa61aa9ef2c9c0c75f4ed452414e
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=be697e3cfa67fa61aa9ef2c9c0c75f4ed452414e
Author: David Nyström <david.c.nystrom at gmail.com>
Date: Thu Sep 26 12:47:22 2013 +0200
makedevs: Add device_table-minimal.txt to the nativesdk sysroot
Add an example device_table in the SDK under /usr/share/
Signed-off-by: David Nyström <david.nystrom at enea.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
index e6860f0..6e197b6 100644
--- a/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
+++ b/meta/recipes-devtools/makedevs/makedevs_1.0.0.bb
@@ -6,6 +6,8 @@ SRC_URI = "file://makedevs.c \
file://COPYING.patch"
PR = "r7"
+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"
More information about the Openembedded-commits
mailing list