aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-25 09:50:35 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-06-25 09:50:35 +0000
commit6c9cb1b9ef1d95e6b0fb9f890d6b223a4b37711b (patch)
tree08ce3fd812458e6ce7c94416d1c9a4ee7f325563 /xen/Rules.mk
parent6fd6101576fc848db46c39c488cc3e5a13b98640 (diff)
downloadxen-6c9cb1b9ef1d95e6b0fb9f890d6b223a4b37711b.tar.gz
xen-6c9cb1b9ef1d95e6b0fb9f890d6b223a4b37711b.tar.bz2
xen-6c9cb1b9ef1d95e6b0fb9f890d6b223a4b37711b.zip
bitkeeper revision 1.1756 (42bd28eb7ZP0AhHHKYuqhX2z3XItTQ)
Allow setting of ACM security policy at build time. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk15
1 files changed, 13 insertions, 2 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 76489cfa4b..751bf460d3 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -1,4 +1,7 @@
-
+#
+# If you change any of these configuration options then you must
+# 'make clean' before rebuilding.
+#
verbose ?= n
debug ?= n
perfc ?= n
@@ -8,6 +11,14 @@ optimize ?= y
domu_debug ?= n
crash_debug ?= n
+# ACM_USE_SECURITY_POLICY is set to security policy of Xen
+# Supported models are:
+# ACM_NULL_POLICY (ACM will not be built with this policy)
+# ACM_CHINESE_WALL_POLICY
+# ACM_SIMPLE_TYPE_ENFORCEMENT_POLICY
+# ACM_CHINESE_WALL_AND_SIMPLE_TYPE_ENFORCEMENT_POLICY
+ACM_USE_SECURITY_POLICY ?= ACM_NULL_POLICY
+
include $(BASEDIR)/../Config.mk
# Set ARCH/SUBARCH appropriately.
@@ -35,7 +46,7 @@ OBJS += $(patsubst %.c,%.o,$(C_SRCS))
ALL_OBJS := $(BASEDIR)/common/common.o
ALL_OBJS += $(BASEDIR)/drivers/char/driver.o
ALL_OBJS += $(BASEDIR)/drivers/acpi/driver.o
-ifdef ACM_USE_SECURITY_POLICY
+ifneq ($(ACM_USE_SECURITY_POLICY),ACM_NULL_POLICY)
ALL_OBJS += $(BASEDIR)/acm/acm.o
endif
ALL_OBJS += $(BASEDIR)/arch/$(TARGET_ARCH)/arch.o