All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list
@ 2018-12-04 13:42 Anders Roxell
  2018-12-04 14:23 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Anders Roxell @ 2018-12-04 13:42 UTC (permalink / raw)
  To: openembedded-core

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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list
  2018-12-04 13:42 [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list Anders Roxell
@ 2018-12-04 14:23 ` Burton, Ross
  2018-12-13 10:47   ` Anders Roxell
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2018-12-04 14:23 UTC (permalink / raw)
  To: Anders Roxell; +Cc: OE-core

Can't we just add this to HOSTTOOLS instead?
On Tue, 4 Dec 2018 at 13:43, Anders Roxell <anders.roxell@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list
  2018-12-04 14:23 ` Burton, Ross
@ 2018-12-13 10:47   ` Anders Roxell
  0 siblings, 0 replies; 3+ messages in thread
From: Anders Roxell @ 2018-12-13 10:47 UTC (permalink / raw)
  To: ross.burton; +Cc: Patches and discussions about the oe-core layer

On Tue, 4 Dec 2018 at 15:24, Burton, Ross <ross.burton@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@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@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@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-13 10:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-04 13:42 [PATCH] kernel.bbclass: add coreutils-native to the DEPENDS list Anders Roxell
2018-12-04 14:23 ` Burton, Ross
2018-12-13 10:47   ` Anders Roxell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.