[ELDK] [PATCH v1 2/2] setserial build-depends on the nroff(1) command
Gerhard Sittig
gsi at denx.de
Tue Apr 22 16:14:31 CEST 2014
add 'groff-native' as a build dependency to setserial, without it
compilation aborts with the following error:
nroff -man setserial.8 > setserial.cat
/bin/sh: 1: nroff: not found
make: *** [setserial.cat] Error 127
make: *** Waiting for unfinished jobs....
in the absence of the nroff executable in the native sysroot this error
might be hidden if the build machine has nroff(1) installed locally
Signed-off-by: Gerhard Sittig <gsi at denx.de>
---
meta/recipes-bsp/setserial/setserial_2.17.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-bsp/setserial/setserial_2.17.bb b/meta/recipes-bsp/setserial/setserial_2.17.bb
index 8f112ed6ada6..78bb535508cb 100644
--- a/meta/recipes-bsp/setserial/setserial_2.17.bb
+++ b/meta/recipes-bsp/setserial/setserial_2.17.bb
@@ -17,6 +17,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2"
SRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a"
+DEPENDS += " groff-native "
+
do_install() {
install -d ${D}${bindir}
install -d ${D}${mandir}/man8
--
1.7.10.4
More information about the eldk
mailing list