summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-08 12:20:58 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-07-08 12:20:58 +0000
commite491fba22190ee8a867e94e78f150307e767ea99 (patch)
treec78cb692df86f357b82590bbf991af13d94a2e3e
parentd99aa310627c30ec5a6d3f258d38ff21a0efbfd1 (diff)
- add help target
-rw-r--r--Makefile20
1 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 38f1a6600..956818349 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ CONFIG = package/config
noconfig_targets := menuconfig config oldconfig randconfig \
defconfig allyesconfig allnoconfig release tags \
- source-check
+ source-check help
# $(shell find . -name *_defconfig |sed 's/.*\///')
@@ -342,8 +342,24 @@ endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
cp $(shell find ./target/ -name $@) .config
@$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+help:
+ @echo 'Cleaning:'
+ @echo ' clean - delete temporary files created by build'
+ @echo ' distclean - delete all non-source files (including .config)'
+ @echo
+ @echo 'Build:'
+ @echo ' all - make world'
+ @echo
+ @echo 'Configuration:'
+ @echo ' menuconfig - interactive curses-based configurator'
+ @echo ' oldconfig - resolve any unresolved symbols in .config'
+ @echo
+ @echo 'Miscellaneous:'
+ @echo ' source - download all sources needed for offline-build'
+ @echo ' source-check - check all packages for valid download URLS'
+ @echo
.PHONY: dummy subdirs release distclean clean config oldconfig \
- menuconfig tags check test depend defconfig
+ menuconfig tags check test depend defconfig help