]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
linux: inherit pkgconfig in kernel.bbclass
authorMing Liu <liu.ming50@gmail.com>
Sat, 4 Mar 2023 16:30:29 +0000 (17:30 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 14 Mar 2023 14:42:16 +0000 (04:42 -1000)
pkgconfig is being required to find dependencies for building kernel
native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel
recipes can also benefit from it.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8a84bd98e3fbc16c782f83064801e469d086911e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel.bbclass
meta/recipes-kernel/linux/linux-yocto-dev.bb

index 8b89360991b9660b4e781d59019112483c853780..c6310d8de7d403437d74d67af7f57536fa70fdf5 100644 (file)
@@ -595,7 +595,7 @@ do_savedefconfig() {
 do_savedefconfig[nostamp] = "1"
 addtask savedefconfig after do_configure
 
-inherit cml1
+inherit cml1 pkgconfig
 
 KCONFIG_CONFIG_COMMAND_append = " LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'"
 
index 06a9108fab49c84d2a7cdfb7b8db0494bf49fb0e..a1c0de998178054cffcf69a384d9d85e0cf131d8 100644 (file)
@@ -10,8 +10,6 @@
 
 inherit kernel
 require recipes-kernel/linux/linux-yocto.inc
-# for ncurses tests
-inherit pkgconfig
 
 # provide this .inc to set specific revisions
 include recipes-kernel/linux/linux-yocto-dev-revisions.inc