[OE-core] [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list

Anders Roxell anders.roxell at linaro.org
Thu Dec 13 10:47:49 UTC 2018


On Tue, 4 Dec 2018 at 15:24, Burton, Ross <ross.burton at intel.com> wrote:
>
> Can't we just add this to HOSTTOOLS instead?

That makes sense, I'll send out a patch shortly.

Cheers,
Anders

> On Tue, 4 Dec 2018 at 13:43, Anders Roxell <anders.roxell at linaro.org> wrote:
> >
> > In newer kernels fold gets used, see output from a build:
> >
> > .../kernel-source/scripts/atomic/atomic-tbl.sh:
> >    line 183: fold: command not found
> >
> > Rework so that coreutils-native is in the DEPENDS list.
> >
> > Signed-off-by: Anders Roxell <anders.roxell at linaro.org>
> > ---
> >  meta/classes/kernel.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
> > index 880c5ef17283..8d83ca4843e3 100644
> > --- a/meta/classes/kernel.bbclass
> > +++ b/meta/classes/kernel.bbclass
> > @@ -4,7 +4,7 @@ KERNEL_PACKAGE_NAME ??= "kernel"
> >  KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
> >
> >  PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }"
> > -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native lzop-native bison-native"
> > +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native lzop-native bison-native coreutils-native"
> >  PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
> >
> >  do_deploy[depends] += "depmodwrapper-cross:do_populate_sysroot"
> > --
> > 2.19.2
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list