aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile23
-rw-r--r--scripts/help.txt22
2 files changed, 23 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 9933710b..30219156 100644
--- a/Makefile
+++ b/Makefile
@@ -66,25 +66,4 @@ tests:
scripts/test.sh
help::
- @echo ' toybox - Build toybox.'
- @echo ' COMMANDNAME - Build individual toybox command as a standalone binary.'
- @echo ' list - List COMMANDNAMEs you can build standalone.'
- @echo ' list_pending - List unfinished COMMANDNAMEs out of toys/pending.'
- @echo ' change - Build each command standalone under change/.'
- @echo ' baseline - Create toybox_old for use by bloatcheck.'
- @echo ' bloatcheck - Report size differences between old and current versions'
- @echo ' test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.)'
- @echo ' tests - Run test suite against all compiled commands.'
- @echo ' export TEST_HOST=1 to test host command, VERBOSE=1'
- @echo ' to show diff, VERBOSE=fail to stop after first failure.'
- @echo ' clean - Delete temporary files.'
- @echo " distclean - Delete everything that isn't shipped."
- @echo ' install_airlock - Install toybox and host toolchain into $$PREFIX directory'
- @echo ' (providing $$PATH for hermetic builds).'
- @echo ' install_flat - Install toybox into $$PREFIX directory.'
- @echo ' install - Install toybox into subdirectories of $$PREFIX.'
- @echo ' uninstall_flat - Remove toybox from $$PREFIX directory.'
- @echo ' uninstall - Remove toybox from subdirectories of $$PREFIX.'
- @echo ''
- @echo 'example: CFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox install'
- @echo ''
+ @cat scripts/help.txt
diff --git a/scripts/help.txt b/scripts/help.txt
new file mode 100644
index 00000000..6e8e7825
--- /dev/null
+++ b/scripts/help.txt
@@ -0,0 +1,22 @@
+ toybox - Build toybox.
+ COMMANDNAME - Build individual toybox command as a standalone binary.
+ list - List COMMANDNAMEs you can build standalone.
+ list_pending - List unfinished COMMANDNAMEs out of toys/pending.
+ change - Build each command standalone under change/.
+ baseline - Create toybox_old for use by bloatcheck.
+ bloatcheck - Report size differences between old and current versions
+ test_COMMAND - Run tests for COMMAND (test_ps, test_cat, etc.)
+ tests - Run test suite against all compiled commands.
+ export TEST_HOST=1 to test host command, VERBOSE=1
+ to show diff, VERBOSE=fail to stop after first failure.
+ clean - Delete temporary files.
+ distclean - Delete everything that isn't shipped.
+ install_airlock - Install toybox and host toolchain into $$PREFIX directory
+ (providing $$PATH for hermetic builds).
+ install_flat - Install toybox into $$PREFIX directory.
+ install - Install toybox into subdirectories of $$PREFIX.
+ uninstall_flat - Remove toybox from $$PREFIX directory.
+ uninstall - Remove toybox from subdirectories of $$PREFIX.
+
+example: CFLAGS="--static" CROSS_COMPILE=armv5l- make defconfig toybox install
+