summaryrefslogtreecommitdiff
path: root/src/fundamental/meson.build
blob: 26859653e60ce1a4603aebac03f82886e13ae15d (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
26
27
# SPDX-License-Identifier: LGPL-2.1-or-later

fundamental_path = meson.current_source_dir()

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

sources = '''
        bootspec-fundamental.c
        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