Friday, July 4, 2008

The LEON3 sparc linux bootloader generation process is awful

  1. Uses a combination of make and perl scripts reading from a global config.
  2. Includes including includes including includes.
  3. Variables drawn directly from .config files and the aforementioned headers, some of which are written by perl scripts driven from variables as above.
  4. Uses gcc to edit a text file and then calls the result a .o (it is plain ASCII) after hardcoding all of the paths.

I either choose to sanitise this system, or just package it and gingerly push options in its general direction. It is also unclear what license it is under, however as it is part of a linux distro build process I believe that puts it under the GPL whether it is explicit or not.

No comments:

Post a Comment