From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vx2Pd-0006lk-Mf for qemu-devel@nongnu.org; Sat, 28 Dec 2013 17:31:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vx2PX-00071f-2p for qemu-devel@nongnu.org; Sat, 28 Dec 2013 17:31:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vx2PW-00071P-Qz for qemu-devel@nongnu.org; Sat, 28 Dec 2013 17:31:11 -0500 From: Igor Mammedov Date: Sat, 28 Dec 2013 23:30:46 +0100 Message-Id: <1388269852-21198-4-git-send-email-imammedo@redhat.com> In-Reply-To: <1388269852-21198-1-git-send-email-imammedo@redhat.com> References: <1388269852-21198-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 3/9] pc: rebuild ACPI hex files if included *.dsl are touched List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, hutao@cn.fujitsu.com, mjt@tls.msk.ru, chen.fan.fnst@cn.fujitsu.com, kraxel@redhat.com, anthony.perard@citrix.com, lersek@redhat.com, afaerber@suse.de Signed-off-by: Igor Mammedov --- hw/i386/Makefile.objs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs index 09ac433..edf5256 100644 --- a/hw/i386/Makefile.objs +++ b/hw/i386/Makefile.objs @@ -16,7 +16,12 @@ iasl-option=$(shell if test -z "`$(1) $(2) 2>&1 > /dev/null`" \ ifdef IASL #IASL Present. Generate hex files from .dsl -hw/i386/%.hex: $(SRC_PATH)/hw/i386/%.dsl $(SRC_PATH)/scripts/acpi_extract_preprocess.py $(SRC_PATH)/scripts/acpi_extract.py +DSL_DEPS = $(SRC_PATH)/hw/i386/%.dsl \ + $(SRC_PATH)/scripts/acpi_extract_preprocess.py \ + $(SRC_PATH)/scripts/acpi_extract.py \ + $(SRC_PATH)/hw/i386/acpi-dsdt-*.dsl + +hw/i386/%.hex: $(DSL_DEPS) $(call quiet-command, cpp -P $< -o $*.dsl.i.orig, " CPP $(TARGET_DIR)$*.dsl.i.orig") $(call quiet-command, $(PYTHON) $(SRC_PATH)/scripts/acpi_extract_preprocess.py $*.dsl.i.orig > $*.dsl.i, " ACPI_PREPROCESS $(TARGET_DIR)$*.dsl.i") $(call quiet-command, $(IASL) $(call iasl-option,$(IASL),-Pn,) -vs -l -tc -p $* $*.dsl.i $(if $(V), , > /dev/null) 2>&1 ," IASL $(TARGET_DIR)$*.dsl.i") -- 1.8.4.2