avr-gcc-libc: strip trailing whitespace

This commit is contained in:
Bjørn Forsman 2016-06-05 11:57:40 +02:00
parent 7c6b575c53
commit 4c722ad380

View File

@ -19,20 +19,20 @@ stdenv.mkDerivation {
sha256 = "15svr2fx8j6prql2il2fc0ppwlv50rpmyckaxx38d3gxxv97zpdj"; sha256 = "15svr2fx8j6prql2il2fc0ppwlv50rpmyckaxx38d3gxxv97zpdj";
}) })
]; ];
sourceRoot = "."; sourceRoot = ".";
nativeBuildInputs = [ texinfo ]; nativeBuildInputs = [ texinfo ];
buildInputs = [ gmp mpfr libmpc zlib ]; buildInputs = [ gmp mpfr libmpc zlib ];
# Make sure we don't strip the libraries in lib/gcc/avr. # Make sure we don't strip the libraries in lib/gcc/avr.
stripDebugList= [ "bin" "avr/bin" "libexec" ]; stripDebugList= [ "bin" "avr/bin" "libexec" ];
installPhase = '' installPhase = ''
# important, without this gcc won't find the binutils executables # important, without this gcc won't find the binutils executables
export PATH=$PATH:$out/bin export PATH=$PATH:$out/bin
# Binutils. # Binutils.
pushd binutils-*/ pushd binutils-*/
mkdir obj-avr mkdir obj-avr
@ -64,7 +64,7 @@ stdenv.mkDerivation {
make install make install
popd popd
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "AVR development environment including binutils, avr-gcc and avr-libc"; description = "AVR development environment including binutils, avr-gcc and avr-libc";
# I've tried compiling the packages separately.. too much hassle. This just works. Fine. # I've tried compiling the packages separately.. too much hassle. This just works. Fine.