From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1IfN-0000W3-1O for qemu-devel@nongnu.org; Thu, 09 Jan 2014 11:41:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1IfH-0007FB-NG for qemu-devel@nongnu.org; Thu, 09 Jan 2014 11:41:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1IfH-0007F2-EZ for qemu-devel@nongnu.org; Thu, 09 Jan 2014 11:41:03 -0500 From: Igor Mammedov Date: Thu, 9 Jan 2014 17:36:33 +0100 Message-Id: <1389285399-28417-4-git-send-email-imammedo@redhat.com> In-Reply-To: <1389285399-28417-1-git-send-email-imammedo@redhat.com> References: <1389285399-28417-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 3/9] pc: make: fix dependencies: rebuild when included file is changed 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, aliguori@amazon.com, anthony.perard@citrix.com, afaerber@suse.de some *.dsl files include another *.dsl files but there weren't any dependicies and when included file changed target table wasn't rebuild. Fix this by using the same auto dependency generation as for C files. Signed-off-by: Igor Mammedov --- hw/i386/Makefile.objs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs index 09ac433..d58a103 100644 --- a/hw/i386/Makefile.objs +++ b/hw/i386/Makefile.objs @@ -17,7 +17,7 @@ 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 - $(call quiet-command, cpp -P $< -o $*.dsl.i.orig, " CPP $(TARGET_DIR)$*.dsl.i.orig") + $(call quiet-command, cpp -P $(QEMU_DGFLAGS) $< -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") $(call quiet-command, $(PYTHON) $(SRC_PATH)/scripts/acpi_extract.py $*.lst > $*.off, " ACPI_EXTRACT $(TARGET_DIR)$*.off") -- 1.7.1