mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
* as it uses S = "${WORKDIR}" it's another possible reproducer for
do_patch issue mentioned here:
https://lists.yoctoproject.org/g/yocto/message/56602
(From OE-Core rev: 4d5c5af4dc69df39934fe54500b3dac2fb7b8ae7)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
683 B
BlitzBasic
27 lines
683 B
BlitzBasic
SUMMARY = "Tool for creating device nodes"
|
|
DESCRIPTION = "${SUMMARY}"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://makedevs.c;beginline=2;endline=2;md5=c3817b10013a30076c68a90e40a55570"
|
|
SECTION = "base"
|
|
SRC_URI = "file://makedevs.c"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
FILES:${PN}:append:class-nativesdk = " ${datadir}"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${base_sbindir}
|
|
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"
|