mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
base.bbclass: Create a BASEDEPENDS variable other classes can use to add to the base dependencies, avoiding native/nativesdk issues
(From OE-Core rev: fe2f1e1708e34758c70db37ce480453e10fc4eb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -89,9 +89,11 @@ def base_dep_prepend(d):
|
|||||||
deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc "
|
deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc "
|
||||||
return deps
|
return deps
|
||||||
|
|
||||||
DEPENDS_prepend="${@base_dep_prepend(d)} "
|
BASEDEPENDS = "${@base_dep_prepend(d)}"
|
||||||
DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} "
|
|
||||||
DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} "
|
DEPENDS_prepend="${BASEDEPENDS} "
|
||||||
|
DEPENDS_virtclass-native_prepend="${BASEDEPENDS} "
|
||||||
|
DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} "
|
||||||
|
|
||||||
FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}"
|
FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}"
|
||||||
# THISDIR only works properly with imediate expansion as it has to run
|
# THISDIR only works properly with imediate expansion as it has to run
|
||||||
|
|||||||
Reference in New Issue
Block a user