This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9559 - use BOOTDIR define in the bootloader
Attached to Project:
Rockbox
Opened by Thomas Martitz (kugel.) - Monday, 17 November 2008, 09:58 GMT+2
Last edited by Björn Stenberg (zagor) - Sunday, 23 November 2008, 23:08 GMT+2
Opened by Thomas Martitz (kugel.) - Monday, 17 November 2008, 09:58 GMT+2
Last edited by Björn Stenberg (zagor) - Sunday, 23 November 2008, 23:08 GMT+2
|
DetailsI have no idea why, but the bootloader is hardcoded to /.rockbox (and if that fails to /), even though there's a bootdir define in the target configs. This patch fixes that.
|
This task depends upon
+ printf("Can't load %s:", BOOTFILE);
could be done simpler as
printf("Can't load " BOOTFILE ":");
Anyway. I'll change it (if you don't do it, it's one line where you can even edit the diff). You're probably right, doing that at compile time would be better. (and I don't care about either way that much as I already said sometimes).
Still not my definition of simpler. More effective, indeed. But imho not really simpler.
What do you think about the BOOTFILE thing?