ya.make 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. ELSE()
  20. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for x86-64")
  21. ENDIF()
  22. ELSEIF (ARCH_AARCH64)
  23. IF (OS_SDK == "ubuntu-16")
  24. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:309054781)
  25. ELSE()
  26. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for AArch64/ARMv8 64 bit")
  27. ENDIF()
  28. ELSEIF (ARCH_PPC64LE)
  29. IF (OS_SDK == "ubuntu-14")
  30. IF (HOST_ARCH_PPC64LE)
  31. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1570528338)
  32. ELSE()
  33. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:233217651)
  34. ENDIF()
  35. ELSE()
  36. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for PPC64LE")
  37. ENDIF()
  38. ELSEIF (ARCH_ARM7)
  39. IF (ARM7_FLOAT_ABI == "hard" AND OS_SDK == "ubuntu-16")
  40. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:1323200692)
  41. ELSEIF (ARM7_FLOAT_ABI == "softfp" AND OS_SDK == "ubuntu-18")
  42. DECLARE_EXTERNAL_RESOURCE(OS_SDK_ROOT sbr:2402287545)
  43. ELSE()
  44. MESSAGE(FATAL_ERROR "There is no ${OS_SDK} SDK for ARMv7 32 bit (float ABI: ${ARM7_FLOAT_ABI})")
  45. ENDIF()
  46. ELSE()
  47. MESSAGE(FATAL_ERROR "Unexpected OS_SDK value: ${OS_SDK}")
  48. ENDIF()
  49. END()