mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
recipes: set S to fix the QA warning
Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,6 +20,9 @@ SRC_URI += "\
|
||||
file://COPYING \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/sources"
|
||||
UNPACKDIR = "${S}"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
DEPENDS = "libcap"
|
||||
|
||||
@@ -50,7 +53,6 @@ do_configure:prepend() {
|
||||
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
|
||||
fi
|
||||
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
|
||||
cp -r ${UNPACKDIR}/COPYING ${S}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user