File: meson.build

package info (click to toggle)
qbootctl 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: ansic: 1,571; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
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
project('qbootctl', 'c', default_options : ['c_std=gnu11'])

cc = meson.get_compiler('c')

if not cc.has_header('linux/bsg.h')
        error('linux-headers not found')
endif

src = [
        'qbootctl.c',
        'bootctrl_impl.c',
        'gpt-utils.c',
        'ufs-bsg.c',
        'crc32.c',
]

inc = [
        include_directories('.'),
]

executable('qbootctl', src,
        include_directories: inc,
        install: true,
        c_args: [],
)