mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00

There is no need to have two assignments; also setting S from UNPACKDIR (and not vice versa) is more logical as unpack task comes first, and tasks that come after unpack use S to access unpack results. Also adjust reference test data in selftest/recipeutils to reflect changes in test recipes. (From OE-Core rev: f64b7e5fb3181734c8dde87b27e872a026261a74) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
685 B
BlitzBasic
27 lines
685 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 = "${UNPACKDIR}"
|
|
|
|
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"
|