Merge pull request #282123 from bgamari/wip/linuxptp-cross

linuxptp: Fix cross-compilation
This commit is contained in:
markuskowa 2024-01-19 23:10:47 +01:00 committed by GitHub
commit ddefaf7ca3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,10 @@ stdenv.mkDerivation rec {
'/usr/include/linux/' "${linuxHeaders}/include/linux/"
'';
makeFlags = [ "prefix=" ];
makeFlags = [
"prefix="
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
];
preInstall = ''
export DESTDIR=$out