Free60Project/libxenon — pull request #1 by Juvenal1228 (2011-12-20 07:07:16+00:00)
Title: build-xenon-toolchain (and libxenon makefile) refactor

just a few changes to clean up the build script, making it more readable, and less repetitive.

Also, everything now honors the DESTDIR environment variable, which is really important in most packaging systems.

Last major change is that you can now specify a specific component to build/install like so

```bash
$ ./build-xenon-toolchain binutils
$ ./build-xenon-toolchain gcc1
$ ./build-xenon-toolchain newlib
$ ./build-xenon-toolchain gcc2
```

and for DESTDIR

```bash
$ DESTDIR=~/binutils ./build-xenon-toolchain binutils
```