summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-11-17 17:45:19 -0700
committerTom Rini <tom_rini@mentor.com>2010-11-18 07:29:23 -0700
commite01784b74841d142a1cfbc61a6af86e8069bd0ed (patch)
tree5c5c75ebd9746d63cdbacc85882b361f08cc3821 /classes
parente06468eb138fc5e354878b41e395bec238fed872 (diff)
downloadopenembedded-e01784b74841d142a1cfbc61a6af86e8069bd0ed.tar.gz
help2man: Add native recipe, drop check for being provided.
With a recent change to auto* to not build the man pages for native recipes, we can make build progress without help2man being there already. This adds help2man to local.conf.sample as an example of something that is assumed to be provided, drops the sanity.bbclass check and adds a help2man-native recipe. In order to catch the cases where help2man is likely to have been an implicit requirement before we add it to the list that autotools brings in. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/autotools.bbclass4
-rw-r--r--classes/sanity.bbclass2
2 files changed, 3 insertions, 3 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 2c27d0fcd1..247e21d199 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -8,9 +8,9 @@ def autotools_deps(d):
pn = bb.data.getVar('PN', d, 1)
deps = ''
- if pn in ['autoconf-native', 'automake-native']:
+ if pn in ['autoconf-native', 'automake-native', 'help2man-native']:
return deps
- deps += 'autoconf-native automake-native '
+ deps += 'autoconf-native automake-native help2man-native '
if not pn in ['libtool', 'libtool-native', 'libtool-cross']:
deps += 'libtool-native '
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass
index 575530aa84..1e6b170222 100644
--- a/classes/sanity.bbclass
+++ b/classes/sanity.bbclass
@@ -84,7 +84,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (${BUILD_PREFIX}g++),"
- required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
+ required_utilities = "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum chrpath"
# If we'll be running qemu, perform some sanity checks
if data.getVar('ENABLE_BINARY_LOCALE_GENERATION', e.data, True):