aboutsummaryrefslogtreecommitdiffstats
path: root/build/platform/linux_sdk/ya.make
blob: add74eee9e091b4f3d0d9623a63ff43aa42819ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
RESOURCES_LIBRARY()

OWNER(g:contrib somov)

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()