diff options
author | David Nyström <david.c.nystrom@gmail.com> | 2013-09-26 12:47:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-30 22:11:57 +0100 |
commit | 66bf6562d22b9217f1047ead3319f0faa91c2d90 (patch) | |
tree | 65b32d79d46e5bed23e7054f98f2427a2aac2950 /meta/recipes-devtools/makedevs/makedevs_1.0.0.bb | |
parent | 9f3706fcb4e6c731ecdfe557919992f5f2b3cd2b (diff) | |
download | poky-66bf6562d22b9217f1047ead3319f0faa91c2d90.tar.gz |
makedevs: Add device_table-minimal.txt to the nativesdk sysroot
Add an example device_table in the SDK under /usr/share/
(From OE-Core rev: be697e3cfa67fa61aa9ef2c9c0c75f4ed452414e)
Signed-off-by: David Nyström <david.nystrom@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/makedevs/makedevs_1.0.0.bb')
-rw-r--r-- | 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 e6860f0c13..6e197b6e74 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 \ | |||
6 | file://COPYING.patch" | 6 | file://COPYING.patch" |
7 | PR = "r7" | 7 | PR = "r7" |
8 | 8 | ||
9 | FILES_${PN}_append_class-nativesdk = " ${datadir}" | ||
10 | |||
9 | do_configure() { | 11 | do_configure() { |
10 | install -m 0644 ${WORKDIR}/makedevs.c ${S}/ | 12 | install -m 0644 ${WORKDIR}/makedevs.c ${S}/ |
11 | } | 13 | } |
@@ -19,4 +21,9 @@ do_install() { | |||
19 | install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs | 21 | install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs |
20 | } | 22 | } |
21 | 23 | ||
24 | do_install_append_class-nativesdk() { | ||
25 | install -d ${D}${datadir} | ||
26 | install -m 644 ${COREBASE}/meta/files/device_table-minimal.txt ${D}${datadir}/ | ||
27 | } | ||
28 | |||
22 | BBCLASSEXTEND = "native nativesdk" | 29 | BBCLASSEXTEND = "native nativesdk" |