[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/30] Remove useless check for config-host.mak
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 03/30] Remove useless check for config-host.mak |
Date: |
Thu, 27 Aug 2009 21:17:38 +0200 |
If config-host.mak dont' exist, we have exited in the check at
the beginning of the file.
Once here, move the bits to the else part of the test at the beginning of
the file.
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index d7db158..bd180f9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,9 @@ ifneq ($(wildcard config-host.mak),)
all: build-all
include config-host.mak
include $(SRC_PATH)/rules.mak
+config-host.mak: configure
+ @echo $@ is out-of-date, running configure
+ @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
else
config-host.mak:
@echo "Please call configure before running make!"
@@ -26,12 +29,6 @@ endif
build-all: config-host.h $(TOOLS) $(DOCS) recurse-all
-config-host.mak: configure
-ifneq ($(wildcard config-host.mak),)
- @echo $@ is out-of-date, running configure
- @sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
-endif
-
%.c %.h: config-host.h
config-host.h: config-host.h-timestamp
config-host.h-timestamp: config-host.mak
--
1.6.2.5
- [Qemu-devel] [PATCH v3 00/30] Compile only devices that are used, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 01/30] Don't include config-host.mak from inside config.mak, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 02/30] Move generation of config-host.h to Makefile from configure, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 03/30] Remove useless check for config-host.mak,
Juan Quintela <=
- [Qemu-devel] [PATCH 04/30] Rename config.{h, mak} config-target.{h, mak}, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 05/30] Move generation of config-target.h to Makefile from configure, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 06/30] Add new config-devices.mak for each target, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 08/30] Only compile usb_ohci when one target uses it, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 07/30] Generate gdbstub-xml.c only when needed, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 10/30] Only compile qdev_addr when one target uses it, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 11/30] Only compile nand when one target uses it, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 09/30] Only compile isa_mmio when one target uses it, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 12/30] Only compile ecc when one target uses it, Juan Quintela, 2009/08/27
- [Qemu-devel] [PATCH 13/30] Only compile esp when one target uses it, Juan Quintela, 2009/08/27