summaryrefslogtreecommitdiffstats
path: root/src/modules-load/meson.build
blob: d6375a63a32594a2b0ef7252050fd84091e9a8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# SPDX-License-Identifier: LGPL-2.1-or-later

executables += [
        libexec_template + {
                'name' : 'systemd-modules-load',
                'conditions' : ['HAVE_KMOD'],
                'sources' : files('modules-load.c'),
                'dependencies' : libkmod_cflags,
        },
]

if conf.get('HAVE_KMOD') == 1
        install_emptydir(modulesloaddir)
        if install_sysconfdir
                install_emptydir(sysconfdir / 'modules-load.d')
        endif
endif