Commit 2e5f272c authored by Davide Ciminaghi's avatar Davide Ciminaghi Committed by Alessandro Rubini

MAKEALL: get config list from command line

Signed-off-by: Davide Ciminaghi's avatarDavide Ciminaghi <ciminaghi@gnudd.com>
parent f0d49323
...@@ -17,8 +17,9 @@ remove_tmp_c=true ...@@ -17,8 +17,9 @@ remove_tmp_c=true
B=$(mktemp /tmp/ppsi-build.XXXXXX) B=$(mktemp /tmp/ppsi-build.XXXXXX)
remove_tmp_b=true remove_tmp_b=true
# loop on default .config files, building for all architectures # loop on default .config files, building for all architectures or for those
configs=$(ls configs) # listed on the command line
[ $# -ne 0 ] && configs=$* || configs=$(ls configs)
for c in $configs; do for c in $configs; do
echo "##### Building with '$c'" echo "##### Building with '$c'"
echo "##### Building with '$c'" >> $B echo "##### Building with '$c'" >> $B
......
...@@ -1041,21 +1041,22 @@ It may happen, however, that some developers experience errors or ...@@ -1041,21 +1041,22 @@ It may happen, however, that some developers experience errors or
warnings that others didn't notice, because of differences in compiler warnings that others didn't notice, because of differences in compiler
version or library versions. version or library versions.
What follows is an older example run, limited to hosted compilation; @t{MAKEALL} builds all configurations by default, but it can also be
currently, with the new Kconfig engine introduced after release forced to build only specific configs by listing them on its command line.
2013.11, @t{MAKEALL} ignores command-line arguments and always builds Here's an example showing the build of just a couple configurations:
all configurations; but I plan to add the command line back.
@example @example
% ./MAKEALL unix
###### Build for arch "unix", ext "", printf xint % ./MAKEALL bare-i386_defconfig sim_defconfig
text data bss dec hex filename ##### Building with 'bare-i386_defconfig'
15801 224 344 16369 3ff1 ppsi.o text data bss dec hex filename
34370 984 380 35734 8b96 ppsi 28057 1356 976 30389 76b5 ppsi.o
###### Build for arch "unix", ext "", all messages 27347 1356 976 29679 73ef ppsi
text data bss dec hex filename ##### Building with 'sim_defconfig'
16850 224 344 17418 440a ppsi.o text data bss dec hex filename
35410 984 380 36774 8fa6 ppsi 39996 1744 556 42296 a538 ppsi.o
43428 2544 624 46596 b604 ppsi
@end example @end example
@c ########################################################################## @c ##########################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment