Config.mk: Include optional .config file *first* rather than *last*
authorKeir Fraser <keir@xen.org>
Sat, 27 Aug 2011 11:20:19 +0000 (12:20 +0100)
committerKeir Fraser <keir@xen.org>
Sat, 27 Aug 2011 11:20:19 +0000 (12:20 +0100)
Allows the core of Config.mk to correctly respond to any configuration
overrides specified in the .config file.

Signed-off-by: Keir Fraser <keir@xen.org>
Config.mk

index 2632e3ee2dac6fe88fd01dee16f547658ddf9cd4..6505697df1dd841837a7cc277f2324d2ca60c06c 100644 (file)
--- a/Config.mk
+++ b/Config.mk
@@ -1,5 +1,7 @@
 # -*- mode: Makefile; -*-
 
+-include $(XEN_ROOT)/.config
+
 # A debug build of Xen and tools?
 debug ?= y
 
@@ -223,5 +225,3 @@ CONFIG_LOMOUNT     ?= n
 ifeq ($(OCAML_TOOLS),y)
 OCAML_TOOLS := $(shell ocamlopt -v > /dev/null 2>&1 && echo "y" || echo "n")
 endif
-
--include $(XEN_ROOT)/.config