diff options
author | Ming Liu <liu.ming50@gmail.com> | 2023-03-04 17:30:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-15 23:09:24 +0000 |
commit | 9fbfbf002e210dbdb2a4b9f3adf8012f245cf38f (patch) | |
tree | 2204ce699837934640e9627a2acbae0212d29f7f | |
parent | 6b2a22bc7babf6c2fd29e8ccded7e6d1a6779cc0 (diff) | |
download | poky-9fbfbf002e210dbdb2a4b9f3adf8012f245cf38f.tar.gz |
linux: inherit pkgconfig in kernel.bbclass
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.
(From OE-Core rev: a5e62888768be641d5da00fd847e0cac96820c75)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 8b89360991..c6310d8de7 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -595,7 +595,7 @@ do_savedefconfig() { | |||
595 | do_savedefconfig[nostamp] = "1" | 595 | do_savedefconfig[nostamp] = "1" |
596 | addtask savedefconfig after do_configure | 596 | addtask savedefconfig after do_configure |
597 | 597 | ||
598 | inherit cml1 | 598 | inherit cml1 pkgconfig |
599 | 599 | ||
600 | KCONFIG_CONFIG_COMMAND_append = " LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'" | 600 | KCONFIG_CONFIG_COMMAND_append = " LD='${KERNEL_LD}' HOSTLDFLAGS='${BUILD_LDFLAGS}'" |
601 | 601 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index 06a9108fab..a1c0de9981 100644 --- a/meta/recipes-kernel/linux/linux-yocto-dev.bb +++ b/meta/recipes-kernel/linux/linux-yocto-dev.bb | |||
@@ -10,8 +10,6 @@ | |||
10 | 10 | ||
11 | inherit kernel | 11 | inherit kernel |
12 | require recipes-kernel/linux/linux-yocto.inc | 12 | require recipes-kernel/linux/linux-yocto.inc |
13 | # for ncurses tests | ||
14 | inherit pkgconfig | ||
15 | 13 | ||
16 | # provide this .inc to set specific revisions | 14 | # provide this .inc to set specific revisions |
17 | include recipes-kernel/linux/linux-yocto-dev-revisions.inc | 15 | include recipes-kernel/linux/linux-yocto-dev-revisions.inc |