[poky] [BERNARD 13/17] Remove help2man dependency

Joshua Lock josh at linux.intel.com
Thu Nov 3 14:31:25 PDT 2011


From: Richard Purdie <richard.purdie at linuxfoundation.org>

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 at linuxfoundation.org>
---
 scripts/help2man |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
 create mode 100755 scripts/help2man

diff --git a/scripts/help2man b/scripts/help2man
new file mode 100755
index 0000000..2bb8d86
--- /dev/null
+++ b/scripts/help2man
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 1
-- 
1.7.7




More information about the poky mailing list