Merge pull request #90722 from expipiplus1/joe-exfat-cross

exfat: fix cross compilation
This commit is contained in:
John Ericson 2020-06-18 10:36:12 -04:00 committed by GitHub
commit e985a0b24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
makeFlags = [ makeFlags = [
"KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "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 = '' installPhase = ''