ya.make 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. RESOURCES_LIBRARY()
  2. NO_PLATFORM_RESOURCES()
  3. SET(NEED_PLATFORM_PEERDIRS no)
  4. IF (OS_SDK == "local")
  5. # Implementation is in $S/build/ymake.core.conf
  6. ELSEIF (ARCH_X86_64)
  7. IF (OS_SDK == "ubuntu-10")
  8. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244388930)
  9. ELSEIF (OS_SDK == "ubuntu-12")
  10. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:244387436)
  11. ELSEIF (OS_SDK == "ubuntu-14")
  12. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1966560555)
  13. ELSEIF (OS_SDK == "ubuntu-16")
  14. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:243881345)
  15. ELSEIF (OS_SDK == "ubuntu-18")
  16. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:617908641)
  17. ELSEIF (OS_SDK == "ubuntu-20")
  18. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2635714620)
  19. ELSEIF (OS_SDK == "ubuntu-22")
  20. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:6495397322)
  21. ELSE()
  22. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for x86-64")
  23. ENDIF()
  24. ELSEIF (ARCH_AARCH64)
  25. IF (OS_SDK == "ubuntu-16")
  26. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:309054781)
  27. ELSEIF (OS_SDK == "ubuntu-20")
  28. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:6601145959)
  29. ELSE()
  30. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for AArch64/ARMv8 64 bit")
  31. ENDIF()
  32. ELSEIF (ARCH_PPC64LE)
  33. IF (OS_SDK == "ubuntu-14")
  34. IF (HOST_ARCH_PPC64LE)
  35. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1570528338)
  36. ELSE()
  37. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:233217651)
  38. ENDIF()
  39. ELSE()
  40. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for PPC64LE")
  41. ENDIF()
  42. ELSEIF (ARCH_ARM7)
  43. IF (ARM7_FLOAT_ABI == "hard" AND OS_SDK == "ubuntu-16")
  44. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1323200692)
  45. ELSEIF (ARM7_FLOAT_ABI == "softfp" AND OS_SDK == "ubuntu-18")
  46. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2402287545)
  47. ELSE()
  48. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for ARMv7 32 bit (float ABI: ${ARM7_FLOAT_ABI})")
  49. ENDIF()
  50. ELSE()
  51. MESSAGE(FATAL_ERROR "Unexpected OS_SDK value: ${OS_SDK}")
  52. ENDIF()
  53. END()