]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Mar 2023 09:52:14 +0000 (09:52 +0000)
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>
meta/classes-recipe/kernel.bbclass
meta/recipes-kernel/linux/linux-yocto-dev.bb
meta/recipes-kernel/linux/linux-yocto.inc

index 3f9c6c00e6899e708320ba6e8be070a7739d56bd..92090ac14e96bfb7ac39330576ad8c4b17ae5eff 100644 (file)
@@ -660,7 +660,7 @@ do_savedefconfig() {
 do_savedefconfig[nostamp] = "1"
 addtask savedefconfig after do_configure
 
-inherit cml1
+inherit cml1 pkgconfig
 
 # Need LD, HOSTLDFLAGS and more for config operations
 KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}"
index 9ef5b80a377f75f7deba71eaddf305c23b7cfae5..8039a52324f2bc85cf0420f1202e013534b77f5d 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
index 93eef9e946846b5b43e6b65a8184bf8c35d8cc6c..934591ff1c8444aa5452f9a91e5d6ff325a4e2a4 100644 (file)
@@ -47,7 +47,6 @@ LINUX_VERSION_EXTENSION ??= "-yocto-${LINUX_KERNEL_TYPE}"
 # Pick up shared functions
 inherit kernel
 inherit kernel-yocto
-inherit pkgconfig
 
 B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build"