]> git.proxmox.com Git - qemu.git/commitdiff
build: include config-{, all-}devices.mak after defining CONFIG_SOFTMMU and CONFIG_US...
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2013 08:50:38 +0000 (10:50 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Apr 2013 17:18:41 +0000 (12:18 -0500)
Moving the inclusions closer to Makefile, and before rules.mak, makes
Makefile and Makefile.target more consistent with each other.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1366102238-12374-1-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
Makefile.target

index 88375dcf9043fe3de7b4dedc582ac5e20461fa43..54ef242010aa74bcdcf491ab7931bb0cbf8904dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,12 @@ seems to have been used for an in-tree build. You can fix this by running \
 endif
 endif
 
+CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_DIRS)),y)
+CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_DIRS)),y)
+CONFIG_ALL=y
+-include config-all-devices.mak
+-include config-all-disas.mak
+
 include $(SRC_PATH)/rules.mak
 config-host.mak: $(SRC_PATH)/configure
        @echo $@ is out-of-date, running configure
@@ -107,12 +113,6 @@ endif
 defconfig:
        rm -f config-all-devices.mak $(SUBDIR_DEVICES_MAK)
 
--include config-all-devices.mak
--include config-all-disas.mak
-CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_DIRS)),y)
-CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_DIRS)),y)
-CONFIG_ALL=y
-
 ifneq ($(wildcard config-host.mak),)
 include $(SRC_PATH)/Makefile.objs
 include $(SRC_PATH)/tests/Makefile
index 26361036bdf61c7d4f18dfb0766732a215bc0de6..7e4c77a269916807c1abcd3c30d7d70a1144503d 100644 (file)
@@ -1,8 +1,8 @@
 # -*- Mode: makefile -*-
 
 include ../config-host.mak
-include config-devices.mak
 include config-target.mak
+include config-devices.mak
 include $(SRC_PATH)/rules.mak
 
 $(call set-vpath, $(SRC_PATH))