[1/4] kernel: drop implicit build dependency to build-essential

Message ID 20260731144345.1560688-2-felix.moessbauer@siemens.com
State New
Headers show
Series Fix kernel build and propagation of linux-libc-dev | expand

Commit Message

Felix Moessbauer July 31, 2026, 2:43 p.m. UTC
This dependency in general should not be explicitly added, as stated in
Debian policy ยง7.7. By not adding it, we avoid unnecessary dependencies
across cross and native builds by just letting the chroot provide the
right one.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta/classes-recipe/linux-kernel.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Patch

diff --git a/meta/classes-recipe/linux-kernel.bbclass b/meta/classes-recipe/linux-kernel.bbclass
index 09323e57..ff8b1e61 100644
--- a/meta/classes-recipe/linux-kernel.bbclass
+++ b/meta/classes-recipe/linux-kernel.bbclass
@@ -17,8 +17,7 @@  DISTRIBUTOR ?= "Isar"
 # pinned due to known or possible issues with compat 12
 DEBIAN_COMPAT:buster = "10"
 
-KBUILD_DEPENDS ?= "build-essential:native, \
-                   libelf-dev:native, \
+KBUILD_DEPENDS ?= "libelf-dev:native, \
                    libncurses-dev:native, \
                    libssl-dev:native, \
                    bc, \