xbursttools: Cleanup slightly

This commit is contained in:
John Ericson
2018-05-09 23:40:13 -04:00
committed by John Ericson
parent e42a7a5c0b
commit f063a860d6
3 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchgit, libusb, libusb1, autoconf, automake, confuse, pkgconfig
, gccCross ? null, crossPrefix
, gccCross ? null
}:
let
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
'';
configureFlags = if gccCross != null then
"--enable-firmware CROSS_COMPILE=${crossPrefix}-"
"--enable-firmware CROSS_COMPILE=${gccCross.targetPrefix}"
else "";
# Not to strip cross build binaries (this is for the gcc-cross-wrapper)