This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9400 - tools/configure more improvements
Attached to Project:
Rockbox
Opened by Rosso Maltese (asettico) - Sunday, 14 September 2008, 17:00 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 09 August 2009, 21:03 GMT+2
Opened by Rosso Maltese (asettico) - Sunday, 14 September 2008, 17:00 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 09 August 2009, 21:03 GMT+2
|
DetailsThis patch extends the improvements supplied by #8842 to all the values read from stdin.
The command line options added are: --atype=ATYPE --language=LANG --tts=ENGINE --ttsopts=OPTS --encopts=OPTS ATYPE can be a string containing one or more letters, as showed in advanced build menu. |
This task depends upon
Closed by Thomas Martitz (kugel.)
Sunday, 09 August 2009, 21:03 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r22228. Thanks a lot!
Sunday, 09 August 2009, 21:03 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed in r22228. Thanks a lot!
I can think to reorganize the added arguments. I'm not sure, but maybe I added the option atype since due to an overload between normal and advanced options, so it's possible to use the same letters as indicated by the output in the intercative execution. But I need to check them.
Stay tuned! :-)
It supports following command line arguments (some of them belong to
FS#8842):--target=TARGET
--ram=RAM
--type=TYPE
--language=LANG
--tts=ENGINE
--voice=VOICE
--ttsopts=OPTS
--encopts=OPTS
--rbdir=DIR
--ccache
--no-ccache
--help
Now --type accepts a string to select multiple options.
So, if I want to build voice, I will do:
../tools/configure --type=av ...
For the bootloader, I will do:
../tools/configure --type=b ...
For the backlight option (when allowed), I will do:
../tools/configure --type=ab ...
(According with my naming rule for the patch files, last number before the extension indicates the value to be used in patch -p. HTH)
Nothing against the patch itself, but we're getting short on args. The current implementation is badly limited to 10 arguments. This will make adapting make reconf quite hard (it passes all arguments at once). Do you have some plans regarding that?
Also, I was having problems with voice builds. Well, I don't have any voice engine installed, but maybe you can take another look at it?
Probably a clearer way to manage the arguments should be implemented. I will try to rewrite it without change the script logic.
Thanks for the warning.
It would be awesome if you volunteer for that. It's obvious I fail at this thing :)
The major problem is that I'm thinking to completely rewrite the script, but I don't know the use of the different compiler options, so a slight mistake on reproducing the same use of them could lead to a big headaches. ;-)
Anyway I will try.
No changes introduced yet about command line arguments as discussed earlier.
PS: We don't want the indentation changes I think.
I hope to complete the arguments management soon.
OK, for the indentation, I did it just because I found it a little bit fuzzy! ;-)
I'm not sure about the use of the options --ccache and --no-ccache, but I think to be maintained the original behaviour.
Note: some options work together (i.e. --type=av --encopts='-c 10 -q 10'). If you want to leave an option value empty, set it to a blank, like --type=av --ttsopts=' '