[native] Drop deprecated Kotlin/Native targets (2/8)

Remove plain references to removed KonanTarget or Family entries. All
the changes in this commit are simple removal of some when-branches
on now dropped entries

^KT-64517
This commit is contained in:
Dmitry Savvinov
2024-01-16 15:36:07 +01:00
committed by Space Team
parent 0f05ffe111
commit 85bcc8443d
12 changed files with 20 additions and 126 deletions
@@ -28,18 +28,9 @@ class EmulatorExecutor(
this.executableAbsolutePath = configurables.absoluteEmulatorExecutable
this.workingDirectory = workingDirectory
this.args.add(0, request.executableAbsolutePath)
when (configurables.target) {
KonanTarget.LINUX_MIPS32,
KonanTarget.LINUX_MIPSEL32 -> {
// This is to workaround an endianess issue.
// See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731082 for details.
this.args.addAll(0, listOf("$absoluteTargetSysRoot/lib/ld.so.1", "--inhibit-cache"))
}
else -> Unit
}
// TODO: Move these to konan.properties when when it will be possible
// to represent absolute path there.
this.args.addAll(0, listOf("-L", absoluteTargetSysRoot))
})
}
}
}