summaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/ya.make
blob: c7ad94fdb1620e2aae7c7f9759520f51f582d06f (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
57
58
59
# Generated by devtools/yamaker from nixpkgs 24.05.

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.6.7)

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

IF (OPENSOURCE_REPLACE_LINUX_HEADERS AND EXPORT_CMAKE)
    OPENSOURCE_EXPORT_REPLACEMENT_BY_OS(
        OS
        Linux
        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_CLANG_COVERAGE()

NO_PLATFORM()

END()