diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-10-25 06:54:34 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-10-25 06:54:34 +0200 |
commit | b9055a68dd1e17e6cdc816ef6e1aa213592f38ca (patch) | |
tree | c4b2c40f3553d5be3be404ff073f62a5188732b6 /Makefile.help | |
parent | eee423c9ed211267a47ca995cd0238ab5d1ece72 (diff) |
config: add support for <custom>_defconfig
Add support for platform specific and/or custom defconfig
per arch. They have to be suffixed by '_defconfig' and are
automatically detected and displayed by issuing 'make ARCH=<arch> help'.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'Makefile.help')
-rw-r--r-- | Makefile.help | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.help b/Makefile.help index d99cf9634..a98d330b8 100644 --- a/Makefile.help +++ b/Makefile.help @@ -28,6 +28,12 @@ help: @echo ' oldconfig - resolve any unresolved symbols in .config' @echo ' silentoldconfig - resolve any unresolved symbols in .config, silently' @echo ' randconfig - generate a random .config' + @$(if $(arch-defconfigs), \ + @echo ''; \ + echo 'Architecture specific configs ($(ARCH))'; \ + $(foreach c, $(arch-defconfigs), \ + printf " %-21s - Build for %s\\n" $(c) $(subst _defconfig,,$(c));) \ + ) @echo @echo 'Installation:' @echo ' install - install both the runtime and the headers' |