summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-29 23:26:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 13:46:19 +0100
commit2f8d643c76f5aa933b95a50092132ef37af203c7 (patch)
tree3dd42b72895f2393bebfd7285fa3e5dce121d25f
parentec8dd98eb410cd49fa53904f0ea60bbd89696ebd (diff)
downloadpoky-2f8d643c76f5aa933b95a50092132ef37af203c7.tar.gz
Remove help2man dependency
The help2man script is pretty useless to us. It requires to run the target binary to extract help information which is not possible for any of our cross compiled target binaries. We're not interested in man pages for -cross/-native tools. It therefore makes no sense to have this as a core build dependency. This patch removes the dependeny and replaces it with a script returning false. This will trigger autotool's missing utility to use the copy of the man page included with the sources which is what would already happen when we tried to run cross compiled binaries anyway. (From OE-Core rev: 288343e30604b944dc18fd82172febd314d9c520) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/autotools.bbclass2
-rwxr-xr-xscripts/help2man3
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index f213c18bf5..c05ab4b0a0 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -7,7 +7,7 @@ def autotools_dep_prepend(d):
7 7
8 if pn in ['autoconf-native', 'automake-native', 'help2man-native']: 8 if pn in ['autoconf-native', 'automake-native', 'help2man-native']:
9 return deps 9 return deps
10 deps += 'autoconf-native automake-native help2man-native ' 10 deps += 'autoconf-native automake-native '
11 11
12 if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"): 12 if not pn in ['libtool', 'libtool-native'] and not pn.endswith("libtool-cross"):
13 deps += 'libtool-native ' 13 deps += 'libtool-native '
diff --git a/scripts/help2man b/scripts/help2man
new file mode 100755
index 0000000000..2bb8d868bd
--- /dev/null
+++ b/scripts/help2man
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3exit 1