Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
2e5f272c
Commit
2e5f272c
authored
Feb 25, 2016
by
Davide Ciminaghi
Committed by
Alessandro Rubini
Feb 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MAKEALL: get config list from command line
Signed-off-by:
Davide Ciminaghi
<
ciminaghi@gnudd.com
>
parent
f0d49323
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
MAKEALL
MAKEALL
+3
-2
ppsi-manual.in
doc/ppsi-manual.in
+14
-13
No files found.
MAKEALL
View file @
2e5f272c
...
...
@@ -17,8 +17,9 @@ remove_tmp_c=true
B
=
$(
mktemp
/tmp/ppsi-build.XXXXXX
)
remove_tmp_b
=
true
# loop on default .config files, building for all architectures
configs
=
$(
ls
configs
)
# loop on default .config files, building for all architectures or for those
# listed on the command line
[
$#
-ne
0
]
&&
configs
=
$*
||
configs
=
$(
ls
configs
)
for
c
in
$configs
;
do
echo
"##### Building with '
$c
'"
echo
"##### Building with '
$c
'"
>>
$B
...
...
doc/ppsi-manual.in
View file @
2e5f272c
...
...
@@ -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
version or library versions.
What follows is an older example run, limited to hosted compilation;
currently, with the new Kconfig engine introduced after release
2013
.
11
, @t
{
MAKEALL
}
ignores command
-
line arguments and always builds
all configurations; but I plan to add the command line back.
@t
{
MAKEALL
}
builds all configurations by default, but it can also be
forced to build only specific configs by listing them on its command line.
Here's an example showing the build of just a couple configurations:
@example
% ./MAKEALL unix
###### Build for arch "unix", ext "", printf xint
text data bss dec hex filename
15801
224
344
16369
3
ff
1
ppsi.o
34370
984
380
35734
8
b
96
ppsi
###### Build for arch "unix", ext "", all messages
text data bss dec hex filename
16850
224
344
17418
440
a ppsi.o
35410
984
380
36774
8
fa
6
ppsi
% ./MAKEALL bare-i386_defconfig sim_defconfig
##### Building with 'bare
-
i
386
_
defconfig'
text data bss dec hex filename
28057
1356
976
30389
76
b
5
ppsi.o
27347
1356
976
29679
73
ef ppsi
##### Building with 'sim
_
defconfig'
text data bss dec hex filename
39996
1744
556
42296
a
538
ppsi.o
43428
2544
624
46596
b
604
ppsi
@end example
@c ##########################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment