[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 03/14] pcbios: remove iasl output file when error.
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] [PATCH 03/14] pcbios: remove iasl output file when error. |
Date: |
Wed, 30 Sep 2009 19:18:38 +0900 |
Surprisingly iasl creates output file even when compilation error.
So typing make after an error will succeed.
This patch prevents it by removing the output file when error.
Signed-off-by: Isaku Yamahata <address@hidden>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index ddf30d3..22599fa 100644
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ rombios32.o: rombios32.c acpi-dsdt.hex
acpi-dsdt.hex: acpi-dsdt.dsl
$(CPP) -P $< > acpi-dsdt.dsl.i
- $(IASL) -tc -p $@ acpi-dsdt.dsl.i
+ $(IASL) -tc -p $@ acpi-dsdt.dsl.i || ($(RM) $@; exit 1)
$(RM) acpi-dsdt.dsl.i
sed -i -e's/^unsigned/const unsigned/' $@
--
1.6.0.2
- [Qemu-devel] [PATCH 00/14] pcbios: support q35 chipset, Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 13/14] pcbios: change acpi dsdt for q35 chipset., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 09/14] pcbios: comment out PCI_FIXED_HOST_BRIDGE for gmch host pci bridge to undef., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 06/14] pcbios: rombios32: make pci space assigner preferchable memory aware., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 02/14] pcbios: fix makesym.perl, Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 14/14] pcibos/acpi dsdt: APIC mode support for q35 chipset, Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 08/14] pcibos: initialize q35 chipset., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 01/14] pcbios: add generated files to dot gitignore., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 03/14] pcbios: remove iasl output file when error.,
Isaku Yamahata <=
- [Qemu-devel] [PATCH 05/14] pcbios: rombios32: make pci memory space assignment 64bit aware., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 12/14] pcbios: make pci bar initialization to be aware of preferchable memory., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 07/14] pcbios: enable debug output for debug., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 10/14] pcibos: add mcfg entry to ACPI table for q35 pcie., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 04/14] pcbios: make set_e820_range() full 64bit aware., Isaku Yamahata, 2009/09/30
- [Qemu-devel] [PATCH 11/14] pcbios: reserve mcfg area by e820 for linux to use mcfg., Isaku Yamahata, 2009/09/30
- [Qemu-devel] Re: [PATCH 00/14] pcbios: support q35 chipset, Anthony Liguori, 2009/09/30