mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
package/openvpn: add systemd support
If the systemd package is selected, add the package to the dependency list and explicitly set --enable-systemd. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
4cdf0b03e2
commit
62264233b2
@@ -38,6 +38,13 @@ else
|
||||
OPENVPN_CONF_OPTS += --disable-lzo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
||||
OPENVPN_DEPENDENCIES += systemd
|
||||
OPENVPN_CONF_OPTS += --enable-systemd
|
||||
else
|
||||
OPENVPN_CONF_OPTS += --disable-systemd
|
||||
endif
|
||||
|
||||
define OPENVPN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
|
||||
$(TARGET_DIR)/usr/sbin/openvpn
|
||||
|
||||
Reference in New Issue
Block a user