Merge pull request #90722 from expipiplus1/joe-exfat-cross
exfat: fix cross compilation
This commit is contained in:
commit
e985a0b24a
@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [
|
||||
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
"ARCH=${stdenv.hostPlatform.platform.kernelArch}"
|
||||
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user