mirror of
git://git.yoctoproject.org/poky
synced 2026-09-16 21:13:18 +00:00
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: 8a84bd98e3fbc16c782f83064801e469d086911e) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
011cc9a104
commit
44913cfab4
@ -660,7 +660,7 @@ do_savedefconfig() {
|
|||||||
do_savedefconfig[nostamp] = "1"
|
do_savedefconfig[nostamp] = "1"
|
||||||
addtask savedefconfig after do_configure
|
addtask savedefconfig after do_configure
|
||||||
|
|
||||||
inherit cml1
|
inherit cml1 pkgconfig
|
||||||
|
|
||||||
# Need LD, HOSTLDFLAGS and more for config operations
|
# Need LD, HOSTLDFLAGS and more for config operations
|
||||||
KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}"
|
KCONFIG_CONFIG_COMMAND:append = " ${EXTRA_OEMAKE}"
|
||||||
|
|||||||
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
inherit kernel
|
inherit kernel
|
||||||
require recipes-kernel/linux/linux-yocto.inc
|
require recipes-kernel/linux/linux-yocto.inc
|
||||||
# for ncurses tests
|
|
||||||
inherit pkgconfig
|
|
||||||
|
|
||||||
# provide this .inc to set specific revisions
|
# provide this .inc to set specific revisions
|
||||||
include recipes-kernel/linux/linux-yocto-dev-revisions.inc
|
include recipes-kernel/linux/linux-yocto-dev-revisions.inc
|
||||||
|
|||||||
@ -47,7 +47,6 @@ LINUX_VERSION_EXTENSION ??= "-yocto-${LINUX_KERNEL_TYPE}"
|
|||||||
# Pick up shared functions
|
# Pick up shared functions
|
||||||
inherit kernel
|
inherit kernel
|
||||||
inherit kernel-yocto
|
inherit kernel-yocto
|
||||||
inherit pkgconfig
|
|
||||||
|
|
||||||
B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build"
|
B = "${WORKDIR}/linux-${PACKAGE_ARCH}-${LINUX_KERNEL_TYPE}-build"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user