aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/Makefile
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-19 13:13:35 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-19 13:13:35 +0100
commite09c21cb7fee9339e49cdabd1daec665608918bf (patch)
treeb88bfe1fdc6a21194d5859cb54d334a7e80dc1ca /xen/drivers/Makefile
parentff24170e9c3739fc2b09a79c15a1843e54ed322f (diff)
downloadxen-e09c21cb7fee9339e49cdabd1daec665608918bf.tar.gz
xen-e09c21cb7fee9339e49cdabd1daec665608918bf.tar.bz2
xen-e09c21cb7fee9339e49cdabd1daec665608918bf.zip
Conditionalize building the Xen ACPI driver.
Also introduces some cleanups to the Xen build system. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/drivers/Makefile')
-rw-r--r--xen/drivers/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/xen/drivers/Makefile b/xen/drivers/Makefile
index e0a67e5dc2..e118e2115a 100644
--- a/xen/drivers/Makefile
+++ b/xen/drivers/Makefile
@@ -1,8 +1,6 @@
+include $(BASEDIR)/Rules.mk
-default:
- $(MAKE) -C char
- $(MAKE) -C acpi
+subdirs-y := char/
+subdirs-$(HAS_ACPI) += acpi/
-clean:
- $(MAKE) -C char clean
- $(MAKE) -C acpi clean
+include $(BASEDIR)/Post.mk