mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
After removal of auto-creating S we must ensure that all recipes are using a proper value for S. Also do some cleanup of code not needed after changing value of S. [YOCTO #5627] (From OE-Core rev: beae29727427f5da2a2287f29b4344538e6c3f1d) Signed-off-by: Petter Mabäcker <petter@technux.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
658 B
BlitzBasic
27 lines
658 B
BlitzBasic
SUMMARY = "Tool for creating device nodes"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
|
|
SECTION = "base"
|
|
SRC_URI = "file://makedevs.c \
|
|
file://COPYING.patch"
|
|
|
|
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"
|