tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Better EXTERNAL_TOOLCHAIN support



In article <CAOLd1xFf73zSEPKuJntEyiiqhvQqm_epmU1gmMkeFuFDop6jzQ%mail.gmail.com@localhost>,
Zachary McGrew  <zmcgrew%gmail.com@localhost> wrote:
>As part of my research bringing up the RISC-V port, I need to use an
>external GCC/Binutils in combination with the rest of the NetBSD
>toolchain.
>
>The following patches allow passing -V BFDDIR="..." -V IBERTYDIR="..."
>-V EXTERNAL_TOOLCHAIN="..." -V TOOLCHAIN_MISSING="yes" to build.sh and
>build all the needed tools (Assuming GCC and Binutils live in
>EXTERNAL_TOOLCHAIN). Without passing BFDDIR and IBERTYDIR the defaults
>are used and everything continues functioning as normal.
>
>There was a comment in tools/Makefile that implied this was intended
>at one point, and no one ever got around to doing it:
>XXX Eventually, we want to be able to build dbsym and mdsetimage
>XXX if EXTERNAL_TOOLCHAIN is set.
>
>If there's a preferred way to submit patches, just let me know.

Something that does not convert tabs into spaces :-)
Anyway, committed!

christos



Home | Main Index | Thread Index | Old Index