Hello,

the build of toybox was broken if CONFIG_TOYBOX_HELP was enabled but
CONFIG_HELP was disabled (and help.h was not yet generated). The
attached patch fixes it.

Felix
# HG changeset patch
# User Felix Janda <felix.ja...@posteo.de>
# Date 1367349103 -7200
# Node ID f2a8f8981c83cb496f61bdd7e5692f4c8cbcb477
# Parent  5735c500f835540a5465adf7f1f4fa0286e6c54c
generated/help.h depends on CONFIG_TOYBOX_HELP

diff -r 5735c500f835 -r f2a8f8981c83 scripts/make.sh
--- a/scripts/make.sh	Tue Apr 30 00:31:01 2013 -0500
+++ b/scripts/make.sh	Tue Apr 30 21:11:43 2013 +0200
@@ -120,7 +120,7 @@
 
 echo "generated/help.h"
 # Only recreate generated/help.h if python is installed
-if [ ! -z "$(which python)" ] && [ ! -z "$(grep 'CONFIG_HELP=y' .config)" ]
+if [ ! -z "$(which python)" ] && [ ! -z "$(grep 'CONFIG_TOYBOX_HELP=y' .config)" ]
 then
   echo "Extract help text from Config.in."
   scripts/config2help.py Config.in > generated/help.h || exit 1
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to