aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/ya.make
blob: 7a7d74a66ac9396ba3ce7f4ec84481ee868c5ebe (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
56
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(
    "(GPL-2.0-only WITH Linux-syscall-note OR BSD-2-Clause)" AND
    "(GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)" AND
    "(GPL-2.0-only WITH Linux-syscall-note OR CDDL-1.0)" AND
    "(GPL-2.0-only WITH Linux-syscall-note OR Linux-OpenIB)" AND
    "(GPL-2.0-only WITH Linux-syscall-note OR MIT)" AND
    "(GPL-2.0-or-later WITH Linux-syscall-note OR BSD-3-Clause)" AND
    BSD-2-Clause AND
    BSD-3-Clause AND
    GPL-1.0-or-later WITH Linux-syscall-note AND
    GPL-2.0-only WITH Linux-syscall-note AND
    GPL-2.0-or-later WITH Linux-syscall-note AND
    ISC AND
    LGPL-2.0-or-later WITH Linux-syscall-note AND
    LGPL-2.1-only WITH Linux-syscall-note AND
    LGPL-2.1-or-later WITH Linux-syscall-note AND
    Linux-OpenIB AND
    MIT AND
    NTP AND
    Public-Domain
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(6.5.9)

ORIGINAL_SOURCE(mirror://kernel/linux/kernel/v6.x/linux-6.5.9.tar.xz)

IF (OPENSOURCE_REPLACE_LINUX_HEADERS AND EXPORT_CMAKE)

    OPENSOURCE_EXPORT_REPLACEMENT(
        CMAKE linux-headers-generic
        CMAKE_TARGET linux-headers-generic::linux-headers-generic
        CONAN linux-headers-generic/${OPENSOURCE_REPLACE_LINUX_HEADERS}
    )

ELSE()

    ADDINCL(
        GLOBAL contrib/libs/linux-headers
        GLOBAL contrib/libs/linux-headers/_nf
    )

ENDIF()

DISABLE(NEED_PLATFORM_PEERDIRS)

DISABLE(WITH_VALGRIND)

NO_PLATFORM()

END()