[ELDK] [PATCH v1 1/2] META-ELDK: Linux kernel build-depends on the bc(1) command
Marek Vasut
marex at denx.de
Tue Apr 22 18:46:55 CEST 2014
On Tuesday, April 22, 2014 at 04:14:30 PM, Gerhard Sittig wrote:
> add 'bc-native' as a build dependency in the meta-eldk linux.inc file,
> without the bc(1) program kernel builds fail with this error message
Can you please use capital letters and fullstops in sentences ? I really have
hard time decoding the text, sorry :(
> /bin/sh: 1: bc: not found
> make[1]: *** [kernel/timeconst.h] Error 127
> make: *** [kernel] Error 2
>
> in the absence of the bc command in the native sysroot this error
> might be hidden if the build machine has bc(1) installed locally
>
> Signed-off-by: Gerhard Sittig <gsi at denx.de>
> ---
> meta-eldk/recipes-kernel/linux/linux.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 ?
Best regards,
Marek Vasut
More information about the eldk
mailing list