[ELDK] [PATCH v1 1/2] META-ELDK: Linux kernel build-depends on the bc(1) command

Gerhard Sittig gsi at denx.de
Tue Apr 22 20:02:44 CEST 2014


On Tue, 2014-04-22 at 18:46 +0200, Marek Vasut wrote:
> 
> On Tuesday, April 22, 2014 at 04:14:30 PM, Gerhard Sittig wrote:
> > 
> > diff --git a/meta-eldk/recipes-kernel/linux/linux.inc
> > b/meta-eldk/recipes-kernel/linux/linux.inc index
> > 7c08af4a7a69..905849bf20fa 100644
> > --- a/meta-eldk/recipes-kernel/linux/linux.inc
> > +++ b/meta-eldk/recipes-kernel/linux/linux.inc
> > @@ -24,6 +24,7 @@ KERNEL_DIR_SUFFIX = "${@'xenomai' if '${PN}' ==
> > 'linux-xenomai' else 'eldk'}" KERNEL_SRC_PATH_append =
> > '-${KERNEL_DIR_SUFFIX}'
> >  KERNEL_LINK_PATH = "/usr/src/kernel"
> > 
> > +DEPENDS_append = " bc-native "
> >  DEPENDS_append = " u-boot-mkimage-native "
> >  DEPENDS_append_em-x270 = " mtd-utils "
> 
> Nice find, but
> 1) this should be fixed in the Yocto recipe and submitted into mainline Yocto
> 2) you should depend on 'bc' , not 'bc-native' as the -native suffix should be
>    added by Yocto, no ?

Note that the fix applies to the ELDK layer's linux.inc file.
Yocto has 'DEPENDS += "xz-native bc-native"' in the eldk-5.5
meta/recipes-kernel/linux/linux-yocto.inc file.

I ran into the missing bc(1) dependency.  Haven't missed xz(1),
can't tell which platform or configuration of the Linux kernel
requires this (LZMA related tool needed at compile time?).

Of course the setserial dependency on nroff is not specific to
the ELDK.


virtually yours
Gerhard Sittig
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the eldk mailing list