1 { stdenvNoCC, xorg, newlib, msp430GccSupport }:
3 stdenvNoCC.mkDerivation {
4 name = "msp430-${newlib.name}";
6 inherit msp430GccSupport;
8 preferLocalBuild = true;
9 allowSubstitutes = false;
13 ${xorg.lndir}/bin/lndir -silent $newlib $out
14 ${xorg.lndir}/bin/lndir -silent $msp430GccSupport/include $out/${newlib.incdir}
15 ${xorg.lndir}/bin/lndir -silent $msp430GccSupport/lib $out/${newlib.libdir}
19 inherit (newlib) incdir libdir;
23 platforms = [ "msp430-none" ];