diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-05-13 20:40:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 20:40:19 +0200 |
commit | ec382e4c8df06558cac73df26aee8e3a3f2429df (patch) | |
tree | bad4e7c7b63747220135087a3237d23e28951a25 /Makefile | |
parent | 25415e0b0edb0f120cedcc10b9aed7f15cd9e086 (diff) | |
parent | d1fc3fc702cce6efca4a20f972ef1931c8392548 (diff) | |
download | podman-ec382e4c8df06558cac73df26aee8e3a3f2429df.tar.gz podman-ec382e4c8df06558cac73df26aee8e3a3f2429df.tar.bz2 podman-ec382e4c8df06558cac73df26aee8e3a3f2429df.zip |
Merge pull request #3083 from openSUSE/systemd-optional
Add `systemd` build tag
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -18,7 +18,23 @@ SHAREDIR_CONTAINERS ?= ${PREFIX}/share/containers ETCDIR ?= ${DESTDIR}/etc TMPFILESDIR ?= ${PREFIX}/lib/tmpfiles.d SYSTEMDDIR ?= ${PREFIX}/lib/systemd/system -BUILDTAGS ?= seccomp $(shell hack/btrfs_tag.sh) $(shell hack/btrfs_installed_tag.sh) $(shell hack/ostree_tag.sh) $(shell hack/selinux_tag.sh) $(shell hack/apparmor_tag.sh) varlink exclude_graphdriver_devicemapper +BUILDTAGS ?= \ + $(shell hack/apparmor_tag.sh) \ + $(shell hack/btrfs_installed_tag.sh) \ + $(shell hack/btrfs_tag.sh) \ + $(shell hack/ostree_tag.sh) \ + $(shell hack/selinux_tag.sh) \ + $(shell hack/systemd_tag.sh) \ + exclude_graphdriver_devicemapper \ + seccomp \ + varlink + +ifeq (,$(findstring systemd,$(BUILDTAGS))) +$(warning \ + Podman is being compiled without the systemd build tag.\ + Install libsystemd for journald support) +endif + BUILDTAGS_CROSS ?= containers_image_openpgp containers_image_ostree_stub exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_graphdriver_overlay ifneq (,$(findstring varlink,$(BUILDTAGS))) PODMAN_VARLINK_DEPENDENCIES = cmd/podman/varlink/iopodman.go |