mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.
(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
544 B
BlitzBasic
20 lines
544 B
BlitzBasic
SUMMARY = "Example of how to build an external Linux kernel module"
|
|
DESCRIPTION = "${SUMMARY}"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
|
|
|
inherit module
|
|
|
|
SRC_URI = "file://Makefile \
|
|
file://hello.c \
|
|
file://COPYING \
|
|
"
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
# The inherit of module.bbclass will automatically name module packages with
|
|
# "kernel-module-" prefix as required by the oe-core build environment.
|
|
|
|
RPROVIDES:${PN} += "kernel-module-hello"
|