[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 16:14:30 CEST 2014
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
/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 "
--
1.7.10.4
More information about the eldk
mailing list