summaryrefslogtreecommitdiffstats
path: root/src/modules-load/meson.build
blob: 2f1decc8b775a43cfe55a2b6724911e6955e6b45 (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,
        },
]

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