diff options
author | <bruce.edge@gmail.com> | 2010-09-20 17:54:25 +0100 |
---|---|---|
committer | <bruce.edge@gmail.com> | 2010-09-20 17:54:25 +0100 |
commit | 744d6961f91581f603c0f285f52c4b23fa30ad4c (patch) | |
tree | aa4234e9410ff44dc0abbea0d5f2e4b1b6ce66cc /Config.mk | |
parent | 1e7aadfdffeee8f6f62c7f06a34966d62d2c297f (diff) | |
download | xen-744d6961f91581f603c0f285f52c4b23fa30ad4c.tar.gz xen-744d6961f91581f603c0f285f52c4b23fa30ad4c.tar.bz2 xen-744d6961f91581f603c0f285f52c4b23fa30ad4c.zip |
tools, build system: Make changing distro-specific layout aspects easier
Introduce CONFIG_LEAF_DIR, SUBSYS_DIR, INITD_DIR variables to cope
better with variation between distributions.
See docs/misc/distro_mapping.txt for details.
Signed-off-by: Bruce Edge <bruce.edge@gmail.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'Config.mk')
-rw-r--r-- | Config.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ DOCDIR ?= $(SHAREDIR)/doc/xen MANDIR ?= $(SHAREDIR)/man BASH_COMPLETION_DIR ?= $(CONFIG_DIR)/bash_completion.d +# These are the Red Hat settings. +# See distro_mapping.txt for other options +CONFIG_LEAF_DIR ?= sysconfig +SUBSYS_DIR ?= /var/run/subsys +INITD_DIR ?= /etc/rc.d/init.d + ifneq ($(EXTRA_PREFIX),) EXTRA_INCLUDES += $(EXTRA_PREFIX)/include EXTRA_LIB += $(EXTRA_PREFIX)/$(LIBLEAFDIR) |