Prevents the default dependencies, namely the C compiler and standard C library (libc), from being added to DEPENDS. This variable is usually used within recipes that do not require any compilation using the C compiler.
This also improves the speed as it will not populate the native sysroot with the toolchain. Signed-off-by: Jose Quaresma <jose.quare...@foundries.io> --- meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb index dea7b65a7c..5fe46341da 100644 --- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb +++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb @@ -19,13 +19,10 @@ inherit native SRC_URI = "git://git.yoctoproject.org/yocto-kernel-tools.git;branch=master" S = "${WORKDIR}/git" -do_configure() { - : -} +INHIBIT_DEFAULT_DEPS = "1" -do_compile() { - : -} +do_configure[noexec] = "1" +do_compile[noexec] = "1" do_install() { oe_runmake DESTDIR=${D}${bindir} install -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171234): https://lists.openembedded.org/g/openembedded-core/message/171234 Mute This Topic: https://lists.openembedded.org/mt/94022665/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-