File: Klocation

package info (click to toggle)
kconfiglib 14.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,400 kB
  • sloc: python: 8,498; sh: 34; makefile: 8
file content (78 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download | duplicates (2)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
if UNDEFINED
endif

config ONE_DEF
    bool

config TWO_DEF
    bool

config TWO_DEF
    bool

config MANY_DEF
    bool

# Throw in some line continuations too to make sure it doesn't mess up the line
# numbers
if y && \
   y
if y && \
   y && \
   y

# Throw in some help texts too

config HELP_1
    bool "help 1"
    help
config HELP_2
    bool "help 2"
    help
      foo
      bar

        baz

config HELP_3
    help
      foo
      bar
    bool
config \
MANY_DEF

config MANY_DEF

endif
endif

# Expands to "tests/Klocation_sourced"
source "$TESTS_DIR_FROM_ENV/Klocation$_SOURCED"

# Expands to "sub/Klocation_rsourced"
rsource "$SUB_DIR_FROM_ENV/Klocation$_RSOURCED"

# Expands to "tests/*ub/Klocation_gsourced[12]", matching
# tests/sub/Klocation_gsourced{1,2}
source "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]"
# Test old syntax too
gsource "$TESTS_DIR_FROM_ENV/*ub/Klocation$_GSOURCED[12]"

# Expands to "sub/Klocation_grsourced[12]", matching
# tests/sub/Klocation_grsourced{1,2}
rsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]"
# Test old syntax too
grsource "$SUB_DIR_FROM_ENV/Klocation$_GRSOURCED[12]"

# No-ops
osource "nonexistent"
osource "nonexistent*"
gsource "nonexistent"
gsource "nonexistent*"
orsource "nonexistent"
orsource "nonexistent*"
grsource "nonexistent"
grsource "nonexistent*"

config MANY_DEF