blob: 119dd6f89d8539a7b5b38bb5bfbbcf842389754f [file] [log] [blame]
Denis Vlasenkoda8f43f2006-10-09 19:47:38 +00001# ==========================================================================
2# Build system
3# ==========================================================================
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00004
5help:
6 @echo 'Cleaning:'
7 @echo ' clean - delete temporary files created by build'
8 @echo ' distclean - delete all non-source files (including .config)'
Bernhard Reutner-Fischer8eeaa742008-08-21 13:47:20 +00009 @echo ' doc-clean - delete all generated documentation'
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010 @echo
11 @echo 'Build:'
12 @echo ' all - Executable and documentation'
13 @echo ' busybox - the swiss-army executable'
14 @echo ' doc - docs/BusyBox.{txt,html,1}'
15 @echo ' html - create html-based cross-reference'
16 @echo
17 @echo 'Configuration:'
18 @echo ' allnoconfig - disable all symbols in .config'
19 @echo ' allyesconfig - enable all symbols in .config (see defconfig)'
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000020 @echo ' config - text based configurator (of last resort)'
21 @echo ' defconfig - set .config to largest generic configuration'
22 @echo ' menuconfig - interactive curses-based configurator'
23 @echo ' oldconfig - resolve any unresolved symbols in .config'
24 @echo ' hosttools - build sed for the host.'
25 @echo ' You can use these commands if the commands on the host'
26 @echo ' is unusable. Afterwards use it like:'
Denis Vlasenko5cb40bb2007-12-02 05:36:37 +000027 @echo ' make SED="$(objtree)/sed"'
Daniel Fandrich126f2b22011-07-08 07:59:16 +020028 @$(if $(boards), \
29 $(foreach b, $(boards), \
30 printf " %-21s - Build for %s\\n" $(b) $(subst _defconfig,,$(b));) \
31 echo '')
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000032 @echo
33 @echo 'Installation:'
Denis Vlasenko5cb40bb2007-12-02 05:36:37 +000034 @echo ' install - install busybox into CONFIG_PREFIX'
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035 @echo ' uninstall'
36 @echo
37 @echo 'Development:'
38 @echo ' baseline - create busybox_old for bloatcheck.'
39 @echo ' bloatcheck - show size difference between old and new versions'
40 @echo ' check - run the test suite for all applets'
41 @echo ' checkhelp - check for missing help-entries in Config.in'
42 @echo ' randconfig - generate a random configuration'
43 @echo ' release - create a distribution tarball'
44 @echo ' sizes - show size of all enabled busybox symbols'
45 @echo ' objsizes - show size of each .o object built'
Denis Vlasenkod4fea902007-06-10 00:54:27 +000046 @echo ' bigdata - show data objects, biggest first'
47 @echo ' stksizes - show stack users, biggest first'
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048 @echo