[K/N] Drop linuxArm32Hfp from tetris sample

Its sysroot doesn't include SDL2 anymore, so it won't compile anyway.
This commit is contained in:
Sergey Bogolepov
2021-07-22 14:56:35 +07:00
committed by Space
parent 0923d13d55
commit 017c8d8211
@@ -21,7 +21,6 @@ kotlin {
mingwX64()
mingwX86()
}
linuxArm32Hfp()
targets.withType<KotlinNativeTarget> {
sourceSets["${targetName}Main"].apply {
@@ -86,7 +85,6 @@ kotlin {
"-lsetupapi",
"-mwindows"
)
presets["linuxArm32Hfp"] -> linkerOpts(kotlinNativeDataPath.resolve("dependencies/target-sysroot-2-raspberrypi/usr/lib/libSDL2.so").absolutePath)
}
val distTaskName = linkTaskName.replaceFirst("link", "dist")
@@ -112,11 +110,10 @@ kotlin {
presets["linuxX64"] -> includeDirs("/usr/include", "/usr/include/x86_64-linux-gnu", "/usr/include/SDL2")
presets["mingwX64"] -> includeDirs(mingw64Path.resolve("include/SDL2"))
presets["mingwX86"] -> includeDirs(mingw32Path.resolve("include/SDL2"))
presets["linuxArm32Hfp"] -> includeDirs(kotlinNativeDataPath.resolve("dependencies/target-sysroot-2-raspberrypi/usr/include/SDL2"))
}
}
}
compilations["main"].enableEndorsedLibs = true
}
}
}