]> 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>
Fri, 10 Mar 2023 15:54:34 +0000 (05:54 -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-recipe/kernel.bbclass
meta/recipes-kernel/linux/linux-yocto-dev.bb
meta/recipes-kernel/linux/linux-yocto.inc

index 274d748d992cc527e09a69881bf8e721de117988..01f866f0a63a612119e5d4ca01c1487d4b744f17 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 b1b57beac3e0b40d65624fd4145ad4a01a757890..f01931ddec87cf042b7648748701260888af6d8d 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 091003ed8299ed56725bad75b425fab9b59b0904..9bca0e7124919764b5ad4abe2697cbfcbe367093 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"