forked from mirrors/nixpkgs
Merge pull request #167059 from squalus/b43cross
b43Firmware: support cross compile
This commit is contained in:
commit
09fa2fb9e6
|
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [ ./no-root-install.patch ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Firmware extractor for cards supported by the b43 kernel module";
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
sha256 = "0vz4ka8gycf72gmnaq61k8rh8y17j1wm2k3fidxvcqjvmix0drzi";
|
||||
};
|
||||
|
||||
buildInputs = [ b43FirmwareCutter ];
|
||||
nativeBuildInputs = [ b43FirmwareCutter ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/firmware
|
||||
|
|
|
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0baw6gcnrhxbb447msv34xg6rmlcj0gm3ahxwvdwfcvq4xmknz50";
|
||||
};
|
||||
|
||||
buildInputs = [ b43FirmwareCutter ];
|
||||
nativeBuildInputs = [ b43FirmwareCutter ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
|
|
Loading…
Reference in a new issue