[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH 2/3] kern-tools-native: don't pull the toolchain as it is not used
From:       "Jose Quaresma" <quaresma.jose () gmail ! com>
Date:       2022-09-30 17:54:39
Message-ID: 20220930175440.2168008-2-jose.quaresma () foundries ! io
[Download RAW message or body]

Content-Transfer-Encoding: 8bit

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.quaresma@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/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic