RESOURCES_LIBRARY() NO_PLATFORM_RESOURCES() SET(NEED_PLATFORM_PEERDIRS no) IF (OS_SDK == "local") # Implementation is in $S/build/ymake.core.conf ELSEIF (ARCH_X86_64) IF (OS_SDK == "ubuntu-10") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244388930) ELSEIF (OS_SDK == "ubuntu-12") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244387436) ELSEIF (OS_SDK == "ubuntu-14") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1966560555) ELSEIF (OS_SDK == "ubuntu-16") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:243881345) ELSEIF (OS_SDK == "ubuntu-18") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:617908641) ELSEIF (OS_SDK == "ubuntu-20") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2635714620) ELSE() MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for x86-64") ENDIF() ELSEIF (ARCH_AARCH64) IF (OS_SDK == "ubuntu-16") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:309054781) ELSE() MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for AArch64/ARMv8 64 bit") ENDIF() ELSEIF (ARCH_PPC64LE) IF (OS_SDK == "ubuntu-14") IF (HOST_ARCH_PPC64LE) DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1570528338) ELSE() DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:233217651) ENDIF() ELSE() MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for PPC64LE") ENDIF() ELSEIF (ARCH_ARM7) IF (ARM7_FLOAT_ABI == "hard" AND OS_SDK == "ubuntu-16") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1323200692) ELSEIF (ARM7_FLOAT_ABI == "softfp" AND OS_SDK == "ubuntu-18") DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2402287545) ELSE() MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for ARMv7 32 bit (float ABI: ${ARM7_FLOAT_ABI})") ENDIF() ELSE() MESSAGE(FATAL_ERROR "Unexpected OS_SDK value: ${OS_SDK}") ENDIF() END()