From: "Jan Beulich" Subject: [PATCH 2/6] x86: fix dependencies of emulator test Date: Thu, 19 Sep 2013 16:43:25 +0100 Message-ID: <523B37BD02000078000F4BA9@nat28.tlf.novell.com> References: <523B36F902000078000F4B9A@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part97A4F38D.0__=" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VMgOB-0004Gg-Fe for xen-devel@lists.xenproject.org; Thu, 19 Sep 2013 15:43:31 +0000 In-Reply-To: <523B36F902000078000F4B9A@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part97A4F38D.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Rather than mentioning the (linked) directory, mention the files thus making sure things get rebuild as needed when the core emulator files change. Also enable debug info generation unconditionally, as this is testing stuff only anyway. Signed-off-by: Jan Beulich --- a/tools/tests/x86_emulator/Makefile +++ b/tools/tests/x86_emulator/Makefile @@ -37,14 +37,13 @@ clean: .PHONY: install install: =20 -.PHONY: x86_emulate -x86_emulate: +x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h: [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate = . =20 HOSTCFLAGS +=3D $(CFLAGS_xeninclude) =20 -x86_emulate.o: x86_emulate.c x86_emulate - $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $< +x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c x86_emulate/x86_emu= late.h + $(HOSTCC) $(HOSTCFLAGS) -c -g -o $@ $< =20 -test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate - $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $< +test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate/x86_emulat= e.h + $(HOSTCC) $(HOSTCFLAGS) -c -g -o $@ $< --=__Part97A4F38D.0__= Content-Type: text/plain; name="x86-emul-test-deps.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-emul-test-deps.patch" x86: fix dependencies of emulator test=0A=0ARather than mentioning the = (linked) directory, mention the files thus=0Amaking sure things get = rebuild as needed when the core emulator files=0Achange.=0A=0AAlso enable = debug info generation unconditionally, as this is testing=0Astuff only = anyway.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = a/tools/tests/x86_emulator/Makefile=0A+++ b/tools/tests/x86_emulator/Makefi= le=0A@@ -37,14 +37,13 @@ clean:=0A .PHONY: install=0A install:=0A = =0A-.PHONY: x86_emulate=0A-x86_emulate:=0A+x86_emulate/x86_emulate.c = x86_emulate/x86_emulate.h:=0A [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xe= n/arch/x86/x86_emulate .=0A =0A HOSTCFLAGS +=3D $(CFLAGS_xeninclude)=0A = =0A-x86_emulate.o: x86_emulate.c x86_emulate=0A- $(HOSTCC) = $(HOSTCFLAGS) -c -o $@ $<=0A+x86_emulate.o: x86_emulate.c x86_emulate/x86_e= mulate.c x86_emulate/x86_emulate.h=0A+ $(HOSTCC) $(HOSTCFLAGS) -c -g -o = $@ $<=0A =0A-test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulat= e=0A- $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<=0A+test_x86_emulator.o: = test_x86_emulator.c blowfish.h x86_emulate/x86_emulate.h=0A+ $(HOSTCC) = $(HOSTCFLAGS) -c -g -o $@ $<=0A --=__Part97A4F38D.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part97A4F38D.0__=--