summaryrefslogtreecommitdiff
path: root/Config.mk
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2019-12-12 18:27:33 +0000
committerAndrew Cooper <andrew.cooper3@citrix.com>2019-12-13 16:30:34 +0000
commit27d3ea41e67c4161c91359cef24ef415a5dd2163 (patch)
tree16945482efb305ba130f26290bb93065618118e5 /Config.mk
parent5852ca48526316918cd82fba1033a6a5379fbc4c (diff)
downloadxen-27d3ea41e67c4161c91359cef24ef415a5dd2163.tar.gz
Config.mk: Remove unused setvar_dir macro
And remove all mention of it in docs. It hasn't been used since 9ead9afcb935 ("Add configure --with-sysconfig-leaf-dir=SUBDIR to set CONFIG_LEAF_DIR"). Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/Config.mk b/Config.mk
index 54e4b7091b..8768398d5e 100644
--- a/Config.mk
+++ b/Config.mk
@@ -68,17 +68,6 @@ DEPS_RM = $(DEPS) $(DEPS_INCLUDE)
include $(XEN_ROOT)/config/$(XEN_OS).mk
include $(XEN_ROOT)/config/$(XEN_TARGET_ARCH).mk
-# arguments: variable, common path part, path to test, if yes, if no
-define setvar_dir
- ifndef $(1)
- ifneq (,$(wildcard $(2)$(3)))
- $(1) ?= $(2)$(4)
- else
- $(1) ?= $(2)$(5)
- endif
- endif
-endef
-
ifneq ($(EXTRA_PREFIX),)
EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
EXTRA_LIB += $(EXTRA_PREFIX)/lib