This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9112 - Automatically set correct cross compiler path based on user configuration file.
Attached to Project:
Rockbox
Opened by William Poetra Yoga Hadisoeseno (wpyh) - Monday, 23 June 2008, 22:25 GMT+1
Last edited by Marcoen Hirschberg (marcoen) - Monday, 23 June 2008, 22:27 GMT+1
Opened by William Poetra Yoga Hadisoeseno (wpyh) - Monday, 23 June 2008, 22:25 GMT+1
Last edited by Marcoen Hirschberg (marcoen) - Monday, 23 June 2008, 22:27 GMT+1
|
DetailsThis is an attempt to automate the setting of $PATH in tools/rockboxdev.sh, tools/configure and the generated Makefile.
The directory prefix of the cross compilers is stored in ~/.config/rockbox.org/RockboxCompilerPrefix. As the default path (in tools/rockboxdev.sh) is /usr/local, if that file is empty, then $PATH won't be modified. Otherwise, the value stored inside that file will be read, the target platform type appended, and lastly /bin appended. The resulting string will be appended to $PATH. This patch doesn't break existing configuration. But it's most probably incomplete, so please provide feedback on which files need to be modified as well. |
This task depends upon
edit: of course those people who know how to use PATH properly can just ignore the issue by not creating the settings file.