summaryrefslogtreecommitdiffstats
path: root/src/fundamental/meson.build
blob: 3c9f07b191d021d562df5cb8c3cc3c0d84a0ab25 (plain)
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
# SPDX-License-Identifier: LGPL-2.1-or-later

fundamental_path = meson.current_source_dir()

fundamental_headers = files(
        'efivars-fundamental.h',
        'macro-fundamental.h',
        'string-util-fundamental.h',
        'sha256.h',
        'type.h')

sources = '''
        efivars-fundamental.c
        string-util-fundamental.c
        sha256.c
'''.split()

# for sd-boot
fundamental_source_paths = []
foreach source : sources
        fundamental_source_paths += meson.current_source_dir() / source
endforeach

# for libbasic
fundamental_sources = files(sources) + fundamental_headers