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>
This commit is contained in:
parent
9f3706fcb4
commit
66bf6562d2
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue