makedevs: set and handle S in a proper way
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>
This commit is contained in:
parent
32fb1de468
commit
ed3ddd467f
|
@ -5,11 +5,9 @@ SECTION = "base"
|
|||
SRC_URI = "file://makedevs.c \
|
||||
file://COPYING.patch"
|
||||
|
||||
FILES_${PN}_append_class-nativesdk = " ${datadir}"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${WORKDIR}/makedevs.c ${S}/
|
||||
}
|
||||
FILES_${PN}_append_class-nativesdk = " ${datadir}"
|
||||
|
||||
do_compile() {
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
|
||||
|
|
Loading…
Reference in New Issue